-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Respect REQUIRE_SIGNIN_VIEW
for packages (#20873)
#21232
Conversation
Fix go-gitea#20863 When REQUIRE_SIGNIN_VIEW = true, even with public repositories, you can only see them after you login. The packages should not be accessed without login. Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
go lint failure |
For files not touched by this PR. Could your restart the build? |
I think the reason is that the Go 1.19 has different |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM while the lint failure should be fixed in another PR (when using Go 1.19.x fmt, more than 10 files will be changed)
Go 1.19 fmt fix: |
Backport of #20873