[pkg-php-pear] WIP: Tool to automate autoload.php template generation

David Prévot david at tilapin.org
Mon Mar 1 22:43:31 GMT 2021


Le 02/01/2021 à 17:09, Robin Gustafsson a écrit :

> I've just pushed a WIP branch to the pkg-php-tools repository on Salsa
> [1] with a suggestion/first draft of a tool to automate the creation
> of autoload.php templates for the phpab tool based on composer.json
> files.

Thanks a lot, your work is now available for all to see and test with 
pkg-php-tools 1.41 (currently in experimental).

> Many of our packages contain manually maintained templates that are
> needed to make the autoloader load the package's dependencies and even
> its own statically loaded files. The point of this new tool is to
> automate this step too.

I’ve just uploaded php-amqplib, using phpabtpl to generate the templates 
instead of the manually maintained ones, thanks again!

I hope we’ll soon manage to improve the phpcomposer mode to handle most 
phpabtpl and phpab calls, as well as install files where they belong 
(including overrides).



-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-php-pear/attachments/20210301/9975ff24/attachment.sig>

More information about the pkg-php-pear mailing list