Re: missing file in php-net-ipv4 in official package
- To: email@example.com
- Subject: Re: missing file in php-net-ipv4 in official package
- From: Gregory Colpart <firstname.lastname@example.org>
- Date: Sun, 19 Aug 2007 18:11:05 +0200
- Message-id: <20070819161104.GA3416@test-scsi>
- In-reply-to: <20070730151445.GB10286@test-scsi>
- References: <email@example.com> <20070730082422.GA27042@dario.dodds.net> <46ADEFEB.firstname.lastname@example.org> <20070730151445.GB10286@test-scsi>
On Mon, Jul 30, 2007 at 05:14:45PM +0200, Gregory Colpart wrote:
> > All together, now that I did about 10 pear extension Debian packages or
> > so, I am wondering if it was possible to create a script that would
> > parse the "package.xml" file to auto generate the debian/rules file the
> > correct way. An automated system would have many advantages. Some that
> > come to my mind: make Debian packages very fast, reduce the possibility
> > to make errors, make it possible to have updates very fast at the same
> > time as the one from pear.php.net, ...
> > Also, the package.xml has all the needed information: upstream author,
> > license, and list of files and where to set them up. As it's an XML
> > file, it's quite easy to parse.
> > Of course, this doesn't mean that the resulting Debian folder shouldn't
> > be check for consistency. This is the role of both the maintainer, and
> > the sponsor.
> > If anybody is interested about this idea and want to work with me doing
> > it, let me know. One of the subjects that I'd like to discuss is what
> > tool to use to parse the file. Maybe php itself as it can be called from
> > shell?
> Parsing and displaying informations are done with:
> $ pear info package.xml
> I don't think it's very useful to do more and generate
> debian/control file because it could give bad habits for the
> maintainer: debian/control must have ever manual checks.
Complementary information, there is such a script in dh-make-php
Gregory Colpart <email@example.com> GnuPG:1024D/C1027A0E
Evolix - Informatique et Logiciels Libres http://www.evolix.fr/