Commit graph

15 commits

Author SHA1 Message Date
Marcin Serwin
fa148f9b48
nixos/sourcehut: adapt to new versions 2025-05-13 19:53:32 +02:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Lukas Werling
39c64aad21 nixosTests.sourcehut: regenerate expired PGP key
The previous key expired in June, making the test now fail. Replace it
with a new key that doesn't expire.
2024-08-05 23:22:27 +02:00
Tomas Antonio Lopez
1c2a4b971e srht-gen-oauth-tok: init at 0.1
Promote the srht-gen-oauth-tok package to a Nixpkgs package.
2024-02-07 03:05:04 +01:00
Tomas Antonio Lopez
147cc4061e nixos/sourcehut: ensure that the repos directory exists
Fixes a bug where, if the OpenSSH server starts before the first initialization
of the git service, the SSH service fails to find the corresponding bind mount
and terminates with a 226/NAMESPACE error.
2024-01-04 00:00:32 +01:00
Tomas Antonio Lopez
195cbfc012 nixosTests.sourcehut: split tests belonging to different services 2023-12-25 03:49:11 +01:00
Tomas Antonio Lopez
2382d423f4 nixosTests.sourcehut: factor-out node configuration 2023-12-25 03:22:11 +01:00
Tomas Antonio Lopez
6eb86e3c19 nixosTests.sourcehut: refactor script to use subtests 2023-12-20 02:57:38 +01:00
Tomas Antonio Lopez
262cb39d4f nixosTests.sourcehut: add myself as maintainer 2023-12-20 02:39:32 +01:00
Tomas Antonio Lopez
8f6a342064 nixosTests.sourcehut: test repository download 2023-12-20 02:32:06 +01:00
Tomas Antonio Lopez
7d7cc717eb nixosTests.sourcehut: test pushing Git repositories 2023-12-19 01:54:46 +01:00
Tomas Antonio Lopez
effb6bd756 nixosTests.sourcehut: configure Hut for direct API interaction 2023-12-19 01:43:19 +01:00
Tomas Antonio Lopez
89278c9846 nixosTests.sourcehut: run tests within a production environment 2023-12-01 00:31:37 +01:00
Tomas Antonio Lopez
33c13e9e4d nixosTests.sourcehut: listen on port 80, as well 2023-12-01 00:31:37 +01:00
Tomas Antonio Lopez
3943aa57c0 nixosTests.sourcehut: test user creation and OAuth token generation 2023-12-01 00:31:17 +01:00