Re: [PECL-DEV] Can't upload release
[email protected] ("Christoph M. Becker") Fri, 4 Oct 2024 00:12:20 +0200
| Newsgroups | php.pecl.dev |
|---|---|
| Message-ID | <[email protected]> |
On 02.10.2024 at 08:52, Simon Holywell wrote: > Thank you for the information. I have tried all sorts of variations of > files, but I cannot get past that particular check in the release upload > process. I can see in the pecl-web code that you linked that user handle= s > in the package.xml files are lowercased when they are read in from the > package.xml file. I am not sure why it is not detecting my handle in the > file as the one that is marked lead on the website already. > > Unfortunately, the error message does not include the values so it is > impossible to know what has actually been read from the file or what is = in > the database of the pecl website. That's bad, but it might not make much sense to improve the code, since PIE[1] is already work in progress, and likely will replace the PECL site (as I understand it). > I have run out of time for debugging it further, but might get back to i= t > at a later date. Thank you for trying! It is most unfortunate that such issues occur; I don't know how to help. I assume you already ran `pecl package-validate` on the package. [1] <https://github.com/php/pie> Cheers, Christoph > On Sat, 28 Sept 2024 at 00:56, Christoph M. Becker <[email protected]> > wrote: > >> Hi Simon! >> >> On 27.09.2024 at 09:31, Simon Holywell wrote: >> >>> I am doing something wrong, but I have no idea what. The Upload Releas= e ( >>> https://pecl.php.net/release-upload.php) form is throwing an error whe= n >> I >>> am attempting to push a new .tgz file. >>> >>> ERROR: >>> You can not delete your own maintainer role or you will not be able to >>> complete the update process. Set your name in package.xml or let the n= ew >>> lead developer upload the new release >>> >>> I am listed in the package.xml as <lead> so I don't get why this form = is >>> complaining. The package.xml is using package2.xml formatting: >>> https://github.com/php/pecl-text-ssdeep/blob/master/package.xml >> >> Maybe you need to spell the <user> in all lower-case? >> >>> I assume there is something I am doing wrong here, but the file valida= tes >>> fine. >>> >>> Also, if I click the Edit Maintainers link ( >>> https://pecl.php.net/admin/package-maintainers.php?pid=3D888) on the >> package >>> page on the PECL website it says >>> >>> ERROR: >>> Only the lead maintainer of the package or PECL administrators can edi= t >> the >>> maintainers. >>> >>> I dunno if that means anything too. >> >> Me neither. Possibly it has the same root cause as the first issue (th= e >> user name is capitalized in the package.xml of the latest release); >> maybe it is because in the latest release there is also a package2.xml. >> Or maybe something is broken on the Website. If you want to have a >> look, see <https://github.com/php/web-pecl>. >> >> Cheers, >> Christoph >> >> >