Incomplete list of repositories for gitea (was #103)
Dear @pd4d10, sorry, I don't know how to re-open issue (#103).
- git-touch only fetches the first page (default = 30 repositores) from gitea, see https://try.gitea.io/api/swagger#/user/userCurrentListRepos , how can I access repositories on page 2 etc.?
- for gitea, the number of repositories is only marked with ?
-- with github, it works fine
OK. I'll check it.
The '?' is becuase Gitea has no API to get these counts. It is too expensive to traverse all results and only for getting the length.
Oh, it seems the list API has a x-total-count response header. Probably we could improve it by request only 1 result for getting the length.
git-touch only fetches the first page
After some digging it seems the Gitea API has deprecated x-page and x-hasmore, replaced with x-total-count. But the x-total-count header is still missing in some API, such as https://gitea.com/api/swagger#/user/userListStarred