Re: Remove PEAR_Common::validPackageName()

From: Date: Wed, 12 Nov 2003 18:46:13 +0000
Subject: Re: Remove PEAR_Common::validPackageName()
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23553@lists.php.net to get a copy of this message
On Wed Nov 12, 2003 at 02:1642PM +0100, Sandro Zic wrote: > I opt for removing PEAR_Common::validPackageName(). Huh, I object :). > Because it should be possible to name a package different compared to the > class prefix. > > For example: > > Someone (e.g. me) wants to name his packages in Java style: > > com.example.[package] > > If I do "pear package" on that, the package manager complains that the package > name is invalid because it does not match the class prefix. Of course, no one > would/could prefix his class with "Com.Example.Package_". We might instead add a command line options like "pear package --skip-name-validation" or something similar. How does that sound for you? -- - Martin Martin Jansen http://martinjansen.com/

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