Re: Request for features in PEAR 2.0 (codename Pyrus)

From: Date: Wed, 23 May 2007 22:44:12 +0000
Subject: Re: Request for features in PEAR 2.0 (codename Pyrus)
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-46870@lists.php.net to get a copy of this message
Tony Bibbs wrote: > How about dependency checks for things outside of PHP? We've been > pushing PEAR as a possible way to deploy our ASP.NET apps under Mono > so that our Linux sysadmins don't have yet another way to manage > application deployment. Being able to specify dependencies for > non-PHP apps/libraries would help. Granted I'm not the expert on > PEAR but the only useful dependency outside of PHP I can currently > set is the OS Hi Tony, If the dependency is something like "ASP.NET version blah" this is a difficult one. The only non-PHP dependency aside from OS is arch, and it is probably not so useful in your case. As Travis suggested, the way this is handled in other package managers is to create packages for those things. For instance, gentoo portage can only recognize something as being installed if an ebuild has been installed. You could create a package.xml with a specific version for the dependency, and have a dummy README file or something like that. This would probably be far more effective than asking PHP/PEAR to jump through new hoops with non-standard things. Greg

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