Re: Services_Technorati2
| From: | Greg Beaver | Date: | Fri, 23 Feb 2007 15:32:10 +0000 |
| Subject: | Re: Services_Technorati2 | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45737@lists.php.net to get a copy of this message | ||
James Stewart wrote:
> On Feb 20, 2007, at 11:42 AM, Christian Weiske wrote:
>>> I'd like to deprecate my original Services_Technorati package (which
>>> has yet to reach a stable release because of some dependencies) and
>>> replace it with a new PHP5-only package, but had a few questions. If
>>> these are answered somewhere in the manual that I've missed, please
>>> point me there.
>>>
>>> How do I get CVS and the package homepage set up for the new version?
>>> I'm guessing I email pear-group?
>>
>> Just release a new version. There is no need to switch CVS
>> directories; you can tag the old version (cvs tag ...) so that people
>> can still get the old code.
>> Then remove the files from CVS and start fresh.
>
> Thanks. I've done that and it seems to be working well.
>
> But when I try to package a new release, with the name change to
> Services_Technorati2 and upload it to PEAR the site gives me the error:
>
> * Package name in package.xml "Services_Technorati2" MUST match
> exactly package name on the website ""
Hi James,
Having investigated more closely, Christian was not suggesting that you
change the package name, only that you re-do the code.
To be really explicit, name the thing "Services_Technorati" and name the
class "Services_Technorati" :). The PHP_Parser package is an example of
this kind of switch. The first release 0.1 was php4-compatible. The
upcoming release makes use of PHP_ParserGenerator and is therefore
PHP5+. I didn't change the name of the package or class, just the contents.
Greg