Commit Graph

14736 Commits

Author SHA1 Message Date
Itamar Turner-Trauring d985d10622
Update nix/cbor2.nix
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2021-12-01 09:24:03 -05:00
meejah 85fa8fe32e py2/py3 glue code for json dumping 2021-11-30 23:00:59 -07:00
meejah b47381401c flake8 2021-11-30 19:01:09 -07:00
meejah 679c464517 tests 2021-11-30 18:43:06 -07:00
meejah fc9671a812 simplify, flake9 2021-11-30 18:25:32 -07:00
meejah 0a4bc385c5 fix tests to use migrate command 2021-11-30 18:00:58 -07:00
meejah 1b8ae8039e no auto-migrate; produce error if pickle-files exist 2021-11-30 16:01:15 -07:00
meejah 3fd1ca8acb it's an error to have pickle-format files 2021-11-30 16:00:35 -07:00
meejah ce25795e4e new news 2021-11-30 16:00:19 -07:00
meejah 49f2489321 explicit 'migrate pickle files' command 2021-11-30 15:59:27 -07:00
Jean-Paul Calderone c1a2964788 Merge remote-tracking branch 'origin/master' into 3527.test_create-no-mock 2021-11-30 15:06:17 -05:00
Itamar Turner-Trauring f2b52f368d Another way. 2021-11-30 13:58:22 -05:00
Itamar Turner-Trauring 136bf95bdf Simpler way. 2021-11-30 13:58:02 -05:00
Itamar Turner-Trauring 2f4d1079aa Needs setuptools_scm 2021-11-30 13:51:36 -05:00
Itamar Turner-Trauring c65a13e632 Rip out klein, maybe not necessary. 2021-11-30 13:47:28 -05:00
Itamar Turner-Trauring 1fc77504ae List dependencies. 2021-11-30 13:39:42 -05:00
Itamar Turner-Trauring b01478659e Apparently I generated wrong hashes. 2021-11-30 13:18:18 -05:00
Jean-Paul Calderone 7626a02bdb remove redundant assertion 2021-11-29 13:43:27 -05:00
Jean-Paul Calderone 20e0626e42 add capture_logging that parameterizes JSON encoder 2021-11-29 13:43:27 -05:00
Jean-Paul Calderone 3eb1a5e7cb Add a MemoryLogger that prefers our encoder
and use it instead of Eliot's
2021-11-29 13:43:27 -05:00
Jean-Paul Calderone f40da7dc27 Put the choice of JSON encoder for Eliot into its own module
and use it in a few places
2021-11-29 13:43:27 -05:00
Jean-Paul Calderone 66a0c6f3f4 add a direct test for the non-utf-8 bytestring behavior 2021-11-29 13:43:27 -05:00
Jean-Paul Calderone 5fef83078d news fragment 2021-11-29 13:08:11 -05:00
Jean-Paul Calderone c02d8cab3a change one more assertTrue to assertEquals 2021-11-29 08:56:05 -05:00
fenn-cs 118e323b9e Merge branch 'master' of github.com:tahoe-lafs/tahoe-lafs into 3788.refactor-src.test.mutable 2021-11-27 00:59:50 +01:00
fenn-cs 54c032d0d7 change assertTrue -> assertEquals for non bools
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-11-27 00:59:13 +01:00
meejah 5855a30e34 add docstrings 2021-11-23 14:01:43 -07:00
meejah b0309331a5 Merge branch 'master' into 3825.json-pickle 2021-11-23 13:53:41 -07:00
Itamar Turner-Trauring 30511ea850 Add more build inputs. 2021-11-23 11:40:11 -05:00
Itamar Turner-Trauring c936602a70
Merge pull request #1162 from tahoe-lafs/3807.immutable-upload-timeout
Immutable uploads time out if no writes are done for 30 minutes

Fixes ticket:3807
2021-11-23 11:01:26 -05:00
Itamar Turner-Trauring 8abc1ad8f4 cbor2 for Python 2 on Nix. 2021-11-23 10:44:45 -05:00
Itamar Turner-Trauring a593095dc9 Explain why it's a conditional import. 2021-11-23 10:39:53 -05:00
Itamar Turner-Trauring c921b153f4 A better name for the API. 2021-11-23 10:39:15 -05:00
Itamar Turner-Trauring 6c514dfda5 Add klein. 2021-11-23 10:33:45 -05:00
Itamar Turner-Trauring c341a86abd Correct the comment. 2021-11-23 10:01:03 -05:00
Jean-Paul Calderone 131319971e
Merge pull request #39 from tahoe-lafs/LFS-01-010.mutable
LFS-01-010 (mutables): Weak authentication for client leases

Fixes: ticket:3841
2021-11-22 11:13:30 -05:00
Jean-Paul Calderone d1839187f1 "misplaced type annotation" 2021-11-22 08:45:10 -05:00
Jean-Paul Calderone b92343c664 some more docstrings 2021-11-22 08:36:12 -05:00
Jean-Paul Calderone e0c0c32c13 Merge remote-tracking branch 'remediate/master' into LFS-01-010.mutable 2021-11-22 07:59:43 -05:00
Jean-Paul Calderone 04e45f065a document `compare_leases_without_timestamps` 2021-11-22 07:59:01 -05:00
Jean-Paul Calderone 4c5cf7d3f9
Merge pull request #38 from tahoe-lafs/LFS-01-010.immutable
LFS-01-010 (immutables): Weak authentication for client leases

Fixes: ticket:3839
2021-11-22 07:38:51 -05:00
fenn-cs eeb1d90e7a Leveled headings and rst semantics for sidenotes
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-11-20 18:26:02 +01:00
Itamar Turner-Trauring 4c11177387 Fix a problem with typechecking.
Using remote_write() isn't quite right given move to HTTP, but can fight that
battle another day.
2021-11-18 15:58:55 -05:00
Itamar Turner-Trauring e2636466b5 Fix a flake. 2021-11-18 15:47:25 -05:00
Itamar Turner-Trauring bd645edd9e Fix flake. 2021-11-18 15:44:51 -05:00
Itamar Turner-Trauring 5d915afe1c Clean up BucketWriters on shutdown (also preventing DelayedCalls leaks in tests). 2021-11-18 15:42:54 -05:00
Itamar Turner-Trauring 1827faf36b Fix issue with leaked-past-end-of-test DelayedCalls. 2021-11-18 14:45:44 -05:00
Itamar Turner-Trauring 8c8e377466 Implement timeout and corresponding tests. 2021-11-18 14:35:04 -05:00
fenn-cs e9ae3aa885 move gpg signing instructions to seperate file
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-11-18 12:04:56 +01:00
fenn-cs 767948759d correct indent
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-11-18 11:48:32 +01:00