Archive for the ‘pear’ Category

Automating packages upload for PEAR channels running Chiara_PEAR_Server

Monday, November 19th, 2007

Setting up Chiara_PEAR_Server with Crtx front end is a little bit confusing(even if you follow the official guide) but at least it happens just once ;)

Another important matter is maintaining your lovely PEAR channel up-to-date which, of course, assumes nice and easy way of uploading new packages. Actually Crtx’s web interface provides such a way and it works just fine for a couple of packages but if you have more than a dozen of them uploading new packages quickly becomes a boring process(e.g. we have 20+ packages at Limb3 PEAR channel)

That’s why I hacked up a script which automates this process quite a bit ;)

(more…)

Bug in Crtx_PEAR_Channel_Frontend?

Saturday, November 17th, 2007

I’m using Crtx_PEAR_Channel_Frontend-0.3.1-alpha as a PEAR channel front end and I’m pretty happy about it. However there seems to be a bug in the Crtx_PEAR_Channel_Frontend :: getPackageLatestReleases() method at line 500.

It reads:

unset($release[$states[$i+1]]);

While it should read:

unset($release[$states[$i]]);

I tried to email the original author Davey Shafik some time ago to no avail but at least now you are warned ;)