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

Bug#576338: [dpkg] --purge not well described in manual page dpkg.1

2010-04-03 Thread Jens Seidel
Package: dpkg Version: 1.15.5.6 Severity: minor Hi, man dpkg contains: -r, --remove, -P, --purge package...|-a|--pending Remove an installed package. -r or --remove remove everything except conffiles. This may avoid having to reconfigure the package if it is reinstalled later.