Commit Graph

15361 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
e67ef7ad16
Merge pull request #1323 from tahoe-lafs/4052.more-type-checking-gbs
More type check for http storage server

Fixes ticket:4052
2023-08-02 14:34:08 -04:00
Jean-Paul Calderone
a648708033
Merge pull request #1325 from exarkun/4055.await_client_ready
Fix the minimum-live-servers condition in `await_client_ready`

Fixes: ticket:4055
2023-08-01 20:14:24 -04:00
Jean-Paul Calderone
b8ee7a4e98 news fragment 2023-08-01 16:03:47 -04:00
Jean-Paul Calderone
9d670e54e2 Get the liveness filter condition right 2023-08-01 16:03:43 -04:00
Jean-Paul Calderone
871df0b1b4 Dump some more details about what we're waiting for 2023-08-01 16:03:39 -04:00
Jean-Paul Calderone
a0b78a134e Leave a hint about what successful "bootstrap" looks like 2023-08-01 16:03:35 -04:00
Jean-Paul Calderone
14ebeba07d avoid re-computing the current time inside this loop
It could lead to funny behavior if we cross a boundary at just the wrong
time.  Also the debug print could be misleading in such a case.
2023-08-01 16:03:29 -04:00
Itamar Turner-Trauring
009f063067 Stricter type checking 2023-08-01 15:35:18 -04:00
Itamar Turner-Trauring
e545ab4a80 More accurate type 2023-08-01 15:31:38 -04:00
Itamar Turner-Trauring
c055c8e508
Merge pull request #1321 from tahoe-lafs/4039.document-gbs
Minimal GBS documentation

Fixes ticket:4039
2023-08-01 10:57:10 -04:00
Itamar Turner-Trauring
3b66afbdea Be consistent with HTTPS 2023-08-01 10:56:52 -04:00
Itamar Turner-Trauring
7485f4f2f0
Merge pull request #1320 from tahoe-lafs/4042-sync-gbs-spec
Sync GBS spec to code a bit more

Fixes ticket:4042
2023-08-01 10:56:10 -04:00
Itamar Turner-Trauring
341a32708b Docstring. 2023-08-01 10:55:45 -04:00
Itamar Turner-Trauring
ffe2e97739 Better phrasing 2023-08-01 10:54:46 -04:00
Jean-Paul Calderone
269a1a0647
Merge pull request #1309 from exarkun/3903.nix-flake.2
Add a Nix flake

Fixes: ticket:3903
2023-08-01 09:55:30 -04:00
Itamar Turner-Trauring
176fac7360 Work in Python 3.8. 2023-07-28 14:20:05 -04:00
Itamar Turner-Trauring
f8e9631f53 News fragment. 2023-07-28 13:49:21 -04:00
Itamar Turner-Trauring
00b7e7e178 More type annotations. 2023-07-28 13:48:43 -04:00
Itamar Turner-Trauring
0d0e32646f More type annotations. 2023-07-28 13:42:00 -04:00
Itamar Turner-Trauring
d669099a35 Add more type annotations. 2023-07-28 13:31:53 -04:00
Itamar Turner-Trauring
919e6b339d Add type annotation to _authorized_route 2023-07-28 13:19:53 -04:00
Itamar Turner-Trauring
2b7f3d1707 Add type annotations to _authorization_decorator. 2023-07-28 11:28:13 -04:00
Itamar Turner-Trauring
849f4ed2a5 More annotations. 2023-07-28 11:14:09 -04:00
Itamar Turner-Trauring
15df1a52ff Minimal HTTPS documentation. 2023-07-26 13:39:49 -04:00
Itamar Turner-Trauring
792af1c918 News fragment 2023-07-25 15:32:30 -04:00
Itamar Turner-Trauring
7bac6996d1 Updates based on changing specs. 2023-07-25 15:32:14 -04:00
Itamar Turner-Trauring
46d10a6281 Ensure and test (and necessary refactor) that lack of content-type is same as
CBOR content-type, as per spec.
2023-07-25 15:31:30 -04:00
Itamar Turner-Trauring
bf2451bbcd Correct type. 2023-07-25 15:31:18 -04:00
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