[Bug 231797] Re: no sensible way to use debian/watch files with launchpad hosted tarballs (no simple url-and-link list of all downloads)

Robie Basak 231797 at bugs.launchpad.net
Tue Jul 8 13:15:10 UTC 2014


The workaround doesn't work for Curtis' case - that there are many
releases.

This has now happened for https://launchpad.net/juju-core/+download.
1.20 doesn't show up on the first page. The following watch file fails
to find it. So the workaround is not valid in a real use case now,
AFAICT.

version=3
opts="uversionmangle=s/-/./" \
 https://launchpad.net/juju-core/+download https://launchpad.net/juju-core/.*/.*/.*/juju-core_(.*)\.tar\.gz

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to devscripts in Ubuntu.
https://bugs.launchpad.net/bugs/231797

Title:
  no sensible way to use debian/watch files with launchpad hosted
  tarballs (no simple url-and-link list of all downloads)

Status in Launchpad itself:
  Triaged
Status in “devscripts” package in Ubuntu:
  Invalid

Bug description:
  I'm hosting primary development of a project (ok, more than one
  project) on launchpad. As such, I'm using the release tarballs as the
  primary location for release tarballs.

  While trying to debianize one of these, I noticed that there is
  nothing sensible I can put in the watch file.

  uscan seems to have special knowledge of SourceForge sites... perhaps
  a solution is to patch uscan? On the other hand, making launchpad play
  nice with debian/watch anyway would also be nice.

  I tried to translate this link:

  http://launchpad.net/quoins/1.0/1.0.14/+download/Quoins-1.0.14.tar.gz

  to

  http://launchpad.net/quoins/1.0/(.*)/+download/Quoins-(.*)\.tar\.gz

  And got the following:

  uscan --verbose --force-download --rename --repack --destdir=../build-area
  -- Scanning for watchfiles in .
  -- Found watchfile in ./debian
  -- In debian/watch, processing watchfile line:
     http://launchpad.net/quoins/1.0/(.*)/+download/Quoins-(.*)\.tar\.gz
  dpkg: version 'https://launchpad.net/' has bad syntax: epoch in version is not number
  dpkg: version 'https://launchpad.net/quoins/1.0' has bad syntax: epoch in version is not number
  dpkg: version 'https://code.launchpad.net/quoins' has bad syntax: epoch in version is not number
  dpkg: version 'https://blueprints.launchpad.net/quoins/1.0/' has bad syntax: epoch in version is not number
  dpkg: version 'https://code.launchpad.net/~quoins/quoins/trunk' has bad syntax: epoch in version is not number
  dpkg: version 'https://launchpad.net/~quoins/+ownedbranches' has bad syntax: epoch in version is not number
  dpkg: version 'https://launchpad.net/quoins/1.0/+addpackage' has bad syntax: epoch in version is not number
  dpkg: version 'https://launchpad.net/quoins/1.0/+subscribe' has bad syntax: epoch in version is not number
  dpkg: version 'https://launchpad.net/~mordred' has bad syntax: epoch in version is not number
  dpkg: version 'https://code.launchpad.net/~quoins/quoins/trunk' has bad syntax: epoch in version is not number
  dpkg: version 'https://help.launchpad.net/' has bad syntax: epoch in version is not number
  dpkg: version 'https://help.launchpad.net/LaunchpadReleases' has bad syntax: epoch in version is not number
  dpkg: version 'https://launchpad.net/~mordred' has bad syntax: epoch in version is not number
  dpkg: version 'https://launchpad.net/quoins/1.0/+rdf' has bad syntax: epoch in version is not number
  dpkg: version 'https://launchpad.net/quoins/1.0/+ubuntupkg' has bad syntax: epoch in version is not number
  dpkg: version 'https://code.launchpad.net/~quoins/quoins/trunk' has bad syntax: epoch in version is not number
  dpkg: version 'https://translations.launchpad.net/quoins/1.0/' has bad syntax: epoch in version is not number
  dpkg: version 'https://bugs.launchpad.net/quoins/1.0/' has bad syntax: epoch in version is not number
  dpkg: version 'https://launchpad.net/quoins/1.0/+login' has bad syntax: epoch in version is not number
  dpkg: version 'https://launchpad.net/quoins' has bad syntax: epoch in version is not number
  dpkg: version 'https://launchpad.net/~quoins' has bad syntax: epoch in version is not number
  dpkg: version 'https://help.launchpad.net/' has bad syntax: epoch in version is not number
  dpkg: version 'http://canonical.com/' has bad syntax: epoch in version is not number
  dpkg: version 'https://help.launchpad.net/LaunchpadReleases' has bad syntax: epoch in version is not number
  dpkg: version 'http://canonical.com/' has bad syntax: epoch in version is not number
  dpkg: version 'https://help.launchpad.net/' has bad syntax: epoch in version is not number
  dpkg: version 'https://translations.launchpad.net/quoins/1.0/' has bad syntax: epoch in version is not number
  dpkg: version 'https://launchpad.net/' has bad syntax: epoch in version is not number
  uscan warning: In watchfile debian/watch, reading webpage
    http://launchpad.net/quoins/1.0/sprints/+download/ failed: 404 Not Found
  -- Scan finished

To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpad/+bug/231797/+subscriptions



More information about the foundations-bugs mailing list