-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
Github repository list empty #1582
Comments
I did a completely from-scratch install, with a new domain, and new oauth, and I can confirm this is an issue. Edit: I've also verified that the gitea integration is working correctly, the repos do get synced. |
Any updates on this? We'd really like to switch from drone to woodpecker for Lemmy, but this is a blocker. |
hmm it could be that github do limit the api requests ... |
@dessalines you could try read more at #625 |
Tried both that, and false, still empty. It has a green popup that says repository list empty, and the logs contain nothing. |
Any other possible solutions? We'd really like to switch to woodpecker for lemmy. |
@dessalines Could you try the next version of Woodpecker? |
Broken on both It says "Repository list loaded" in a green toast, yet nothing is loaded. Edit: Sorry, the logs I posted before were from the agent, not the server. The server has nothing in its logs. |
Same results here, neither |
I'm also having the same issue. It's easily replicated in development by creating a new token w/ a new database. The Sync repositories all works fine with the if owned {
sess = sess.And(builder.Eq{"perms.perm_push": true}.Or(builder.Eq{"perms.perm_admin": true}))
} If you use the work around Pretty sure it's just a logical issue here:
This PR will fix the issue, but I'm not sure if that's the expected behavior? |
Closes #1582 When `WOODPECKER_FLAT_PERMISSIONS=true` workaround is applied all permissions are set to false (default) and query never returns any matches. This fixes it by always assigning Pull/Push/Admin to true when flatPermissions is enabled.
It worked on |
I run into the same problem here, and with the |
Component
server
Describe the bug
I'm trying to set up woodpecker. I finally got oauth working, and logged in with my personal user.
The repo list shows as empty.
I click
Add Repository
, thenReload repositories
, and after 10 seconds, it saysRepository list loaded
... yet the list is still empty.I've tried changing many of the vars below, all with no luck.
The oauth is most likely working fine, so I don't know why it can't load my repo list.
System Info
`{"source":"https://github.com/woodpecker-ci/woodpecker","version":"0.15.6"}`
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: