From patchwork Mon Sep 17 15:13:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thadeu Lima de Souza Cascardo X-Patchwork-Id: 970641 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42DV5c6dhqz9s4V; Tue, 18 Sep 2018 01:14:12 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1g1vDw-00058H-0y; Mon, 17 Sep 2018 15:14:04 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1g1vDu-000582-Hf for kernel-team@lists.ubuntu.com; Mon, 17 Sep 2018 15:14:02 +0000 Received: from 1.general.cascardo.us.vpn ([10.172.70.58] helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1g1vDt-0007ib-V3 for kernel-team@lists.ubuntu.com; Mon, 17 Sep 2018 15:14:02 +0000 From: Thadeu Lima de Souza Cascardo To: kernel-team@lists.ubuntu.com Subject: [kteam-tools] Remove maint-based-on Date: Mon, 17 Sep 2018 12:13:32 -0300 Message-Id: <20180917151332.17917-1-cascardo@canonical.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" It's not updated, and won't work with 4.x kernels at all. Signed-off-by: Thadeu Lima de Souza Cascardo Acked-by: Kamal Mostafa Acked-by: Kleber Sacilotto de Souza Acked-by: Andy Whitcroft --- 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 ..." 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