Merge lp:~jelmer/bzr-builddeb/document-export-upstream into lp:bzr-builddeb

Proposed by Jelmer Vernooij
Status: Merged
Approved by: James Westby
Approved revision: 728
Merged at revision: 728
Proposed branch: lp:~jelmer/bzr-builddeb/document-export-upstream
Merge into: lp:bzr-builddeb
Diff against target: 52 lines (+11/-7)
2 files modified
cmds.py (+9/-6)
debian/changelog (+2/-1)
To merge this branch: bzr merge lp:~jelmer/bzr-builddeb/document-export-upstream
Reviewer Review Type Date Requested Status
James Westby Approve
Review via email: mp+98177@code.launchpad.net

Description of the change

Document the argument to --export-upstream.

To post a comment you must log in.
Revision history for this message
James Westby (james-w) wrote :

Looks good.

Thanks,

James

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'cmds.py'
--- cmds.py 2012-03-10 15:21:36 +0000
+++ cmds.py 2012-03-19 10:12:18 +0000
@@ -60,9 +60,11 @@
60dont_purge_opt = Option('dont-purge',60dont_purge_opt = Option('dont-purge',
61 help="Don't purge the build directory after building.")61 help="Don't purge the build directory after building.")
62result_opt = Option('result-dir',62result_opt = Option('result-dir',
63 help="Directory in which to place the resulting package files.", type=str)63 help="Directory in which to place the resulting package files.", type=str,
64 argname="DIRECTORY")
64builder_opt = Option('builder',65builder_opt = Option('builder',
65 help="Command to build the package.", type=str)66 help="Command to build the package.", type=str,
67 argname="BUILDER")
66merge_opt = Option('merge',68merge_opt = Option('merge',
67 help='Merge the debian part of the source in to the upstream tarball.')69 help='Merge the debian part of the source in to the upstream tarball.')
68split_opt = Option('split',70split_opt = Option('split',
@@ -71,15 +73,16 @@
71 help="The dir to use for building.", type=str)73 help="The dir to use for building.", type=str)
72orig_dir_opt = Option('orig-dir',74orig_dir_opt = Option('orig-dir',
73 help="Directory containing the .orig.tar.gz files. For use when only "75 help="Directory containing the .orig.tar.gz files. For use when only "
74 +"debian/ is versioned.", type=str)76 +"debian/ is versioned.", type=str,
77 argname="DIRECTORY")
75native_opt = Option('native',78native_opt = Option('native',
76 help="Build a native package.")79 help="Build a native package.")
77export_upstream_opt = Option('export-upstream',80export_upstream_opt = Option('export-upstream',
78 help="Create the .orig.tar.gz from a bzr branch before building.",81 help="Create the .orig.tar.gz from specified bzr branch before building.",
79 type=unicode)82 type=unicode, argname="BRANCH")
80export_upstream_revision_opt = Option('export-upstream-revision',83export_upstream_revision_opt = Option('export-upstream-revision',
81 help="Select the upstream revision that will be exported.",84 help="Select the upstream revision that will be exported.",
82 type=str)85 type=str, argname="REVISION")
8386
8487
85def _get_changelog_info(tree, last_version=None, package=None, distribution=None):88def _get_changelog_info(tree, last_version=None, package=None, distribution=None):
8689
=== modified file 'debian/changelog'
--- debian/changelog 2012-03-13 15:22:43 +0000
+++ debian/changelog 2012-03-19 10:12:18 +0000
@@ -4,8 +4,9 @@
4 * Cope with missing tags when looking up upstream versions.4 * Cope with missing tags when looking up upstream versions.
5 * Skip quilt unapplying for trees that can not be copied (such as5 * Skip quilt unapplying for trees that can not be copied (such as
6 _PreviewTree). LP: #9504196 _PreviewTree). LP: #950419
7 * Document the argument for --export-upstream. LP: #959065
78
8 -- Jelmer Vernooij <jelmer@debian.org> Tue, 13 Mar 2012 16:22:40 +01009 -- Jelmer Vernooij <jelmer@debian.org> Mon, 19 Mar 2012 11:10:21 +0100
910
10bzr-builddeb (2.8.3) unstable; urgency=low11bzr-builddeb (2.8.3) unstable; urgency=low
1112

Subscribers

People subscribed via source and target branches