Commit graph

10 commits

Author SHA1 Message Date
Sizhe Zhao
f34483be5e
nixosTests: handleTest -> runTest, batch 1
Reference: https://github.com/NixOS/nixpkgs/issues/386873
2025-05-26 20:40:17 +08:00
Julien Moutinho
f2a5463bf2 nixos/public-inbox: cleanup test 2025-01-26 15:06:05 +01:00
Julien Moutinho
bbb68bef2e nixos/public-inbox: test confinement 2025-01-26 15:06:05 +01:00
Julien Moutinho
eb00bbcdaa nixos/public-inbox: fix flaky test by waiting for sockets 2025-01-21 13:50:45 +01:00
Julien Moutinho
3c07862664 nixos/public-inbox: fix test by creating Git repositories
Previously in https://github.com/NixOS/nixpkgs/pull/308740
`BindReadOnlyPaths=` was fixed, but remained mounting non-existing Git repositories:

vm-test-run-public-inbox> machine # [   19.503051] (ox-httpd)[1489]:
public-inbox-httpd.service: Failed to set up mount namespacing:
/var/lib/gitolite/repositories/user/repo1.git: No such file or directory
2025-01-21 13:50:45 +01: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
Alyssa Ross
c2730b96dc public-inbox: add xapian to PATH
Some public-inbox programs run xapian-compact, so we need to make sure
it's in PATH.
2023-06-20 16:58:47 +00:00
Julien Moutinho
50301d73e9 public-inbox: 1.8.0 -> 1.9.0
Co-authored-by: Alyssa Ross <hi@alyssa.is>
2023-06-04 13:09:28 +00:00
Alyssa Ross
ad31856bd9
nixosTests.public-inbox: extend sleep
5 seconds isn't reliably enough here on my system.
2023-05-28 16:40:13 +00:00
Julien Moutinho
0e290442ba nixos/public-inbox: add tests 2022-05-12 01:56:16 +02:00