From patchwork Thu Jul 26 09:34:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keng-Yu Lin X-Patchwork-Id: 173381 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 042582C008F for ; Thu, 26 Jul 2012 19:35:25 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SuKTb-0005Im-PM for incoming@patchwork.ozlabs.org; Thu, 26 Jul 2012 09:35:23 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SuKTV-0005IT-UB for fwts-devel@lists.ubuntu.com; Thu, 26 Jul 2012 09:35:17 +0000 Received: from [210.242.151.101] (helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SuKTV-0005hp-2C; Thu, 26 Jul 2012 09:35:17 +0000 From: Keng-Yu Lin To: fwts-devel@lists.ubuntu.com Subject: [PATCH 2/6] auto-packger: update mkpackage.README Date: Thu, 26 Jul 2012 17:34:56 +0800 Message-Id: <1343295300-17440-3-git-send-email-kengyu@canonical.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1343295300-17440-1-git-send-email-kengyu@canonical.com> References: <1343295300-17440-1-git-send-email-kengyu@canonical.com> X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@lists.ubuntu.com With a better example to generate debian/changelog of multiple contributers. Signed-off-by: Keng-Yu Lin Acked-by: Colin Ian King Acked-by: Ivan Hu --- auto-packager/mkpackage.README | 44 ++++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/auto-packager/mkpackage.README b/auto-packager/mkpackage.README index 23c9ae0..7ff302f 100644 --- a/auto-packager/mkpackage.README +++ b/auto-packager/mkpackage.README @@ -8,7 +8,7 @@ update the changelog with a summary of the changes, update the version tag, push we clone the repo, remove the .git directory and create debian source packages ready for uploading and building in the fwts PPAs. -Here's how I went from Version V0.24.01 to V0.24.02 +Here's how I went from Version V0.25.03 to V0.25.04 In the fwts git repo: @@ -16,24 +16,34 @@ See the current version: ./update_version.sh You need to specify the version number -The last version was V0.24.01 +The last version was V0.25.03 Use git log to see what's been added since the last tagged release, e.g. -git log ^V0.24.01 HEAD +git shortlog V0.25.03..HEAD | sed "s/^ / */g" -collect up one-line-summary of changes, add them to the change log: +collect up one-line-summary of changes, add them to debian/changelog: e.g. -fwts (0.24.02) oneiric; urgency=low +fwts (0.25.04) quantal; urgency=low - * acpi: method: check AE_OK return from AcpiEvaluateObject() - * pci: maxreadreq: add more helpful advice (LP: #859651) - * acpi: method: Make incorrect _WAK returns non-fatal as kernel ignores these anyway. - * lib: fwts_hwinfo: do pactl checking correctly (LP: #837606) + [Colin Ian King] + * apci: acpitables: only check CMOS in BOOT table from firmware tables + (LP: #1016469) + * lib: fwts_acpi_tables: add ACPI table provenance + * lib: fwts_acpi_tables: load tables in deterministically + * lib: fwts_log: handle special logfile names + * lib: log: move line counting to logging back-ends + * lib: fwts_log: remove fwts_log_line_number(), no longer used + * lib: fwts_framework: output all logfile names being written to + * lib: fwts_log: add fwts_log_get_filenames() + * lib: fwts_summary: remove references to log line number - -- Colin King Wed, 28 Sep 2011 11:42:00 +0100 + [Keng-Yu Lin] + * debian: Fix up the dependency of debian packages + + -- Keng-Yu Lin Mon, 25 Jun 2012 16:44:51 +0800 then: @@ -44,7 +54,7 @@ git commit -s -m"debian: update changelog" Next, update the tag: -./update-version V0.24.02 +./update-version V0.25.04 git push git push --tags @@ -54,15 +64,15 @@ Next, create an auto-packager directory somewhere and run the mkpackage.sh scrip mkdir /home/cking/fwts/auto-packager cp mkpackage.sh /home/cking/fwts/auto-packager cd /home/cking/fwts/auto-packager -./mkpackage.sh +./mkpackage.sh V0.25.04 and this will clone the git repo, remove the .git directory and create packages for uploading. -For a release like oneiric, it generates: +For a release like Precise, it generates: -V0.24.02/oneiric/fwts_0.24.02* -V0.24.02/natty/fwts_0.24.02~n* -V0.24.02/maverick/fwts_0.24.02~m* -V0.24.02/lucid/fwts_0.24.02~l* +V0.25.04/precise/fwts_0.25.04 +V0.25.04/oneiric/fwts_0.25.04~o* +V0.25.04/natty/fwts_0.25.04~n* +V0.25.04/lucid/fwts_0.25.04~l* NOTE: The current release does not end with ~ suffix to the version name. This version is the one that gets periodically uploaded to universe in the current release until we get to feature freeze.