sonatype-nexus-community / nexus-repository-composer

Composer support for the Nexus Repository Manager (work in progress!)
Eclipse Public License 1.0
211 stars 82 forks source link

Fix bug with "Allow once" write permissions #137

Closed darkdarin closed 9 months ago

darkdarin commented 1 year ago

This pull request makes the following changes:

If you set the write permissions to "Allow once" in the composer hosted repository settings, then when you try to upload a new version of the package, this version cannot be used afterwards, since the zip archive with the new version is successfully created, but information about the new version is not written to json meta. This bug is reproduced after adding support for composer v2.

darkdarin commented 1 year ago

Hello. Can you see the PR? Something went wrong in CI and the required check statuses were not updated.