Merge lp:~jelmer/bzr-builder/misc-fixes into lp:bzr-builder
Proposed by
Jelmer Vernooij
Status: | Merged |
---|---|
Merged at revision: | 152 |
Proposed branch: | lp:~jelmer/bzr-builder/misc-fixes |
Merge into: | lp:bzr-builder |
Diff against target: |
163 lines (+55/-13) 3 files modified
.testr.conf (+4/-0) cmds.py (+6/-6) tests/test_blackbox.py (+45/-7) |
To merge this branch: | bzr merge lp:~jelmer/bzr-builder/misc-fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
bzr-builder developers | Pending | ||
Review via email: mp+81345@code.launchpad.net |
Description of the change
Some misc fixes:
* Provide a binary package in debian/control during various tests; newer versions of dpkg-source insist on this
* When building 3.0 (quilt) packages, don't leave any delta with upstream that's not in debian/patches, newer versions of dpkg-source break with this
* When using --allow-
To post a comment you must log in.
Are there bug numbers for these? The change looks fine, I just don't know
the rationale.
Merge: approve
John
=:->
On Nov 4, 2011 6:05 PM, "Jelmer Vernooij" <email address hidden> wrote:
> Jelmer Vernooij has proposed merging lp:~jelmer/bzr-builder/misc-fixes /code.launchpad .net/~jelmer/ bzr-builder/ misc-fixes/ +merge/ 81345 fallback- to-native, only convert the package to /code.launchpad .net/~jelmer/ bzr-builder/ misc-fixes/ +merge/ 81345 BZR_PLUGINS_ AT=builder@ `pwd` bzr selftest -s bp.builder option= --load- list $IDFILE option= --list plugins. builder. recipe import ( able, format( working_ tree_path) : format( working_ tree_path, current_format): format( working_ tree_path) 3_0_quilt_ to_native( working_ tree_path) to_transport( manifest, base_branch, transports) version. debian_ version is not None: format( package_ dir) version. debian_ version is not None or upstream_ tarball( base_branch. branch, fallback- to-native. " % e.tag_name) to_native: format( package_ dir) format( package_ dir, current_format) package( package_ dir,
> into lp:bzr-builder.
>
> Requested reviews:
> bzr-builder developers (bzr-builder-devs)
>
> For more details, see:
> https:/
>
> Some misc fixes:
>
> * Provide a binary package in debian/control during various tests; newer
> versions of dpkg-source insist on this
> * When building 3.0 (quilt) packages, don't leave any delta with upstream
> that's not in debian/patches, newer versions of dpkg-source break with this
> * When using --allow-
> native if there is no upstream tarball
>
> --
> https:/
> You are subscribed to branch lp:bzr-builder.
>
> === added file '.testr.conf'
> --- .testr.conf 1970-01-01 00:00:00 +0000
> +++ .testr.conf 2011-11-04 23:04:23 +0000
> @@ -0,0 +1,4 @@
> +[DEFAULT]
> +test_command=
> --subunit
> +test_id_
> +test_list_
>
> === modified file 'cmds.py'
> --- cmds.py 2011-11-04 14:07:59 +0000
> +++ cmds.py 2011-11-04 23:04:23 +0000
> @@ -55,7 +55,6 @@
>
> from bzrlib.
> BaseRecipeBranch,
> - DebUpstreamVari
> build_tree,
> RecipeParser,
> resolve_revisions,
> @@ -333,12 +332,11 @@
> f.close()
>
>
> -def force_native_
> +def force_native_
> """Make sure a package is a format that supports native packages.
>
> :param working_tree_path: Path to the package
> """
> - current_format = get_source_
> if current_format == "3.0 (quilt)":
> convert_
> elif current_format not in ("1.0", "3.0 (native)"):
> @@ -675,7 +673,9 @@
> write_manifest_
> possible_
> return 0
> - if package_
> + current_format = get_source_
> + if (package_
> + current_format == "3.0 (quilt)"):
> # Non-native package
> try:
> extract_
> package_name,
> @@ -686,8 +686,8 @@
> "Unable to find the upstream source. Import it
> "
> "as tag %s or build with "
> "--allow-
> - if allow_fallback_
> - force_native_
> + else:
> + force_native_
> try:
> build_source_
> ...