Re: [PECL-DEV] Can't upload release

[email protected] ("Christoph M. Becker") Fri, 27 Sep 2024 16:56:03 +0200
Newsgroups php.pecl.dev
Message-ID <[email protected]>
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 Release =
(
> https://pecl.php.net/release-upload.php) form is throwing an error when =
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 new
> 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 validate=
s
> fine.
>
> Also, if I click the Edit Maintainers link (
> https://pecl.php.net/admin/package-maintainers.php?pid=3D888) on the pac=
kage
> page on the PECL website it says
>
> ERROR:
> Only the lead maintainer of the package or PECL administrators can edit =
the
> maintainers.
>
> I dunno if that means anything too.

Me neither.  Possibly it has the same root cause as the first issue (the
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