summary refs log tree commit diff stats
path: root/tests (follow)
Commit message (Collapse)AuthorAge
* test(nixos/git-server): Include the start of a test for cgit's README renderingBenedikt Peetz2024-08-13
|
* fix(nixos/git-server): Correctly enable the git config feature of gitoliteBenedikt Peetz2024-08-13
| | | | | | | | The previously set variable is only used in the gitolite.conf file for the `config` specifications on each repo. We can't use that because we use "wild-repos". Thus we need to add the `user-configs` option to each repo, allow users to change the git settings specified there with a simple `ssh git@git.vhack.eu config <repo> --set cgit.owner <name>`.
* test(tests/git-server): Add initial testsBenedikt Peetz2024-08-13
| | | | | | | The last line, testing for the about page rendering is not yet working. I assume that's because of our hand-rolled list-to-string function thingy in the `cgitrc`. After <https://github.com/NixOS/nixpkgs/pull/317293> is merged, this should probably improve immensely.
* test(tests): Init infrastructureBenedikt Peetz2024-08-02
The modules still need to be imported one-by-one in `default.nix` files because we have yet to rewrite this, but the new test infrastructure might as well use the new `fileset` functions from `nixpkgs`.