about summary refs log tree commit diff
path: root/modules/default.nix (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-05-28fix(cgit): ensure permissions are set correctlyFranck Cuny1-0/+2
Change-Id: I65efa49a904ab1885bd72566e450b6678be6aa21 Reviewed-on: https://cl.fcuny.net/c/world/+/123 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-05-28fix(cgit): define the list of repos prior to scan pathFranck Cuny1-2/+2
From the documentation for `project-list`: A list of subdirectories inside of scan-path, relative to it, that should loaded as git repositories. This must be defined prior to scan-path Change-Id: Iab176a800e8ff0abd515a525d89ef524ba6ab097 Reviewed-on: https://cl.fcuny.net/c/world/+/122 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-05-28fix(cgit): generate a proper list of repositoriesFranck Cuny1-1/+3
The logic was previously incorrect. If a repository becomes hidden in gerrit, it will not be removed from the list. Instead, we create a temporary file which we use to dump the new list and then move it over the current list. Change-Id: I990588ac98ad4024ba144c4c76ad7e4ae27202bc Reviewed-on: https://cl.fcuny.net/c/world/+/121 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-05-28feat(gerrit): link to cgitFranck Cuny1-0/+14
Configure gitweb to link to our cgit instance Change-Id: I55cb96e7199bf2636a30689b277978008d6605eb Reviewed-on: https://cl.fcuny.net/c/world/+/88 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-05-28feat(cgit): generate the list of projects from gerritFranck Cuny1-4/+35
Query the gerrit API to get the list of active projects, and generate the list of repositories from it. This run every 10 minutes as a systemd timer. Change-Id: I016a6d748597ff4d03af893e0a95b96830bdb3f7 Reviewed-on: https://cl.fcuny.net/c/world/+/87 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-05-28feat(cgit): set the clone URL to gerritFranck Cuny1-0/+1
Change-Id: I2328abdbd369358e59747a220fe1e57edd8c5126 Reviewed-on: https://cl.fcuny.net/c/world/+/86 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-05-28feat(cgit): support org mode files for READMEFranck Cuny1-0/+2