nixos/gitea: fix pre start script#41218
Merged
joachifm merged 1 commit intoNixOS:masterfrom May 31, 2018
Merged
Conversation
The hooks directory contains now one level deep subdirectories which need to be updated as well. If you use gitea via ssh, ~/.ssh/authorized_keys also needs to be updated because of the hardcoded path to gitea in the "command" option.
Contributor
|
cc @etu |
etu
approved these changes
May 30, 2018
Contributor
etu
left a comment
There was a problem hiding this comment.
This is something I've been thinking of looking into but haven't got around to and also the main reason for me not having auto-updates enabled on my gitea box.
It looks reasonable and paths and regexes seems to work as expected.
Contributor
|
Thank you |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for this change
The hooks directory contains now one level deep subdirectories which need to be updated as well.
If you use gitea via ssh,
~/.ssh/authorized_keysalso needs to be updated because of the hardcoded path to gitea in the "command" option.Things done
build-use-sandboxinnix.confon non-NixOS)nix-shell -p nox --run "nox-review wip"./result/bin/)