[Bug 339343] [NEW] get-orig-source priority should be higher than uscan

Martin Pitt martin.pitt at ubuntu.com
Sat Mar 7 22:33:18 UTC 2009


Public bug reported:

Binary package hint: bzr-builddeb

I maintain calibre (lp:~calibre-packagers/calibre/debian/). This needs a
get-orig-source rule to build a +dfsg.orig.tar.gz (upstream tar.gz with
some files removed). If I just bump the version in debian/changelog,
then bd figures out that it needs to get a new orig.tar.gz, but uses
uscan for this:

$ bzr bd
Building using working tree
Running in merge mode
Looking for a way to retrieve the upstream tarball
Using apt to look for the upstream tarball.
apt could not find the needed tarball.
Using uscan to look for the upstream tarball.
calibre: Version (0.4.143) available on remote site:
  http://calibre.kovidgoyal.net/downloads/calibre-0.4.143.tar.gz
  (local version is 0.4.143+dfsg, mangled local version number 0.4.143)
calibre: Successfully downloaded updated package calibre-0.4.143.tar.gz
    and renamed it as calibre_0.4.143.orig.tar.gz
bzr: ERROR: Unable to find the needed upstream tarball: calibre_0.4.143+dfsg.orig.tar.gz.

I can't think of a situation where it is correct to use uscan if
debian/rules provides a get-orig-source method. Thus I believe
provide_with_get_orig_source() should be much higher prioritized than
provide_with_uscan(), and also than provide_from_self_by_split(). I'm a
bit undecided about provide_from_upstream_branch(), since it's not quite
clear to me whether get-orig-source or the explicitly configured
upstream branch should win (I think the latter).

I currently don't see a way of overriding the priorities, so I have to
call get-orig-source by hand.

Thanks for considering!

** Affects: bzr-builddeb (Ubuntu)
     Importance: Undecided
         Status: New

-- 
get-orig-source priority should be higher than uscan
https://bugs.launchpad.net/bugs/339343
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list