ACK: [kteam-tools] Remove maint-based-on

Kleber Souza kleber.souza at canonical.com
Tue Sep 18 06:44:17 UTC 2018


On 09/17/18 17:13, Thadeu Lima de Souza Cascardo wrote:
> It's not updated, and won't work with 4.x kernels at all.
> 
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at canonical.com>


Acked-by: Kleber Sacilotto de Souza <kleber.souza at canonical.com>

> ---
>  maintscripts/maint-based-on | 34 ----------------------------------
>  1 file changed, 34 deletions(-)
>  delete mode 100755 maintscripts/maint-based-on
> 
> diff --git a/maintscripts/maint-based-on b/maintscripts/maint-based-on
> deleted file mode 100755
> index 7d4bd14e5830..000000000000
> --- a/maintscripts/maint-based-on
> +++ /dev/null
> @@ -1,34 +0,0 @@
> -#! /bin/bash
> -
> -if [ "$#" -lt 1 ]; then
> -	echo "Usage: maint-based-on <branch> ..." 1>&2
> -fi
> -
> -for br in "$@"
> -do
> -	git log --pretty=one "$br" | \
> -	awk -v br="$br" '
> -		/Ubuntu-2\.6\./ {
> -			if (match($0, /UBUNTU: (Ubuntu-2\.6\.[0-9][0-9]*-([0-9][0-9]*)[^ ]*)/, a)) {
> -				#print a[1] " " a[0]
> -
> -				if (a[2]+0 < 100 && a[2]+0 != 0) {
> -					print br " " $1 " " a[1]
> -					exit
> -				}
> -			}
> -		}
> -	'
> -done | \
> -while read branch sha1 tag
> -do
> -	tag_sha1=`git log --pretty=format:%H "$tag^..$tag" 2>/dev/null`
> -	if [ "$tag_sha1" = "" ]; then
> -		flag="?"
> -	elif [ "$tag_sha1" = "$sha1" ]; then
> -		flag=""
> -	else
> -		flag="+"
> -	fi
> -	printf "%-20.20s %s%s\n" "$branch" "$tag" "$flag"
> -done
> 





More information about the kernel-team mailing list