Gitea: Personal repos not being shown? #2491
Replies: 3 comments 35 replies
-
What do you mean by "private" repo? A repo owned by yourself (and not an org) or really a private repo with limited visibility? |
Beta Was this translation helpful? Give feedback.
-
So this has been reported upstream: go-gitea/gitea#27891 I'm closing this one as we can't fix it. |
Beta Was this translation helpful? Give feedback.
-
I meanwhile found out that it's a Gitea pagination issue. I can retrieve the repos via the Gitea UI when applying some pagination. By default, only the first 50 repos seem to be returned. The following issues will explain this: https://gitea.com/gitea/go-sdk/issues/507 Maybe we incorporated the issues with the gitea skd upgrade in #2464. There is no changelog for 0.16 but a lot of commits and some which tackle pagination like https://gitea.com/gitea/go-sdk/pulls/573. Maybe changes are needed in the WP WRT to Gitea pagination. The issue might only appear if a user has access to a lot of repos (e.g. when being the admin of a large instance, like it is the case in the references case of mine). |
Beta Was this translation helpful? Give feedback.
-
Forge: Gitea
So far I only worked with repos in orgs.
I tried to enable a private repo now but it doesn't come up when clicking "add repository" which essentially just invokes
/api/user/repos
AFAIK.I logged in and out again, changed the log level to "debug" but still can't infer why it doesn't show up.
I don't have any restrictions set on the server in
WOODPECKER_ORGS
or similar. And I'd suspect that personal repos should always appear for the respective logged-in user?This is a bit embarrassing but I might be missing something obvious here?
next-baaf8b97e1
Beta Was this translation helpful? Give feedback.
All reactions