nix: Add PATH of vcsserver derivation to wrapping of other executables.
The other executables like pserve or gunicorn need the same path as
the vcsserver command uses. Otherwise they e.g. find different versions
of git. System git versus custom git in nix-store.
nix: Removed comment hack to fix syntax highlighting.
Previously the syntax higlighting of nix-mode in emacs/spacemacs
had a bug which leads to wrong highlighting in case of '/*' in multi
line strings. This bug is fixed and this hack therefore no longer
required.
http: Add error handling for the repo-locked exception. Part of #4237
Previously the repo locekd exception was raised on return
of the call to the hooks daemon and propagates all the
way up to the WSGI server (e.g. waitress). In case of
locked repos we want to return a custom response which
contains an explanation for the user that the repo is
locked and who has locked it.
config: synced changes with latest template changes in control.
- moved server:main section into beginning of the file to reflect
the same structure as enterprise is using.
- synced example gunicorn config to use vcsserver.ini