[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#246918: dpkg-source may have an option to get .diff.gz from a custom source



Package: dpkg-dev
Version: 1.10.21
Severity: wishlist

Hello,

this is a very simple and non-intrusive change that I wish to see in
dpkg-source. I would like to make it read the contents of the future
.diff.gz file from a user-specified location and not run diff (and other
preparations to extract the unmodified source). The diff contents could
be specified using an environment variable, for example. The
implementation should be no problem for a Perl hacker familiar with
dpkg-source source.

Background: I wrote and maintain svn-buildpackage scripts, and since the
diff'ing work can be done much more efficient with svn, I would like to
use it. Large source packages that use dpatch to maintain patches make
no fun - dpkg-source first unpacks the original source then makes the
expensive diff run. The proposed change could make our work much faster
(in combination with svn-export via links, as done by svn-buildpackage).

Regards,
Eduard.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5-rc3
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8

Versions of packages dpkg-dev depends on:
ii  binutils                   2.14.90.0.7-6 The GNU assembler, linker and bina
ii  cpio                       2.5-1.1       GNU cpio -- a program to manage ar
ii  make                       3.80-7        The GNU version of the "make" util
ii  patch                      2.5.9-1       Apply a diff file to an original
ii  perl [perl5]               5.8.3-3       Larry Wall's Practical Extraction 
ii  perl-modules               5.8.3-3       Core Perl modules.

-- no debconf information



Reply to: