meejah
a867294e00
dead
2021-11-16 15:08:31 -07:00
meejah
75410e51f0
refactor
2021-11-16 15:08:31 -07:00
meejah
d4fc14f9ad
docstring
2021-11-16 15:08:31 -07:00
meejah
89c2aacadc
working test of 'in the wild' data, working converters
2021-11-16 15:08:31 -07:00
meejah
bf5e682d71
test upgrade of main state works
2021-11-16 15:08:31 -07:00
meejah
f81e4e2d25
refactor to use serializers / pickle->json upgraders
2021-11-16 15:08:31 -07:00
meejah
fa6950f08d
an old pickle-format lease-checker state file
2021-11-16 15:08:31 -07:00
meejah
bb70e00065
Make internal state JSON-able for lease-crawler
2021-11-16 15:08:31 -07:00
meejah
f7b385f954
play nice with subclasses
2021-11-16 15:08:31 -07:00
meejah
758dcea2d4
news
2021-11-16 15:08:31 -07:00
meejah
3b69df36b0
crawler: pickle -> json
2021-11-16 15:08:31 -07:00
Itamar Turner-Trauring
f549488bb5
Don't use a deprecated API.
2021-11-16 11:47:09 -05:00
Itamar Turner-Trauring
a1424e90e1
Another duplicate.
2021-11-16 11:34:44 -05:00
Itamar Turner-Trauring
e5b5b50602
Duplicate package.
2021-11-16 11:28:19 -05:00
Itamar Turner-Trauring
a64778ddb0
Flakes.
2021-11-16 11:28:13 -05:00
Itamar Turner-Trauring
c195f895db
Python 2 support.
2021-11-16 11:16:26 -05:00
Itamar Turner-Trauring
171d1053ec
CBOR content-type on responses.
2021-11-16 11:09:17 -05:00
Itamar Turner-Trauring
671b670154
Some type annotations.
2021-11-16 11:09:08 -05:00
Itamar Turner-Trauring
41ec63f758
Passing first tests.
2021-11-16 10:56:21 -05:00
Itamar Turner-Trauring
fe6a2f6f02
Merge pull request #1146 from tahoe-lafs/3820.gbs-immutable-upload-session
...
Use an upload secret for GBS immutable uploads
Fixes ticket:3820
Fixes ticket:3826
2021-11-16 10:45:48 -05:00
Itamar Turner-Trauring
7caffce8d5
Another review suggestion
...
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2021-11-16 10:14:19 -05:00
Itamar Turner-Trauring
304b0269e3
Apply suggestions from code review
...
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2021-11-16 10:14:04 -05:00
Jean-Paul Calderone
fcd634fc43
some direct tests for the new utility function
2021-11-15 13:34:46 -05:00
Jean-Paul Calderone
84c19f5468
clarify renew_leases docs on slot_testv_and_readv_and_writev
2021-11-15 08:12:07 -05:00
Jean-Paul Calderone
ad6017e63d
clarify renew_leases docs on allocate_buckets
2021-11-15 08:11:53 -05:00
Jean-Paul Calderone
6c2e85e991
put the comment back
2021-11-12 16:25:36 -05:00
Jean-Paul Calderone
dece67ee3a
it is not the remote interface that varies anymore
2021-11-12 16:24:29 -05:00
Jean-Paul Calderone
85977e48a7
put this comment back and merge info from the two versions
2021-11-12 16:23:15 -05:00
Jean-Paul Calderone
c3cb0ebaea
Switch to per-call parameter for controlling lease renewal behavior
...
This is closer to an implementation where you could have two frontends, say a
Foolscap frontend and an HTTP frontend or even just two different HTTP
frontends, which had different opinions about what the behaviour should be.
2021-11-12 16:20:27 -05:00
Itamar Turner-Trauring
c101dd4dc9
Closer to first passing test.
2021-11-12 13:13:19 -05:00
Itamar Turner-Trauring
12cbf8a901
First sketch of HTTP testing infrastructure.
2021-11-12 13:03:53 -05:00
Itamar Turner-Trauring
ddd2780bd2
First sketch of HTTP client.
2021-11-12 12:51:52 -05:00
Itamar Turner-Trauring
a32c6be978
A sketch of what the HTTP server will look like.
2021-11-12 12:02:58 -05:00
Itamar Turner-Trauring
777d630f48
Another dependency.
2021-11-12 12:00:07 -05:00
Itamar Turner-Trauring
e7a5d14c0e
New requirements.
2021-11-12 11:25:10 -05:00
Itamar Turner-Trauring
bea4cf18a0
News file.
2021-11-12 11:19:29 -05:00
Itamar Turner-Trauring
24646c56d0
Updates based on review.
2021-11-11 11:29:05 -05:00
Itamar Turner-Trauring
c270a346c6
Remove typo.
2021-11-11 11:02:51 -05:00
Jean-Paul Calderone
2742de6f7c
drop some ancient cruft
...
allocated_size not used anywhere, so why have it
2021-11-10 16:08:53 -05:00
Jean-Paul Calderone
9af81d21c5
add a way to turn off implicit bucket lease renewal too
2021-11-10 16:08:40 -05:00
Jean-Paul Calderone
7faec6e5a0
news fragment
2021-11-10 15:48:58 -05:00
Itamar Turner-Trauring
68a27b1125
Merge remote-tracking branch 'origin/master' into 3820.gbs-immutable-upload-session
2021-11-10 14:42:56 -05:00
Itamar Turner-Trauring
8dd4aaebb6
More consistent header system.
2021-11-10 14:42:22 -05:00
Jean-Paul Calderone
66644791cb
news fragment
2021-11-05 15:36:26 -04:00
Jean-Paul Calderone
617a1eac9d
refactor lease hashing logic to avoid mutable/immutable duplication
2021-11-05 15:30:49 -04:00
Jean-Paul Calderone
456df65a07
Add v2 of the mutable container schema
...
It uses hashed lease secrets, like v2 of the immutable container schema.
2021-11-05 14:16:43 -04:00
Jean-Paul Calderone
3de9c73b0b
preserve the type when renewing HashedLeaseInfo
...
does this mean immutable lease renewal is untested? maybe
2021-11-05 14:11:05 -04:00
Jean-Paul Calderone
5d703d9893
some type annotations
2021-11-05 14:10:27 -04:00
Jean-Paul Calderone
0cd96ed713
fix the debug tool for the hashed lease secret case
2021-11-05 14:09:46 -04:00
Jean-Paul Calderone
8adff050a7
compare without breaking out all of the fields
...
HashedLeaseInfo doesn't have all of these attributes
2021-11-05 13:51:46 -04:00