-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Rest API, doesnt show releases of Migrated Repository #6251
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
Comments
There is a difference between releases and tags. Note in your screenshot how the new release you created looks different from the imported tags. |
just like on github the releases tab includes tags as well as releases. |
Thanks for the quick reply, so to summerize: |
[x]
):Description
If I create a repository via the migration tool releases dont show up in the rest response.
Steps to reproduce:
click on "+" "new migration"
enter https://github.com/go-gitea/gitea into "clone url"
query the rest interface via bash (or swagger)
token=xxx
usern=xxx
server=server .name
curl -X GET "https://$server/api/v1/repos/$user/gitea/releases?access_token=$token" -H "accept: application/json"
No migrated releases are shown, if you create a new release in this this repository the rest api returns a result, but the migrated ones are still missing.
Screenshots
The text was updated successfully, but these errors were encountered: