-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
gitea doctor --run hooks produces warnings on windows #20636
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
Comments
lunny
added a commit
that referenced
this issue
Aug 4, 2022
* Executable check always returns true for windows Windows doesn't have the concept of "executable" POSIX bits so for now always return true to minimise doctor and logging noise. Addresses #20636 * gofmt tweak * Update modules/repository/hooks.go Co-authored-by: silverwind <[email protected]> * gofmt comment line Co-authored-by: silverwind <[email protected]> Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: Lauris BH <[email protected]>
vsysoev
pushed a commit
to IntegraSDL/gitea
that referenced
this issue
Aug 10, 2022
* Executable check always returns true for windows Windows doesn't have the concept of "executable" POSIX bits so for now always return true to minimise doctor and logging noise. Addresses go-gitea#20636 * gofmt tweak * Update modules/repository/hooks.go Co-authored-by: silverwind <[email protected]> * gofmt comment line Co-authored-by: silverwind <[email protected]> Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Wait for backport |
zeripath
pushed a commit
to zeripath/gitea
that referenced
this issue
Aug 17, 2022
Backport go-gitea#20637 Windows doesn't have the concept of "executable" POSIX bits so for now always return true to minimise doctor and logging noise. Addresses go-gitea#20636 Co-authored-by: silverwind <[email protected]>
zeripath
added a commit
that referenced
this issue
Aug 17, 2022
Backport #20637 Windows doesn't have the concept of "executable" POSIX bits so for now always return true to minimise doctor and logging noise. Addresses #20636 Co-authored-by: silverwind <[email protected]> Co-authored-by: JonRB <[email protected]> Co-authored-by: silverwind <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
if gitea doctor --run hooks (or --all) is run on a windows system, the script check fails when testing if the script is executable. This check does not make sense on windows as it stands
Gitea Version
1.17
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
windows
How are you running Gitea?
service
Database
MySQL
The text was updated successfully, but these errors were encountered: