-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
On hooks tries to execute folders in ${hookname}.d #10954
Comments
bazilek
changed the title
On hooks tries to executed folders in ${hookname}.d
On hooks tries to execute folders in ${hookname}.d
Apr 4, 2020
bazilek
added a commit
to bazilek/gitea
that referenced
this issue
Apr 4, 2020
* test -x is not enough https://stackoverflow.com/a/39489087
We probably shouldn't try and run a directory (!) but also a script in general shouldn't be creating folders or other files inside of update.d either since the only purpose of that folder is "execute anything that is put in here as a hook" I believe you can either run python with -B flag or set |
jolheiser
pushed a commit
that referenced
this issue
Apr 4, 2020
* test -x is not enough https://stackoverflow.com/a/39489087
Closed by #10955 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[x]
):remote: hooks/update: line 8: ./hooks/update.d/__pycache__: Is a directory
Description
Face the issue when managing hooks in python.
Screenshots
The text was updated successfully, but these errors were encountered: