Patchwork [2/6] auto-packger: update mkpackage.README

login
register
mail settings
Submitter Keng-Yu Lin
Date July 26, 2012, 9:34 a.m.
Message ID <1343295300-17440-3-git-send-email-kengyu@canonical.com>
Download mbox | patch
Permalink /patch/173381/
State Accepted
Headers show

Comments

Keng-Yu Lin - July 26, 2012, 9:34 a.m.
With a better example to generate debian/changelog of multiple contributers.

Signed-off-by: Keng-Yu Lin <kengyu@canonical.com>
---
 auto-packager/mkpackage.README |   44 ++++++++++++++++++++++++----------------
 1 file changed, 27 insertions(+), 17 deletions(-)
Colin King - July 27, 2012, 8:36 a.m.
On 26/07/12 10:34, Keng-Yu Lin wrote:
> With a better example to generate debian/changelog of multiple contributers.
>
> Signed-off-by: Keng-Yu Lin <kengyu@canonical.com>
> ---
>   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 <colin.king@canonical.com>  Wed, 28 Sep 2011 11:42:00 +0100
> +  [Keng-Yu Lin]
> +  * debian: Fix up the dependency of debian packages
> +
> + -- Keng-Yu Lin <kengyu@ubuntu.com>  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.
>
Acked-by: Colin Ian King <colin.king@canonical.com>
Ivan Hu - July 30, 2012, 2:44 a.m.
On 07/26/2012 05:34 PM, Keng-Yu Lin wrote:
> With a better example to generate debian/changelog of multiple contributers.
>
> Signed-off-by: Keng-Yu Lin <kengyu@canonical.com>
> ---
>   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 <colin.king@canonical.com>  Wed, 28 Sep 2011 11:42:00 +0100
> +  [Keng-Yu Lin]
> +  * debian: Fix up the dependency of debian packages
> +
> + -- Keng-Yu Lin <kengyu@ubuntu.com>  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.
>

Acked-by: Ivan Hu <ivan.hu@canonical.com>

Patch

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 <colin.king@canonical.com>  Wed, 28 Sep 2011 11:42:00 +0100
+  [Keng-Yu Lin]
+  * debian: Fix up the dependency of debian packages
+
+ -- Keng-Yu Lin <kengyu@ubuntu.com>  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.