ANN: PHP OpenID 2.0.0-rc1

Christian Weiske cweiske at cweiske.de
Sat Apr 7 04:42:47 PDT 2007


Jonathan,


> We currently do not plan to support PEAR packaging for future PHP
> library releases.  You can read more about the decision here:
>   http://lists.openidenabled.com/pipermail/dev/2007-March/000383.html
That's bad to hear.


> If you're interested in helping out, please let me know.
I took the freedom to create a php script that uses PEAR's
PackageFileManager package to automatically create a package.xml from
the OpenID sources. You can find it at
http://tmp.cweiske.de/genpackagexml.phps

Some notes in response to the no-pear-anymore mail:
- There is no need for two package.xml files. package.xml v1 has been
used years ago and is still supported for BC reasons. All new packages
should use package.xml v2 which my script creates. v1 does not need to
be written anymore, since people need a current version of PEAR anyway
(I set the pear installer dep to a recent 1.5.0).

With this, there should be no more problems with files getting installed
in the wrong directories anymore, too.


Put the script into the admin/ directory and run it from the package root:
$ php admin/genpackagexml.php
If the package.xml looks good (it's echoed on cmdline), add a "make"
parameter:
$ php admin/genpackagexml.php make
The package.xml file will be written out, and you can do "pear package"
to get the file.


-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20070407/364fff0d/attachment.pgp 


More information about the Dev mailing list