Commit Graph

13435 Commits

Author SHA1 Message Date
Jean-Paul Calderone
82099f04c4 Merge remote-tracking branch 'origin/master' into 3758.refactor.web-tests-grid-logs-root 2021-12-02 08:36:35 -05:00
meejah
4bc0df7cc1 file, not path 2021-12-02 00:14:15 -07:00
meejah
40e7be6d8d needs reason 2021-12-01 23:46:10 -07:00
meejah
e0092ededa fine, just skip tests on windows 2021-12-01 20:52:22 -07:00
Jean-Paul Calderone
8626043f61
Merge pull request #1163 from tahoe-lafs/3847.eliot-anybytes-always
Use the "any bytes" encoder even on Python 2

Fixes: ticket:3847
2021-12-01 15:47:16 -05:00
Jean-Paul Calderone
eee1f0975d note about how to clean this up later 2021-12-01 15:16:16 -05:00
Jean-Paul Calderone
90d1e90a14 rewrite the Eliot interaction tests to make expected behavior clearer
and to have explicit assertions about that behavior
2021-12-01 15:05:29 -05:00
meejah
940c6343cf consistency 2021-12-01 12:02:42 -07:00
meejah
7080ee6fc7 oops 2021-12-01 12:02:06 -07:00
meejah
25ca767095 an offering to the windows godesses 2021-12-01 11:49:52 -07:00
Itamar Turner-Trauring
f7975b9772
Merge pull request #1161 from tahoe-lafs/3843-start-http-storage-server
A start at a HTTP-based storage server and client

Fixes ticket:3843
Fixes ticket:3762
2021-12-01 10:18:36 -05:00
Itamar Turner-Trauring
50e21a9034 Split StorageServer into generic part and Foolscap part. 2021-12-01 09:55:44 -05:00
Itamar Turner-Trauring
6e1f6f68ca Merge branch '3843-start-http-storage-server' into 3849-refactor-out-foolscap-in-storage-server 2021-12-01 09:41:21 -05:00
Itamar Turner-Trauring
8cf11c9bd3 Merge branch '3843-start-http-storage-server' of github.com:tahoe-lafs/tahoe-lafs into 3843-start-http-storage-server 2021-12-01 09:41:08 -05:00
Jean-Paul Calderone
8b25adf2cc
Merge pull request #1155 from tahoe-lafs/3527.test_create-no-mock
Remove mock usage from the `test_create` module

Fixes: ticket:3527
2021-12-01 09:39:55 -05:00
Itamar Turner-Trauring
18a5966f1d Don't bother running HTTP server tests on Python 2, since it's going away any
day now.
2021-12-01 09:38:56 -05:00
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
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