Re: Reimplement mksplit.pl in C

2010-04-08 Thread Guillem Jover
Hi Marcelo! On Fri, 2010-04-02 at 22:55:38 -0600, Marcelo E. Magallon wrote: somewhere I read that a reimplementation of mksplit.pl in C was needed in order to remove a dependency of dpkg on Perl, but I can't find the reference anymore. The main reasons for this are to not be subject to

Re: Reimplement mksplit.pl in C

2010-04-04 Thread Marcelo E. Magallon
[ I subscribed to the list, thanks for the Cc:'s ] On Sat, Apr 03, 2010 at 12:20:52PM -0600, Marcelo E. Magallon wrote: The two cases I can think of are splitting an archive that splits to a single piece, splitting to multiple pieces and some failure cases. Right now I do something like:

Re: Reimplement mksplit.pl in C

2010-04-04 Thread Marcelo E. Magallon
On Sat, Apr 03, 2010 at 09:23:54PM +0200, Raphael Hertzog wrote: The more recent reference is in http://wiki.debian.org/Teams/Dpkg/RoadMap Thanks! Marcelo -- To UNSUBSCRIBE, email to debian-dpkg-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Re: Reimplement mksplit.pl in C

2010-04-03 Thread Jonathan Nieder
Hi, Marcelo E. Magallon wrote: somewhere I read that a reimplementation of mksplit.pl in C was needed in order to remove a dependency of dpkg on Perl, but I can't find the reference anymore. I could only find approx one reference for this goal [1]. Luckily, even if that doesn’t pan out,

Re: Reimplement mksplit.pl in C

2010-04-03 Thread Russ Allbery
Jonathan Nieder jrnie...@gmail.com writes: Some test cases (or methods for producing them) would make me very happy. dpkg doesn’t have enough automated tests of basic functionality. Automake provides a rudimentary test harness [2]. Given that a fair bit of dpkg is written in Perl, which

Re: Reimplement mksplit.pl in C

2010-04-03 Thread Jonathan Nieder
Russ Allbery wrote: Jonathan Nieder jrnie...@gmail.com writes: Automake provides a rudimentary test harness [2]. Given that a fair bit of dpkg is written in Perl, which means that people are already familiar with the Perl test harness, you may want to consider using my C TAP Harness

Re: Reimplement mksplit.pl in C

2010-04-03 Thread Marcelo E. Magallon
On Sat, Apr 03, 2010 at 01:19:33AM -0500, Jonathan Nieder wrote: I could only find approx one reference for this goal [1]. Ah, yes, that was it, thanks! Removing Perl from the essential set. While going to bed, I actually figured that was the reason why I wasn't finding perl in the

Re: Reimplement mksplit.pl in C

2010-04-03 Thread Raphael Hertzog
On Sat, 03 Apr 2010, Jonathan Nieder wrote: Hi, Marcelo E. Magallon wrote: somewhere I read that a reimplementation of mksplit.pl in C was needed in order to remove a dependency of dpkg on Perl, but I can't find the reference anymore. I could only find approx one reference for

Reimplement mksplit.pl in C

2010-04-02 Thread Marcelo E. Magallon
Hi, somewhere I read that a reimplementation of mksplit.pl in C was needed in order to remove a dependency of dpkg on Perl, but I can't find the reference anymore. Oddly enough I don't see a dependency of dpkg on perl either: Package: dpkg Version: 1.15.6.1 Replaces: manpages-de (= 0.4-3),