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

Support publishing packages with repository links #28808

Closed
Renari opened this issue Jan 15, 2024 · 2 comments
Closed

Support publishing packages with repository links #28808

Renari opened this issue Jan 15, 2024 · 2 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@Renari
Copy link

Renari commented Jan 15, 2024

Feature Description

Currently if you follow:
https://docs.gitea.com/usage/packages/maven

It suggests you publish packages to:
https://gitea.example.com/api/packages/{owner}/maven

This publishes packages at the user/org level and does not make an association with the underlying repository, you must go to:
https://gitea.example.com/{owner}/-/packages/maven/{publication-name}/settings

And set the repository link manually, this can become very tedious, I suggest being able to publish to another URL to automatically create these repository links.

https://gitea.example.com/api/packages/{owner}/{repo}/maven

Could create the same publication but automatically create the repo link, thus preventing the manual step.

It looks like Github manages this quite differently than Gitea does:
https://docs.github.com/en/actions/publishing-packages/publishing-java-packages-with-gradle#publishing-packages-to-github-packages

But similarly to the above does have the repo name in the publication endpoint.

Screenshots

No response

@Renari Renari added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Jan 15, 2024
@Renari
Copy link
Author

Renari commented Jan 15, 2024

duplicate of: #21062

@Renari Renari closed this as completed Jan 15, 2024
Copy link

github-actions bot commented Mar 1, 2024

Automatically locked because of our CONTRIBUTING guidelines

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

1 participant