Composer package registry "dev-main"/"dev-master" package version #9432

Open
opened 2025-11-02 08:38:36 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @faulkj on GitHub (Aug 20, 2022).

Feature Description

The built-in Composer package registry needs the automatically generated "dev-main"/"dev-master" version that points to the current main/master/[whatever we choose to call it] branch of a repository like we get on Packagist:

2022-08-19_21-01-38

Screenshots

No response

Originally created by @faulkj on GitHub (Aug 20, 2022). ### Feature Description The built-in Composer package registry needs the automatically generated "dev-main"/"dev-master" version that points to the current main/master/[whatever we choose to call it] branch of a repository like we get on Packagist: ![2022-08-19_21-01-38](https://user-images.githubusercontent.com/3419720/185728398-c9db81cd-60e2-454a-b5b9-ca978a3ef24f.png) ### Screenshots _No response_
GiteaMirror added the topic/packagestype/proposaltype/feature labels 2025-11-02 08:38:36 -06:00
Author
Owner

@KN4CK3R commented on GitHub (Aug 20, 2022):

The packages in the registry don't have a link to a repository. They are just uploaded archives with the source code.

@KN4CK3R commented on GitHub (Aug 20, 2022): The packages in the registry don't have a link to a repository. They are just uploaded archives with the source code.
Author
Owner

@morvy commented on GitHub (Jan 16, 2024):

A bit older question, but is this not supported yet? I have a package that I version with semver and that works fine, if I don't push tag, it fallbacks to version=dev-main, but putting the package to composer?version=dev-main or even "dev" will fail with error {"status":400,"message":"package version is invalid"}

@morvy commented on GitHub (Jan 16, 2024): A bit older question, but is this not supported yet? I have a package that I version with semver and that works fine, if I don't push tag, it fallbacks to version=dev-main, but putting the package to composer?version=dev-main or even "dev" will fail with error `{"status":400,"message":"package version is invalid"}`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9432