-
-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFE] unlock "pecl" vendor name #1496
Comments
There's already several extensions registered using the The common rule for vendor names still apply: you cannot register a new package under an existing vendor name if you are not part of the Packagist maintainers of one of the existing packages of that namespace. |
All from me :)
And for
Yes, this is the rule I propose to change, only for pecl. |
Note that removing this restriction on the vendor name would then mean that anyone can submit a |
I don't know, perhaps some other restriction needed (ex sources under https://github.com/php) Of course, after adding some ext (by me for others), we'll probably have enough allowed maintainers to add more. |
I thought we had this discussion beforehand, and decided against using |
Ok, seems not (https://github.com/php/pie/issues/650. I do think we should no longer pursue the name "pecl" though. And I think I do believe having each extension has its own vendor now makes more sense, as it would allow for every maintainer to do their own thing. |
I disagree with unlocking the As a rule of thumb, any extension should use their own vendor (e.g. Datadog could use The exception to this is those exts already hosted in the PHP GitHub organisation (i.e. https://github.com/php), e.g. yaml, mcrypt, timezonedb etc.. As per php/pie#65 - we had discussed these, and in that issue and both in the PHP Foundation discussion channel, the only consensus was that Once some different maintainers have been added to allowed under |
Given my concerns raised in ThePHPF/pie-design#27, I would appreciate to use the |
Yup I tend to agree that opening this to anyone is bad as the PECL name carries some implicit trust in the eyes of many. |
👍 To me, what @asgrim, @cmb69, and @Seldaek wrote about, is about perception. Only extensions already hosted in the PHP GitHub organisation should be allowed to use |
Sorry, but I think we need a vendor for extensions maintained by the PHP community, and pecl makes sense. I use "remi" for extensions I've created and I maintain. I don't want to use it for adopted extensions. |
How is this supposed to work in practice? There are more than 80 extensions under https://github.com/php. Are these supposed to be moved to some other namespace in the long run? Who would do this? Which namespace? And what if php-src unbundles further extensions? So far we moved them to a repo under github.com/php; if there was a maintainer, we would likely not have unbundled the extensions. And what about abandoned extensions living elsewhere (I think that @remicollet is concerned about these)? We could move them to github.com/php, but if we can't use the "pecl" namespace for those, we're back to square one. |
I think it's fine to use pecl, or php namespace for those.. But imo it shouldn't be open to anyone and we should only allow php internals members to submit new packages there, or perhaps restricting it to extensions owned by the php github org would be easier? |
Hi,
I started using the pecl vendor name, as I think it makes sense to use it for an extension existing in https://pecl.php.net/, especially when maintained by the PHP group (in https://github.com/php)
I don't really like the idea of using vendor = extension, creating tons of vendors (ex: apcu/apcu)
Sadly, now the pecl vendor is locked
So I think it will be nice to unlock this vendor to allow other extension maintainers to add more.
Perhaps another way exists and may be better.
Open for discussion
The text was updated successfully, but these errors were encountered: