no sensible way to use debian/watch files with launchpad hosted tarballs (no simple url-and-link list of all downloads)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned | ||
devscripts (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
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://
to
http://
And got the following:
uscan --verbose --force-download --rename --repack --destdir=
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
http://
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'http://
dpkg: version 'https:/
dpkg: version 'http://
dpkg: version 'https:/
dpkg: version 'https:/
dpkg: version 'https:/
uscan warning: In watchfile debian/watch, reading webpage
http://
-- Scan finished
Changed in launchpad-foundations: | |
status: | New → Confirmed |
affects: | launchpad-foundations → launchpad-registry |
Changed in launchpad-registry: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in launchpad-registry: | |
milestone: | none → series-future |
importance: | Low → High |
summary: |
- no sensible way to use debian/watch files with launchpad hosted tarballs + provide url-and-link list of downloads for uscan |
tags: | added: packaging |
tags: | added: releases |
There is a way but it's certainly not "nice" compared to the ones of sourceforge and others.
https:/ /answers. launchpad. net/launchpad/ +question/ 21146 had the answer with a bit of luck I think that this is working:
version=3 launchpad. net/screenlets/ +download http:// launchpad. net/screenlets/ .*/screenlets- (.+).tar. gz
http://
The problem is that debian uses a redirector script for sourceforge: sf.net/ audacity/ audacity- src-(.+ )\.tar\.gz
# qa.debian.org runs a redirector which allows a simpler form of URL
# for SourceForge based projects. The format below will automatically
# be rewritten to use the redirector.
http://