Skip to content
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

Optional parameters to add the source tag in the composer package json #55

Closed
fghamsary opened this issue Nov 24, 2019 · 0 comments
Closed

Comments

@fghamsary
Copy link
Contributor

With the PUT command via HTTP it is possible to send the zip file only, and the "dist" tag is generated automatically.
But here is a "source" tag which can be added as well, which should be supported via the "PUT" command in my opinion.
This will permit people to use the meta data via PUT command as a multi-part value to send the URL, type and the reference for the source code as well.
This will add the "source" tag automatically to the attributes of the package and will provide these fields via packages.json endpoint which is great for knowing the version corresponding in the composer repository is which version in the source control such as git with the reference tag.
I've implemented this feature for our own usage, but it might be a good idea to integrate it for other people as well.

I'll add a Pull Request for this feature shortly.
Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant