Commit Graph

14824 Commits

Author SHA1 Message Date
Jean-Paul Calderone
b27946c3c6 trim overlong section marker 2023-03-21 10:39:58 -04:00
Jean-Paul Calderone
369d26f0f8 There is a limit to the size of the corruption report a server must accept 2023-03-21 10:39:58 -04:00
Jean-Paul Calderone
8645462f4e Base64 encode the swissnum
Typically swissnums themselves are base32 encoded but there's no requirement
that this is the case.  Base64 encoding in the header ensures we can represent
whatever the value was.
2023-03-21 10:39:58 -04:00
Jean-Paul Calderone
48a2d4d31d `Authorization` is the right header field 2023-03-21 10:39:58 -04:00
Jean-Paul Calderone
98a3691891 Add more CDDL to the spec; remove some server version flags from it 2023-03-21 10:39:58 -04:00
Jean-Paul Calderone
7b20738308 some more edits 2023-03-21 10:39:58 -04:00
Jean-Paul Calderone
a8832b11b6 Start adapting language to narrow down possible interpretations 2023-03-21 10:39:58 -04:00
Itamar Turner-Trauring
f12b78e199
Merge pull request #1271 from tahoe-lafs/3988-failing-test-http
Fix failing integration test

Fixes ticket:3988
2023-03-21 09:43:45 -04:00
Itamar Turner-Trauring
23b977a4b1 Undo unnecessary imports. 2023-03-20 15:27:16 -04:00
Itamar Turner-Trauring
815066c4de Just use the utility. 2023-03-20 15:25:52 -04:00
Itamar Turner-Trauring
cce5d3adff Don't actually need this. 2023-03-20 15:24:10 -04:00
Itamar Turner-Trauring
ded5b20924 Lint fix. 2023-03-20 15:20:39 -04:00
Itamar Turner-Trauring
aba60d2719 Run blocking tests in a thread. 2023-03-20 15:14:01 -04:00
Itamar Turner-Trauring
61d9d82c55 Make await_client_ready() non-blocking. 2023-03-20 15:02:35 -04:00
Itamar Turner-Trauring
ab300c090a Merge remote-tracking branch 'origin/master' into 3988-failing-test-http 2023-03-20 14:31:44 -04:00
Jean-Paul Calderone
2dfabf796f
Merge pull request #1270 from exarkun/3989.drop-tenacity-dep
Fixes: ticket:3989
2023-03-20 08:59:42 -04:00
Jean-Paul Calderone
6a4346587c Fix the type annotations 2023-03-17 15:46:27 -04:00
Jean-Paul Calderone
5cf892b441 Also remove it from the Nix packaging 2023-03-17 15:32:13 -04:00
Jean-Paul Calderone
a9f3465568 news fragment 2023-03-17 15:31:07 -04:00
Jean-Paul Calderone
a3ebd21b25 implement retry ourselves, don't depend on tenacity 2023-03-17 15:30:14 -04:00
Itamar Turner-Trauring
a24e6bd7f9 Try to rewrite test_get_put.py::test_large_file into system-style test. 2023-03-16 16:31:28 -04:00
Jean-Paul Calderone
8431bbff67
Merge pull request #1261 from danielzwlee/3970.type-annotations-clean
Fixes: ticket:3970
2023-03-16 08:26:01 -04:00
Jean-Paul Calderone
e033f25d0a
Merge pull request #1267 from exarkun/replace-mach-nix
Fixes: ticket:3987
2023-03-15 18:08:48 -04:00
Jean-Paul Calderone
2a8867f6cf more packaging instructions 2023-03-15 15:47:43 -04:00
Jean-Paul Calderone
aaaec9a69d package update instructions 2023-03-15 15:42:52 -04:00
Jean-Paul Calderone
b665240523 Merge remote-tracking branch 'origin/master' into replace-mach-nix 2023-03-15 15:33:03 -04:00
Jean-Paul Calderone
324a5ba397 give the reader a hint about the interpretation of ./. 2023-03-14 20:40:08 -04:00
Jean-Paul Calderone
505032d0ca a note about what this is and what's going on upstream 2023-03-14 20:38:46 -04:00
danielzwlee
2e2bbc1bcf Sync branch with master and resolve merge conflicts
:#	new file:   src/allmydata/util/cputhreadpool.py
2023-03-14 14:49:01 -05:00
Itamar Turner-Trauring
c97e07dc63
Merge pull request #1263 from tahoe-lafs/3959-more-end-to-end-tests
More end to end tests

Fixes ticket:3959
2023-03-14 11:31:41 -04:00
Jean-Paul Calderone
10414e80ed Remove some unnecessary hierarchy
I thought `default.nix` was handled specially for the purposes of automatic
parameter population but it isn't.  Instead, you just need this `args@{...}`
pattern.
2023-03-14 10:25:02 -04:00
Jean-Paul Calderone
ff50bfe5c4 Accept all the arguments default.nix accepts, too 2023-03-14 10:19:49 -04:00
Jean-Paul Calderone
ea5928ce53 news fragment 2023-03-14 10:19:27 -04:00
Itamar Turner-Trauring
d7018905b9 Switch away from using stdin, it's flaky on Windows. 2023-03-14 09:57:29 -04:00
Jean-Paul Calderone
d648592a87 get the helper ... 2023-03-13 19:43:16 -04:00
Jean-Paul Calderone
99559638b9 remove some repetition in the package definition 2023-03-13 19:03:26 -04:00
Jean-Paul Calderone
6e6fc2d307 The Nix test expression includes a package build, so just do that 2023-03-13 19:02:54 -04:00
dlee
1c926aeb86 Add space to return type 2023-03-13 16:23:28 -05:00
Jean-Paul Calderone
1b9936bd1b get lib :/ 2023-03-13 17:10:29 -04:00
Jean-Paul Calderone
0d11c6c076 package metadata 2023-03-13 17:06:06 -04:00
Jean-Paul Calderone
1e0e5304d7 actually add the test expression 2023-03-13 17:02:50 -04:00
Jean-Paul Calderone
17a2c32e1f Avoid colliding with the "extra" package in nixpkgs :/ 2023-03-13 17:02:10 -04:00
Jean-Paul Calderone
f59c6a3acf Get our dependencies at runtime, too. 2023-03-13 17:01:57 -04:00
Jean-Paul Calderone
93cd2aa354 re-enable nix-based test suite runs 2023-03-13 16:43:22 -04:00
Jean-Paul Calderone
edd8e99178 no more pypi-deps-db or mach-nix 2023-03-13 16:36:53 -04:00
Jean-Paul Calderone
b73045d93c fix ci configuration 2023-03-13 16:21:36 -04:00
Jean-Paul Calderone
02904a363b Drop nixpkgs 21.11 - it is missing some stuff we need
Not only some nixpkgs facilities but it also includes a rustc that's too old
to build pycddl.
2023-03-13 16:19:07 -04:00
Jean-Paul Calderone
fa2ba64d4d Also supply the i2p extra dependency, txi2p 2023-03-13 16:02:57 -04:00
dlee
f1be1ca1de Added more elements to export list in wormholetesting.py 2023-03-13 14:53:25 -05:00
Jean-Paul Calderone
568e1b5317 Replace the mach-nix-based package with a nixpkgs-based package
The built-in nixpkgs `buildPythonPackage` doesn't do metadata discovery so we
have to duplicate a lot of the package metadata.  However, mach-nix is
unmaintained and incompatible with newer versions of nixpkgs.
2023-03-13 15:19:43 -04:00