Itamar Turner-Trauring
056ee58e91
Merge pull request #1110 from tahoe-lafs/3773.just-add-lease
...
Get rid of renew_lease client code, in order to simplify the protocol
Fixes ticket:3773
2021-09-01 10:44:41 -04:00
Sajith Sasidharan
7537a3a06f
Hat tip to OSUOSL for hosting tahoe-dev list
2021-08-31 10:22:50 -04:00
Sajith Sasidharan
65a1040fe8
Update references to the mailing list
...
New list is tahoe-dev@lists.tahoe-lafs.org , list info page is at
https://lists.tahoe-lafs.org/mailman/listinfo/tahoe-dev , and list
archives are now at https://lists.tahoe-lafs.org/pipermail/tahoe-dev/ .
Sadly message numbers in list archive seem to have changed, so
updating references to list archive is not as simple as prefixing
`list.`
2021-08-31 09:58:43 -04:00
Sajith Sasidharan
8202256fa2
Add newsfragment
2021-08-31 09:58:03 -04:00
fenn-cs
cb81e13462
Merged masted
...
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-31 12:17:20 +01:00
Itamar Turner-Trauring
e6803670d1
Improve explanations.
2021-08-30 16:54:44 -04:00
Itamar Turner-Trauring
e408322c3d
Use the correct APIs.
2021-08-30 16:51:36 -04:00
Itamar Turner-Trauring
7d32335353
Clarify and remove duplication.
2021-08-30 16:49:11 -04:00
Jean-Paul Calderone
bbc860fdb1
Merge pull request #937 from LeastAuthority/3528.test_cli-no-mock
...
Remove mock from test_cli
Fixes: ticket:3528
2021-08-30 14:30:27 -04:00
fenn-cs
342a1c2c31
Python 3 support complete, so removed warning
...
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-29 16:10:30 +01:00
Itamar Turner-Trauring
3e0dc94497
Annotate the two fakes that (at least partially) implement RIStorageServer, so they're
...
easier to find.
2021-08-25 13:36:58 -04:00
Itamar Turner-Trauring
62a096dfe2
Merge remote-tracking branch 'origin/master' into 3773.just-add-lease
2021-08-24 12:22:21 -04:00
May-Lee Sia
2a7e3b3f09
Merge pull request #1111 from Fenn-CS/3563.allmydata-node-catch-port-configs
...
Catch all port configurations
2021-08-24 17:21:05 +02:00
fenn-cs
7a88b5ddae
removed unnecessary comment in minor newsfragment
...
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-24 13:05:11 +01:00
fenn-cs
398fe537e8
added \n in newfragment file
...
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-23 02:48:24 +01:00
fenn-cs
117befd898
detect all port 0 configs
...
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-23 02:34:32 +01:00
Itamar Turner-Trauring
11331ddf82
Update examples to lack of separate renewal endpoint.
2021-08-20 11:17:20 -04:00
Itamar Turner-Trauring
370d1ddafe
Fix flake.
2021-08-20 08:20:24 -04:00
Itamar Turner-Trauring
1b5a3c9cb1
Bad merge, I think.
2021-08-19 16:49:01 -04:00
Itamar Turner-Trauring
b9fd9dec02
Merge remote-tracking branch 'origin/master' into 3773.just-add-lease
2021-08-19 16:48:03 -04:00
Itamar Turner-Trauring
442d61da7d
Get rid of separate renewal of leases in HTTP API.
2021-08-19 16:44:05 -04:00
Itamar Turner-Trauring
59fab99d9d
Nothing uses RIStorageServer.renew_lease, so removing it is simple.
2021-08-19 16:40:45 -04:00
Itamar Turner-Trauring
0016369025
News file.
2021-08-19 16:07:03 -04:00
Jean-Paul Calderone
9a5c417df0
Merge pull request #1108 from LeastAuthority/3763.gbs-lease-endpoint-items
...
Clarify some of the GBS "create lease" endpoint specification
Fixes: ticket:3763
2021-08-19 15:02:59 -04:00
Itamar Turner-Trauring
d599568c79
Tests validating that the operation for adding a lease will renew the lease
...
instead if it already exists.
2021-08-19 13:56:13 -04:00
Itamar Turner-Trauring
dfff187ad0
Make time pluggable to support better testing.
2021-08-19 13:23:01 -04:00
Jean-Paul Calderone
03c633cda0
news fragment
2021-08-19 10:28:17 -04:00
Jean-Paul Calderone
602d4c5a91
improve the "create lease" endpoint
...
* Simplify some language using terms from our new glossary
* explicitly state the two success-case behaviors
* make the error-case behavior different from the success-case behavior
* link to some tickets about future work in this area
2021-08-19 10:26:45 -04:00
Jean-Paul Calderone
ff6fa4a922
Merge pull request #1106 from LeastAuthority/3765.gbs-glossary
...
Start a GBS glossary
Fixes: ticket:3765
2021-08-18 16:45:26 -04:00
Jean-Paul Calderone
28758b8181
Merge pull request #1105 from LeastAuthority/3764.gbs-interaction-patterns
...
Add some GBS interaction examples
Fixes: ticket:3764
2021-08-18 11:05:59 -04:00
Jean-Paul Calderone
c5a03f4116
elaborate on `already-have
and
allocated
` somewhat
2021-08-18 10:17:48 -04:00
YashNRam13
cad7604ba3
docs: Update README.rst
2021-08-18 14:39:18 +05:30
Jean-Paul Calderone
0f78d8df25
a glossary
2021-08-17 14:58:34 -04:00
Jean-Paul Calderone
49300fc080
news fragment
2021-08-17 14:58:30 -04:00
Jean-Paul Calderone
47dfe5d4f0
fix typo
2021-08-17 14:11:08 -04:00
Jean-Paul Calderone
65f71135e1
Spell the endpoint correctly
2021-08-17 14:10:50 -04:00
Jean-Paul Calderone
23212fc816
add some example client/server interactions
2021-08-17 14:01:44 -04:00
Jean-Paul Calderone
a591c2c36d
news fragment
2021-08-17 10:23:37 -04:00
Jean-Paul Calderone
561429ff5b
Merge pull request #1102 from LeastAuthority/3760.run-codechecks3
...
Try to run codechecks3 on CI
Fixes: ticket:3760
2021-08-13 09:47:49 -04:00
Jean-Paul Calderone
9a8faae283
Remove PYTHONIOENCODING, set for towncrier, no longer run here
2021-08-13 09:24:00 -04:00
Jean-Paul Calderone
85ba6567ba
Try to make sure fixed argv is used on Py27+Windows
...
Previous version that rebound sys.argv didn't work so well with early binding
used by some some functions for default argument values.
2021-08-12 12:11:39 -04:00
Jean-Paul Calderone
580af66b69
Merge pull request #1100 from Fenn-CS/3757.refactor.web-test-introducer
...
Refactor allmydata/test/web/test_introducer.py
Fixes: ticket:3757
2021-08-11 17:21:50 -04:00
Jean-Paul Calderone
893d21fcbb
Fix the UsageError closer in the Py2 codepath we already have for it
2021-08-11 16:46:29 -04:00
Jean-Paul Calderone
b56a956843
Sort out this gross error reporting encoding/decoding mess
...
A little, anyway
2021-08-11 15:42:21 -04:00
Jean-Paul Calderone
13dae392cb
Go with a shorter name
2021-08-11 14:41:18 -04:00
Jean-Paul Calderone
6931d10ace
Fix mis-merge: use argv parameter instead of sys.argv
2021-08-11 14:40:22 -04:00
Jean-Paul Calderone
975f268d8d
Provide enough output to debug the failure
2021-08-11 14:39:32 -04:00
Jean-Paul Calderone
fd3d3bc688
Give the py3 static checker something to resolve unicode
to
...
It's pretty much just a bug in the static checker. :/
2021-08-11 14:27:21 -04:00
Jean-Paul Calderone
1d75bbfd72
str
is a kind of weird future thing; coerce another way
2021-08-11 14:25:47 -04:00
Jean-Paul Calderone
4d41e30ce9
Just pass unicode at this layer
2021-08-11 14:25:40 -04:00