From patchwork Fri Mar 19 10:45:40 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Bader X-Patchwork-Id: 48125 X-Patchwork-Delegate: stefan.bader@canonical.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 41A44B7C98 for ; Fri, 19 Mar 2010 21:45:56 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1NsZi8-0001X7-W7; Fri, 19 Mar 2010 10:45:49 +0000 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1NsZi7-0001Wi-7X for kernel-team@lists.ubuntu.com; Fri, 19 Mar 2010 10:45:47 +0000 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1NsZi4-00069H-B3 for ; Fri, 19 Mar 2010 10:45:45 +0000 Received: from p5b2e644a.dip.t-dialin.net ([91.46.100.74] helo=canonical.com) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1NsZi4-0005cq-5D for kernel-team@lists.ubuntu.com; Fri, 19 Mar 2010 10:45:44 +0000 From: Stefan Bader To: kernel-team@lists.ubuntu.com Subject: [PATCH 2/3] UBUNTU: (buildenv) Drop retag-branch script Date: Fri, 19 Mar 2010 11:45:40 +0100 Message-Id: <1268995541-12057-3-git-send-email-stefan.bader@canonical.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1268995541-12057-1-git-send-email-stefan.bader@canonical.com> References: <1268995541-12057-1-git-send-email-stefan.bader@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com This is no longer needed and in fact can do more harm than use. Drop it. Signed-off-by: Stefan Bader --- debian/scripts/misc/retag-branch | 32 -------------------------------- 1 files changed, 0 insertions(+), 32 deletions(-) delete mode 100755 debian/scripts/misc/retag-branch diff --git a/debian/scripts/misc/retag-branch b/debian/scripts/misc/retag-branch deleted file mode 100755 index c609b92..0000000 --- a/debian/scripts/misc/retag-branch +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/perl -w -# Modified from the original script to only list commit we care about.. - -open(TAGS, "git tag -l |") or die "Could not get list of tags"; -@tags = ; -close(TAGS); - -open(LOGS, "git log --pretty=short |") or die "ERROR: Calling git-log"; -my $commit = ""; - -while () { - if (m|^commit (.*)$|) { - $commit = $1; - next; - } - - m|^\s*UBUNTU: (NBK-Ubuntu-2\.6\.\S*)| or next; - $tag = $1; - - ($origtag) = grep(/^$tag.orig$/, @tags); - - if (!defined($origtag)) { - print "I: Adding original tag for $tag\n"; - system("git tag -m $tag $tag.orig $tag"); - } - - print "I: Tagging $tag => $commit\n"; - - system("git tag -f -m $tag $tag $commit"); -} - -close(LOGS);