[Pkg-bazaar-maint] Bug#518097: Bug#518097: Bug#518097: bzr-loom: should provide ‘get-orig-source’ target

Jelmer Vernooij jelmer at debian.org
Thu Mar 5 12:20:00 UTC 2009


On Thu, 2009-03-05 at 18:20 +1100, Ben Finney wrote:
> On 04-Mar-2009, Jelmer Vernooij wrote:
> > get-orig-source should also retrieve the most recent version of
> > upstream rather than the last on in debian/changelog, as policy
> > mentions.
> 
> How, then, should the version string (needed to construct the correct
> tarball filename) be determined from the upstream branch?
bzr-builddeb can do this for you, by taking the current version in
debian/changelog and updating the revno in that. What I usually use for
get-orig-source is something like this:

get-orig-source:
	bzr builddeb --export-only --build-dir=tmp
	mv tmp/*.orig.tar.gz .
	rm -rf tmp

This will retrieve the upstream branch name (lp:bzr-loom in this case)
from .bzr-builddeb/default.conf

Cheers,

Jelmer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-bazaar-maint/attachments/20090305/d5437203/attachment.pgp 


More information about the Pkg-bazaar-maint mailing list