- Gitea version: 1.12.3
- Git version: 2.7.4
- Operating system: Ubuntu 16.04 (xenial) LTS
- Database (use
[x]):
- Can you reproduce the bug at https://try.gitea.io:
Description
If you use the /repos/{owner}/{repo}/topics/{topic} API route to add a topic to a repository it will not be displayed on the explore page, but will show up properly on the repository page.
Steps to reproduce
- Go to the API route on your Gitea installation (
/api/swagger)
- Click the Authorize button and provide some form of authentication (if the repository is private)
- Expand the "Add a topic to a repository" section (under the "Repository" heading)
- Click the "Try it out" button, fill in the fields, and click "Execute"
- Go to the explore page and find the repository that you have added a topic to (notice that the topic is not displayed)
- Click on the repository to go to its repository page (notice that the topics were added successfully)
Screenshots


[x]):Description
If you use the
/repos/{owner}/{repo}/topics/{topic}API route to add a topic to a repository it will not be displayed on the explore page, but will show up properly on the repository page.Steps to reproduce
/api/swagger)Screenshots