Skip to content

[API] /repos/{owner}/{repo} doesn't return number of releases, but number of tags #16144

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

Closed
1 of 6 tasks
qwerty287 opened this issue Jun 13, 2021 · 0 comments · Fixed by #16184
Closed
1 of 6 tasks

[API] /repos/{owner}/{repo} doesn't return number of releases, but number of tags #16144

qwerty287 opened this issue Jun 13, 2021 · 0 comments · Fixed by #16184
Labels
modifies/api This PR adds API routes or modifies them type/bug

Comments

@qwerty287
Copy link
Contributor

qwerty287 commented Jun 13, 2021

  • Gitea version (or commit ref): 1.14.2
  • Git version: not relevant
  • Operating system: not relevant
  • Database (use [x]): not relevant
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist: none

Description

The API/JSON has an attribute releases_count, but this doesn't return the number of releases, but the number of tags.

Screenshots

none

See https://codeberg.org/gitnex/GitNex/issues/935 for more details

@lunny lunny added the type/bug label Jun 14, 2021
@6543 6543 added the modifies/api This PR adds API routes or modifies them label Jun 17, 2021
6543 added a commit to 6543-forks/gitea that referenced this issue Jun 17, 2021
6543 added a commit that referenced this issue Jun 17, 2021
* Repository object only count releases as releases (fix #16144)

* EditOrg respect RepoAdminChangeTeamAccess option (fix #16013)
6543 added a commit to 6543-forks/gitea that referenced this issue Jun 17, 2021
* Repository object only count releases as releases (fix go-gitea#16144)

* EditOrg respect RepoAdminChangeTeamAccess option (fix go-gitea#16013)
lunny pushed a commit that referenced this issue Jun 18, 2021
* Fix some API bugs (#16184)

* Repository object only count releases as releases (fix #16144)

* EditOrg respect RepoAdminChangeTeamAccess option (fix #16013)

* adjut to v1.14
AbdulrhmnGhanem pushed a commit to kitspace/gitea that referenced this issue Aug 10, 2021
* Repository object only count releases as releases (fix go-gitea#16144)

* EditOrg respect RepoAdminChangeTeamAccess option (fix go-gitea#16013)
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
modifies/api This PR adds API routes or modifies them type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants