Bug#795804: uscan: Should support multiple source archives
Osamu Aoki
aoki.osamu at gmail.com
Sun Aug 16 22:59:53 UTC 2015
Package: devscripts
Version: 2.15.3
Severity: wishlist
File: /usr/bin/uscan
This is related to https://bugs.debian.org/752364 for uupdate
uscan should support locating multiple upstream archive.
The Files-excluded feature should be enabled for the whole unpacked tree.
Repacking for dsfg is a bit of headiache.
Then, uupdate should update the source accordingly with the debian/*
directory.
The debian/watch file format, if minimal change from version=3 is
desired, should be as follows with few more lines:
version=4
[opts="..." ]Site-with-pattern-for-orig-tar [Version [Action]]
[opts="..." ]Site-with-pattern-for-orig-component1-tar component1
[opts="..." ]Site-with-pattern-for-orig-component2-tar component2
[opts="..." ]Site-with-pattern-for-orig-component3-tar component3
...
While normally as version=3
* Version=debian
* Action=uupdate
Here component1, component2, component3 can be replaced with the actual
component name. The downloading logic can be almost the same as the
current one for the main orig.tar.
If the above downloads from remote site
* packagemain-version0.tar.gz
* packagecomponent1-version1.tar.gz
* packagecomponent2-version2.tar.gz
* packagecomponent3-version3.tar.gz
and newly formed tarball name for the main packagemain-version0.tar.gz is
* package_version.orig.tar.gz
after renaming, then the others should be renamed as
* package_version.orig-component1.tar.gz
* package_version.orig-component2.tar.gz
* package_version.orig-component3.tar.gz
Please note component-tars are all renamed using the main orig-tar file
name and version.
The Creation of fake *.dsc maybe easy way to recreate source tree from
all these tars. Then we can rely on dpkg :-)
(Of course, I do not mind seeing a bit more readable syntax for version=4
watch file than the version=3 based complicated one.)
Osamu
-- Package-specific info:
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i -us -uc"
DEBUILD_LINTIAN_OPTS="-i -I --show-overrides"
DEBSIGN_KEYID="1DD8D791"
-- System Information:
Debian Release: 8.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages devscripts depends on:
ii dpkg-dev 1.17.25
ii libc6 2.19-18
ii perl 5.20.2-3+deb8u1
ii python3 3.4.2-2
pn python3:any <none>
Versions of packages devscripts recommends:
ii at 3.1.16-1
ii curl 7.38.0-4+deb8u2
ii dctrl-tools 2.23
ii debian-keyring 2015.04.10
ii dput 0.9.6.4
ii equivs 2.0.9
ii fakeroot 1.20.2-1
ii file 1:5.22+15-2
ii gnupg 1.4.18-7
ii libdistro-info-perl 0.14
ii libencode-locale-perl 1.03-1
ii libjson-perl 2.61-1
ii liblwp-protocol-https-perl 6.06-2
ii libparse-debcontrol-perl 2.005-4
ii libsoap-lite-perl 1.11-1
ii liburi-perl 1.64-1
ii libwww-perl 6.08-1
ii lintian 2.5.30+deb8u4
pn man-db <none>
ii patch 2.7.5-1
ii patchutils 0.3.3-1
ii python3-debian 0.1.27
ii python3-magic 1:5.22+15-2
ii sensible-utils 0.0.9
ii strace 4.9-2
ii unzip 6.0-16
ii wdiff 1.2.2-1
ii wget 1.16-3
ii xz-utils 5.1.1alpha+20120614-2+b3
Versions of packages devscripts suggests:
ii bsd-mailx [mailx] 8.1.2-0.20141216cvs-2
ii build-essential 11.7
pn cvs-buildpackage <none>
pn debbindiff <none>
pn devscripts-el <none>
pn gnuplot <none>
ii gpgv 1.4.18-7
ii libauthen-sasl-perl 2.1600-1
ii libfile-desktopentry-perl 0.07-1
ii libnet-smtp-ssl-perl 1.01-3
pn libterm-size-perl <none>
ii libtimedate-perl 2.3000-2
pn libyaml-syck-perl <none>
ii mutt 1.5.23-3
ii openssh-client [ssh-client] 1:6.7p1-5
pn svn-buildpackage <none>
ii w3m 0.5.3-19
-- no debconf information
More information about the devscripts-devel
mailing list