Hi Ben, On Wed, 2009-03-04 at 15:50 +1100, Ben Finney wrote: > package bzr-loom > tags 518097 + patch > block 518097 by 518098 > thanks > > On 04-Mar-2009, Ben Finney wrote: > > Debian policy §4.9 recommends implementing a ‘get-orig-source’ target, > > for automating the fetch of the corresponding source tarball when it > > is not a simple matter of downloading from a URL. > > Attached is a Bazaar patch bundle, implementing the above target via a > shell program. The program parses the Vcs-Bzr field (so this is > blocked by bug#518098) from ‘debian/control’, and the revision number > from the upstream version number in the changelog. It then exports the > revision to an appropriately-named tarball. Thanks for the patch.
Vcs-Bzr shouldn't be used by get-orig-source, as it is intended for the branch with the packaging, not for the upstream branch. get-orig-source, otoh is intended for the upstream source. get-orig-source should also retrieve the most recent version of upstream rather than the last on in debian/changelog, as policy mentions. Some of the other bzr-* packages already implement this by utilizing bzr-builddeb and a much more trivial get-orig-source target. > The patch bundle is against the Alioth branch > bzr+ssh://bzr.debian.org/bzr/pkg-bazaar/bzr-loom/experimental/ which > is accessible to me only because I have an account there. You should also be able to use nosmart+http://... Cheers, Jelmer
signature.asc
Description: This is a digitally signed message part