Jean-Paul Calderone
e9f68824a1
Merge pull request #1317 from tahoe-lafs/4050-upgrade-dependencies
...
Upgrade some linting dependencies
Fixes: ticket:4050
2023-07-24 10:29:20 -04:00
Jean-Paul Calderone
cc27ab0bfb
Merge pull request #1318 from exarkun/4051.tor-network-fixture-dependency
...
Add "Tor network" dependency to a fixture that needs it
Fixes: ticket:4051
2023-07-22 19:00:44 -04:00
Jean-Paul Calderone
8e7cc91434
news fragment
2023-07-21 12:48:18 -04:00
Jean-Paul Calderone
22991fdd4c
Set up Tor-related fixture dependencies, maybe even properly
2023-07-21 12:47:56 -04:00
Jean-Paul Calderone
91866154d3
expose our cache to anyone who wants it
2023-07-21 11:29:06 -04:00
Jean-Paul Calderone
b4a6a90e9f
more clarifying comments
2023-07-21 11:19:33 -04:00
Jean-Paul Calderone
c350d8b736
slightly reduce repetition by pulling out a mergeAttrs definition
2023-07-21 11:18:37 -04:00
Jean-Paul Calderone
f4949c699a
relock with release/nixos-23.05 change
2023-07-21 11:17:26 -04:00
Itamar Turner-Trauring
4bbde0288e
Upgrade ruff.
2023-07-21 11:10:54 -04:00
Itamar Turner-Trauring
6cc517d1a7
Newer mypy.
2023-07-21 11:04:51 -04:00
Itamar Turner-Trauring
9abc3730a0
Revert "suppress the new click mypy errors", Click 8.1.6 fixed the issue.
...
This reverts commit dfd34cfc0b
.
2023-07-21 11:03:48 -04:00
Jean-Paul Calderone
7e972e4a53
further clarifying comments
2023-07-21 10:24:09 -04:00
Jean-Paul Calderone
d61029c8bb
a few more words about the nixpkgs inputs
2023-07-21 09:54:59 -04:00
Jean-Paul Calderone
10941a02f8
Go with the successfully-built release branch
...
release-XX.YY is the source branch for NixOS Hydra (CI) runs
nixos-XX.YY is updated after a successful release-XX.YY build
2023-07-21 09:42:00 -04:00
Jean-Paul Calderone
4659fcd63d
Merge remote-tracking branch 'origin/master' into 3903.nix-flake.2
2023-07-21 09:37:32 -04:00
Jean-Paul Calderone
8dc86c9870
Merge remote-tracking branch 'origin/master' into 3903.nix-flake.2
2023-07-21 09:33:27 -04:00
Jean-Paul Calderone
8b8903c44f
Merge pull request #1283 from exarkun/clean-up-tor-and-i2p-providers
...
Abstract over some configuration manipulation done by `write_node_config` in `create_node.py`
Fixes: ticket:4004
2023-07-21 09:31:05 -04:00
Itamar Turner-Trauring
a297d6be16
Merge pull request #1316 from exarkun/4049.skip-some-when-superuser
...
Skip some tests when run as superuser
Fixes ticket:4049
2023-07-21 09:30:01 -04:00
Jean-Paul Calderone
60b361df2b
news fragment
2023-07-21 08:41:03 -04:00
Jean-Paul Calderone
feb9643dfe
skip permission-related tests if the environment is not suitable
...
posix superuser can do anything on the filesystem
2023-07-21 08:40:58 -04:00
Jean-Paul Calderone
2d688df299
get the node config types right
2023-07-21 08:19:27 -04:00
Jean-Paul Calderone
02a696d73b
Make merge_config
fail on overlapping configs
...
This isn't expected to happen. If it does it would be nice to see it instead
of silently continue working with some config dropped on the floor.
2023-07-21 08:13:33 -04:00
Jean-Paul Calderone
da43acf52e
more accurate docstring for dictutil.filter
2023-07-20 14:27:50 -04:00
Jean-Paul Calderone
4713573621
test for dictutil.filter
2023-07-20 14:27:30 -04:00
Jean-Paul Calderone
024b5e428a
narrow the type annotation for another Listener method param
2023-07-20 14:23:31 -04:00
Jean-Paul Calderone
57facc6335
narrow the type of cli_config a bit
...
This has unfortunate interactions with the "stdout" attribute but I'm punting
on that.
2023-07-20 14:19:12 -04:00
Jean-Paul Calderone
2c40185ef6
slight simplification
2023-07-20 14:00:55 -04:00
Jean-Paul Calderone
d82ade538c
Use the working tree as the source of allmydata package
2023-07-20 12:42:26 -04:00
Jean-Paul Calderone
3e18301f86
Try to get the version right
2023-07-20 11:54:19 -04:00
Itamar Turner-Trauring
4b9ebe9b9c
Merge pull request #1311 from tahoe-lafs/4040-foolscap-integration-tests
...
Also run Foolscap-only integration tests
Fixes ticket:4040
2023-07-20 11:46:21 -04:00
Itamar Turner-Trauring
f7f30c78b7
Merge pull request #1315 from tahoe-lafs/4046.nurls-are-set
...
Make NURLs a set
Fixes ticket:4046
2023-07-20 11:45:55 -04:00
Jean-Paul Calderone
2091b7ee86
skip permission-related tests if the environment is not suitable
...
posix superuser can do anything on the filesystem
2023-07-20 11:36:30 -04:00
Jean-Paul Calderone
9585925627
abandon user-switching effort
...
su fails with "su: pam_start: error 26"
2023-07-20 11:21:08 -04:00
Jean-Paul Calderone
baadf1fad4
try su to get rid of root
...
sudo fails because it isn't setuid root... I don't know why su would be, but
maybe it is.
2023-07-20 11:12:10 -04:00
Jean-Paul Calderone
90e08314c2
try to shed root privileges
...
We have root on CircleCI in the docker container. We can't currently shed
them before we get inside the flake app because we can't run `nix build` as
non-root inside the nix container. :/
https://github.com/nix-community/docker-nixpkgs/issues/62
2023-07-20 10:58:10 -04:00
Jean-Paul Calderone
08e364bbab
numpy is not supported on python38 anymore
2023-07-20 09:06:05 -04:00
Jean-Paul Calderone
44502b8620
remove unused import
2023-07-19 18:09:10 -04:00
Jean-Paul Calderone
a3f50aa481
bump to the newer nixpkgs branch
2023-07-19 17:29:50 -04:00
Jean-Paul Calderone
ddfd95faff
comment tweak
2023-07-19 14:33:49 -04:00
Jean-Paul Calderone
d85f8d7caf
some more comments on the flake parts
2023-07-19 14:27:28 -04:00
Jean-Paul Calderone
b0397d3d08
Replace default.nix with a compatibility shim
...
This also means we drop our niv dependency
2023-07-19 13:57:55 -04:00
Jean-Paul Calderone
93f2a7a717
refer to non-duplicate ticket
2023-07-19 13:51:47 -04:00
Itamar Turner-Trauring
0431c69cb8
News file.
2023-07-19 13:03:43 -04:00
Itamar Turner-Trauring
8e51643ed3
Test for upgrading from Foolscap to HTTP.
2023-07-19 13:03:24 -04:00
Itamar Turner-Trauring
aa144fc623
Make NURLs a set.
2023-07-19 12:40:07 -04:00
Jean-Paul Calderone
40665d824d
remove unused import
2023-07-19 12:04:16 -04:00
Jean-Paul Calderone
ee8155729d
clean up some type annotations
2023-07-19 12:03:18 -04:00
Jean-Paul Calderone
911b54267b
StaticProviders don't need to change
2023-07-19 11:54:22 -04:00
Jean-Paul Calderone
72c18579e2
another docstring
2023-07-19 11:54:18 -04:00
Jean-Paul Calderone
c1c0b60862
remove hard-coded tor/i2p in hide-ip support
2023-07-19 11:42:38 -04:00