Tuesday, February 15. 2005It's official - pear.chiaraquartet.net is liveComments
Display comments as
(Linear | Threaded)
Greg, for those of us who want to start our own channel, do we need to register it with pear.php.net, or is there some simpler solution? (And I would be happy to put up wiki space dedicated to documenting these and other aspects of your pear installer work.)
Hi Paul,
The simplest solution for starting a channel is to simply start it and announce it on your blog. However, ALL channels started now need to understand that as we learn from the way things are working, things may need changing. I've designed this eventuality into the format for channel.xml, but until PEAR goes stable, channels will remain volatile enough that pear.php.net will not offer an official channel list. Plus, we have to discern the political issues involved in people "grabbing" channels before others do, just so we prevent things from getting real bad, if we can. Demian Turner has started a wiki for PEAR 1.4.0-related issues, feel free to talk it over with him, if you want to start another one or merge your experiences into his wiki. The link is on the left "Seagull's PEAR Installer Wiki"
Hi Greg,
I appologize if this is not the right time or place for this question and for not keeping up on the discussion. Has any though been given to restricting access to a channel? If I want to use channels to distrubute packages only to clients how would I go about that? Can the server be set up to check the username and password config options? Thanks, Scott Mattocks
Actually, channels have full support for HTTP authentication on the client side.
PEAR_Server does not have this built in, but you could easily manage this before any code actually gets to PEAR_Server (which is the nice thing about HTTP auth). For security, ssl is supported by the client-side of the PEAR installer, and this is supported in channel.xml as well, so the combination of ssl and http auth will work. The user simply types: $ pear login PEAR then prompts for user and password, and all works normally after that. So, yes, quite a bit of thought has gone into this exact issue!
Many thanks Greg. Been looking at the new channel functionality and so far has all worked perfectly (only messed with the client so far). Get the feeling you've done everyone a very big favor and may have opened the lid on easy to distribute libraries for PHP.
One question (which I should probably go and find out for myself but being lazy) - is the client able to resolve dependencies across channels? For example if I publish a package on my channel server which requires a package on some other channel server, can I declare that in the package.xml file and the client takes care of it?
Scratch that last question - just read your stuff on dependencies. Outstanding job!
|
Calendar
CategoriesPopular EntriesSetting up your own PEAR channel with Chiara_PEAR_Server - the official way
(36) Do you develop a website? It is infinitely better to synchronize live and development sites using the PEAR Installer(25) How to put the FAIL in open source(22) doing the PEAR thing(19) Using PEAR 1.4.0 to install PEAR packages on a remote host(19) phpDocumentor and __get/__set/__call - give us your ideas (RFC)(17) PEAR now fits in a bottle: meet go-pear.phar(17) Mac OS X ships with security hole-laden PEAR - how to upgrade immediately(16) Introducing pecl extension phar(13) go-pear.phar works! In related news, PHP_Archive is now PHP 5.1.0+(12) |
|||||||||||||||||||||||||||||||||||||||||||||||||
Another little tutorial in my little series on PEAR 1.4, which has been released gracefully a couple of hours ago in it's first alpha versions. This time, I will give you some hints on setting up your own PEAR channel server. Btw. you can discover and us
Tracked: Feb 27, 03:50
Heureusement qu'il n'y a pas eu que le froid à être de la partie à Bruxelles ce week-end, il y a avait aussi une liste trop longue de personnes à citer. Tout avait commencé par deux conférences : Jimmy "Jimbo" Wales de Wikipedia (marrant de voir une...
Tracked: Feb 28, 04:19
As of yesterday I started hacking on Greg Beavers PEAR_Server package. Here is a flash movie which shows you the new and improved PEAR_Server. It now features full Category support (though, no sub-categorys) and some style - Davey
Tracked: Mar 07, 12:56
In case you haven't guessed from the title, I am now working on a pearweb replacement for channel servers to complement Gregs excellent PEAR_Server package which I blogged about modifying on Monday. Once again, I have a Flash movie for you to view, this t
Tracked: Mar 08, 22:36