Re: Problems w/ "pear install <URL>"

From: Date: Tue, 23 Apr 2002 17:47:42 +0000
Subject: Re: Problems w/ "pear install <URL>"
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5746@lists.php.net to get a copy of this message
"Jesus M. Castagnetto" wrote: > > --- "Stig S. Bakken" <ssb@fast.no> wrote: > > On Tue, 2002-04-23 at 04:03, Jesus M. Castagnetto wrote: > > > Maybe I missed this while I was unsubscribed, but how is the package > > browser > > > finding the packages it lists on pear.php.net/packages.php? > > > > > > It seems a little inconsistent that a package is listed, but cannot be > > > dowloaded. I see that the info in pear.php.net/get is pulled from a db, why > > not > > > look for the package.xml file instead? > > > > This is because the available packages is not necessarily bound to the > > CVS server. If people want, they can keep all the code locally and just > > upload releases. What you need to do is run "pear package" and upload > > the new .tgz file on > > http://pear.php.net/release-upload.php. Also > > remember to tag the files included in the release, you can do this > > simply with "pear cvstag package.xml" (if you're running the packager in > > verbosity level 1 or above it will print this command or the alternative > > cvs command). > > Tnxs, I forgot that. I did it and now the package is available for download. > One problem though, when I do: > > pear install http://pear.php.net/get/Science_Chemistry > > The .php files are installed OK, but the example structures are missing in > $PEAR_INSTALL/Science/Chemistry/test/ (all the .xyz, .pdb and .cml files) > > I had not looked at PEAR/Installer.php yet, so I have not idea what the problem > is yet. > Hi Jesus, long time without seeing you :) Files marked with role "test" are not installed by the pear command. If your package need them, mark it as "data" or "doc" (doc files are installed in a common pear doc dir != PEAR_INSTALL_DIR). Tomas V.V.Cox

« previous php.pear.dev (#5746) next »