Bug#752364: uupdate: support multiple source archives
Osamu Aoki
osamu at debian.org
Sun Aug 23 16:25:55 UTC 2015
Hi,
Adding all the packaging format within uupdate in this coding style with
future extendibility is not an easy task.
dpkg (dpkg-source etc.) is written in more OO modularized style and
support many formats.
In stead of re-implimenting this complicated task, I thought using
dpkg-source -b maybe an idea. In order to use this, we need to have
minimal set of files.
Real upstream source with correct names:
* fritzing_0.9.2b+dfsg.orig-parts.tar.gz
* fritzing_0.9.2b+dfsg.orig.tar.gz
Empty content file to fool error check:
* fritzing_0.9.2b+dfsg-1.debian.tar.xz
Fake simplified DSC file:
----fritzing_0.9.2b+dfsg-1.dsc
Format: 3.0 (quilt)
Source: fritzing
Version: 0.9.2b+dfsg-1
Files:
11111111111111111111111111111111 1 fritzing_0.9.2b+dfsg.orig-parts.tar.gz
22222222222222222222222222222222 9 fritzing_0.9.2b+dfsg.orig.tar.gz
33333333333333333333333333333333 1 fritzing_0.9.2b+dfsg-1.debian.tar.xz
-----------
Yes, hush and size can be bogus but must be there to fool error checking.
Format can be anything reasonable matching files.
Then:
$ dpkg-source --debug --no-copy --no-check --skip-debianization -x fritzing_0.9.2b+dfsg-1.dsc
This should unpack nicely.
This approach should be simpler to impliment and maintain.
Osamu
More information about the devscripts-devel
mailing list