Commit Graph

14336 Commits

Author SHA1 Message Date
Jean-Paul Calderone
39b3f19c0e Put the generator inputs into the output file
This should make it easier for other implementations to use the test data, I
think.

Also put a version in there so we can change inputs in the future but still
talk about results meaningfully.  And some other minor refactoring
2022-12-26 12:06:34 -05:00
Jean-Paul Calderone
5af6fc0f9d reconfigure() only needs to restart the node if something changed 2022-12-22 20:53:49 -05:00
Jean-Paul Calderone
8a42720301 Move some general utility functions into the util module 2022-12-22 17:02:42 -05:00
Jean-Paul Calderone
43388ee711 Comments and minor factoring improvements and such 2022-12-22 16:52:00 -05:00
Jean-Paul Calderone
daad22d1b1 comments 2022-12-22 12:13:12 -05:00
Jean-Paul Calderone
97b397870b Generate a whole mess of vectors 2022-12-22 11:35:37 -05:00
Jean-Paul Calderone
1ae98c1830 Switch back to session scope for Alice 2022-12-22 11:05:07 -05:00
Jean-Paul Calderone
aa58faddaf Pass the right number of args to reconfigure 2022-12-22 11:04:48 -05:00
Jean-Paul Calderone
49b513fefc Get basic generation working, apparently 2022-12-22 10:51:59 -05:00
Jean-Paul Calderone
3badd42321
Merge pull request #1232 from exarkun/3942.missing-authorization-handling
3942 Handle missing Authorization in GBS server

Fixes: ticket:3942
2022-12-21 19:01:28 -05:00
Jean-Paul Calderone
29a5f7a076 start of a test vector thingy 2022-12-21 17:14:08 -05:00
Jean-Paul Calderone
1a1ca8d5ef Merge remote-tracking branch 'origin/master' into 3942.missing-authorization-handling 2022-12-21 09:44:41 -05:00
Jean-Paul Calderone
ab6b0fa971
Merge pull request #1242 from exarkun/3870.fix-cachix-for-forks
Fix cachix handling on PRs from forks
2022-12-21 09:42:23 -05:00
Itamar Turner-Trauring
d1b464d0d8 Writing large files can involve many writes. 2022-12-21 09:35:10 -05:00
Itamar Turner-Trauring
54da6eb60a Remove unneeded imports. 2022-12-21 09:34:25 -05:00
Itamar Turner-Trauring
1a4dcc70e2 Support large mutable uploads in a memory-efficient manner. 2022-12-21 09:24:31 -05:00
Itamar Turner-Trauring
6d2e797581 News file. 2022-12-21 09:16:18 -05:00
Itamar Turner-Trauring
a71e873c21 pycddl 0.2 is broken, 0.3 is missing mmap() support. 2022-12-21 09:15:51 -05:00
Jean-Paul Calderone
2da3d43b2e news fragment 2022-12-21 07:22:37 -05:00
Jean-Paul Calderone
25eb3ca262 Switch to a variable observed in practice
There is apparently no CIRCLE_PR_REPONAME set in the runtime environment,
either, despite what the docs say.
2022-12-21 06:47:21 -05:00
Jean-Paul Calderone
21af00bf83 Report the CIRCLE_PR_REPONAME too, because who knows 2022-12-21 06:27:41 -05:00
Jean-Paul Calderone
78e04cc821 Modernize cachix usage; attempt to fix CircleCI conditional
CIRCLE_PR_NUMBER documentation may just be wrong.  It seems like maybe it is
never set?

Try inspecting the source repo value instead.
2022-12-21 06:25:22 -05:00
Jean-Paul Calderone
6b57b03157 Merge remote-tracking branch 'origin/master' into 3942.missing-authorization-handling 2022-12-21 05:51:39 -05:00
Jean-Paul Calderone
80caf04966
Merge pull request #1234 from tahoe-lafs/3947.mutable-test_version-async-def
Convert some tests for mutables to use `async def`

Fixes: ticket:3947
2022-12-21 05:50:07 -05:00
Itamar Turner-Trauring
1d3464a430 Add end-to-end MDMF test. 2022-12-19 13:37:20 -05:00
Itamar Turner-Trauring
96347e22e2 Make a test demonstrating the problem. 2022-12-15 13:14:49 -05:00
Jean-Paul Calderone
8c8a04fa1b news fragment 2022-12-14 13:24:36 -05:00
Jean-Paul Calderone
63fd24d060 Note how you can get this parameter set 2022-12-14 12:48:53 -05:00
Jean-Paul Calderone
f053ef371a Get rid of the scheduled image building workflow. 2022-12-14 12:47:50 -05:00
Jean-Paul Calderone
793033caa8 Fix quoting on the helper 2022-12-14 12:44:11 -05:00
Jean-Paul Calderone
d66d928fb4 Provide a helper for rebuilding the images 2022-12-14 10:07:07 -05:00
Jean-Paul Calderone
1d248f4bd2 comments 2022-12-14 09:56:16 -05:00
Jean-Paul Calderone
761bf9cb9c See if we can get a triggered image build too 2022-12-14 09:49:50 -05:00
Jean-Paul Calderone
c014ad55b1 remove Python 2 boilerplate 2022-12-14 08:48:02 -05:00
Jean-Paul Calderone
05c7450376 Try to use an upcoming python-cryptography feature to avoid some costs
If the key is the wrong number of bits then we don't care about any other
validation results because we're just going to reject it.  So, check that
before applying other validation, if possible.

This is untested since the version of python-cryptography that supports it is
not released yet and I don't feel like setting up a Rust build tool chain at
the moment.
2022-12-14 08:47:05 -05:00
Jean-Paul Calderone
2677f26455 news fragment 2022-12-14 08:46:39 -05:00
Jean-Paul Calderone
a1cb889308 Take typechecks and codechecks out of the GitHub Actions config
There's a dedicated job on CircleCI.
2022-12-14 08:35:10 -05:00
Jean-Paul Calderone
2057f59950 news fragment 2022-12-14 08:35:06 -05:00
Itamar Turner-Trauring
6ae40a932d A much more reasonable number of HTTP connections. 2022-12-13 15:54:19 -05:00
Itamar Turner-Trauring
be3ace7ade News file. 2022-12-13 15:39:04 -05:00
Itamar Turner-Trauring
14d65d25da Merge remote-tracking branch 'origin/master' into 3937-integration-http-storage 2022-12-13 10:57:27 -05:00
Itamar Turner-Trauring
87ff1706a9
Merge pull request #1236 from tahoe-lafs/pin-older-tox
Pin older tox
2022-12-13 10:53:29 -05:00
Jean-Paul Calderone
815c998c33 regular ci 2022-12-13 09:09:02 -05:00
Jean-Paul Calderone
8282fce4cd build the images again 2022-12-13 08:57:21 -05:00
Jean-Paul Calderone
b8680750da pin it in more places 2022-12-12 11:47:32 -05:00
Itamar Turner-Trauring
6a1f49551b No, that's not it. 2022-12-12 11:05:09 -05:00
Itamar Turner-Trauring
366cbf9001 Tox is bad? 2022-12-12 10:55:07 -05:00
Itamar Turner-Trauring
d05a1313d1 Don't change versions for now, use strings so it'll be future compatible with 3.10. 2022-12-12 10:54:23 -05:00
Itamar Turner-Trauring
742b352861 Whitespace. 2022-12-12 10:52:17 -05:00
Itamar Turner-Trauring
106df423be Another approach. 2022-12-12 10:52:01 -05:00