re: generate version 1.0 package.xml files?

From: Date: Wed, 16 Jan 2008 19:55:07 +0000
Subject: re: generate version 1.0 package.xml files?
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28446@lists.php.net to get a copy of this message
Laurent, Thanks for your reply. I did, in fact, read the page for PEAR_PackageFileManager but it mostly mentions v2 package.xml files (or creating v2 files from v1 files) so I wasn't sure I'd be able to get what I wanted. I have successfully generated v2 package.xml files however that has not helped me reach my end goal by my current path. Perhaps, though, there is a an easier path that I can take with v2 package.xml files. My end goal is to create debian packages of a number of internal pear packages we've developed. The only tool I've found for this is dh-make-pear which works fine with package v1 files but I've had no luck getting it to work with v2 package.xml files. In fact, reading the code suggests that get_packageversion() is never called in dh-make-pear so a v2 package is never properly detected. Even if you run it's xmlstarlet commands against a testing v2 xml file it does not seem to return anything, anyway. So, if there is an alternate way to take a v2 package.xml file and generate a debian package from that I'd love to hear about it. thanks again, Will On 1/16/08, Laurent Laville <pear@laurent-laville.org> wrote: > William Francis a écrit : > > > > Is there an automated way to generate v1.0 package.xml files? I've > > discovered methods generate v2.0 package.xml files via the > > PEAR_PackageFileManager package, however, for my purpose I need to make > > v1.0 files to start with and can convert to v2.0 files later. > > > > > > thanks, > > > > Will > > Hi William, > > If you've discovered PEAR_PackageFileManager, you've certainly (perharps > not), understand that : > > PEAR_PackageFileManager allow to generate package xml 1.0 > while > PEAR_PackageFileManager2 allow to generate package xml 2.0 > > Examples may be found into package distrib. > > BTW, I don't see any reason why to start with package xml 1.0 generation > first. > > Laurent > >

« previous php.pear.general (#28446) next »