[PATCH v2 1/2] devtools: don't include headline "fix" in backports

Kevin Traynor ktraynor at redhat.com
Fri Dec 3 15:04:59 CET 2021


On 03/12/2021 07:54, christian.ehrhardt at canonical.com wrote:
> From: Christian Ehrhardt <christian.ehrhardt at canonical.com>
> 
> It was important in the past to select anything with "fix" in the
> headline, but recently more often created false positives and work
> to sort tihngs out than identifying many helpful patches.
> 
> The community and processes aroudn DPDK matured enough that developers
> (rightfully) expect to rely on "Fixes:" and "stable@" marking for
> backprots.

nit: several typos here and i think it should say "or" stable@

> 
> Therefore do no more include patches that just include the word fix
> in the backport candidate list.
> 
> Signed-off-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>
> ---
>   devtools/git-log-fixes.sh | 5 ++---
>   1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/devtools/git-log-fixes.sh b/devtools/git-log-fixes.sh
> index 210c8dcf25..27ec9088d4 100755
> --- a/devtools/git-log-fixes.sh
> +++ b/devtools/git-log-fixes.sh
> @@ -13,7 +13,7 @@ print_help ()
>   	cat <<- END_OF_HELP
>   
>   	Find fixes to backport on previous versions.
> -	It looks for the word "fix" in the headline or a tag "Fixes" or "Reverts".
> +	It looks for a tag "Fixes" or "Reverts" and for recipient stable at dpdk.org.

"..or for recipient stable at dpdk.org."

Good idea, thanks. With minor fixes,

Acked-by: Kevin Traynor <ktraynor at redhat.com>

>   	The oldest bug origin is printed as well as partially fixed versions.
>   	END_OF_HELP
>   }
> @@ -109,8 +109,7 @@ while read id headline ; do
>   	origins=$(origin_filter $id)
>   	stable=$(stable_tag $id)
>   	fixes=$(fixes_tag $id)
> -	[ "$stable" = "S" ] || [ "$fixes" = "F" ] || [ -n "$origins" ] || \
> -		echo "$headline" | grep -q fix || continue
> +	[ "$stable" = "S" ] || [ "$fixes" = "F" ] || [ -n "$origins" ] || continue
>   	version=$(commit_version $id)
>   	if [ -n "$origins" ] ; then
>   		origver="$(origin_version $origins)"
> 



More information about the dev mailing list