summaryrefslogtreecommitdiffstats
path: root/gitolite/dotfiles/.gitolite.rc (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-09-15gitolite: Correct site-local code locationMalfurious1-2/+2
Per the previous commit, site-local code is now to be located directly in the git user's home directory, as static content in the docker image. Correct this setting in the RC file. Signed-off-by: Malfurious <m@lfurio.us>
2023-09-15gitolite: Consolidate config files into a single directoryMalfurious1-0/+0
The repository is being reworked to decouple its roles as normalmode source and gitolite-admin config. The gitolite-admin repository will be entirely separate. So there is no need to keep the conf or local directories around where they are at. Signed-off-by: Malfurious <m@lfurio.us>
2022-08-18gitolite: Set default branch on first pushMalfurious1-1/+5
The non-core feature 'symbolic-ref' that ships with gitolite opens a bigger hole than I would intend to (in the form of allowing arbitrary git-symbolic-ref commands to be executed). As an alternative, a post-git gitolite trigger is added. Its only purpose at the moment is to check on the state of HEAD following any pushes. Under normal circumstances, HEAD will point to a valid branch, or on a first push, the master branch will be provided, validating HEAD. If after the first push, there is no branch called master, we assume the creator wishes to use another name for the default branch, and so will update the ref if doing so is unambiguous (there is only one other branch). If multiple non-master branches are present in this case, a warning is issued, and HEAD is left invalid, awaiting a later push to master. This _should_ only be an issue for the first push. Once HEAD refers to a valid branch (of any name), this action is bypassed going forward. Signed-off-by: Malfurious <m@lfurio.us>
2022-08-07gitolite: Save repository owner for front-endMalfurious1-1/+1
cgit is unable to resolve the owner of repositories, since they are all owned by the same unix user account. By adopting this gitweb-specific config key, we can communicate the end-user name via git-config. Signed-off-by: Malfurious <m@lfurio.us>
2022-08-06Fix datastore permissionsMalfurious1-1/+1
For compatibility with the front-end docker image, ensure git repositories (and their parent directories) have mode 0755, aka: go+rx. Signed-off-by: Malfurious <m@lfurio.us>
2022-08-02Disable the 'writable' commandMalfurious1-1/+1
Signed-off-by: Malfurious <m@lfurio.us>
2022-08-02Allow users to delete wildcard repositoriesMalfurious1-1/+1
Signed-off-by: Malfurious <m@lfurio.us>
2022-08-02Define custom access levelsMalfurious1-2/+2
Signed-off-by: Malfurious <m@lfurio.us>
2022-08-02Replace git-daemon/gitweb presets with cgitMalfurious1-3/+3
Signed-off-by: Malfurious <m@lfurio.us>
2022-08-02Add default gitolite RC fileMalfurious1-0/+202
Signed-off-by: Malfurious <m@lfurio.us>