Closed
Description
- Gitea version (or commit ref): c5887b0
- Git version: 2.9.3
- Operating system: Ubuntu 16.10
- Database (use
[x]
):- PostgreSQL
- MySQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
Description
Take a look at https://try.gitea.io/api/v1/repos/search?q=gitea
- Many attributes are returning the zero value:
name
is always""
. (full_name
is OK)description
,html_url
,clone_url
,default_branch
andwebsite
also always""
stars_count
,forks_count
,watchers_count
,open_issues_count
always0
created_at
andupdated_at
always0001-01-01T00:00:00Z
fork
andprivate
alwaysfalse
Also:
- Private repos are not being showed. Should be showed if the user has access to it, or at least if they is the owner.
- Missing
mirror
attribute, to know if repo is a mirror.