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
52a61e8f63
news fragment
2021-08-12 16:50:18 -04:00
Jean-Paul Calderone
acc8cbd28b
Remove use of the mock module from test_status
2021-08-12 16:50:01 -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
Jean-Paul Calderone
d56c218586
Options are defined with unicode now; argv better be unicode.
2021-08-11 14:25:24 -04:00
Jean-Paul Calderone
0176583e75
Get a text-mode FilePath in a py3 compatible way
2021-08-11 13:32:04 -04:00
Jean-Paul Calderone
2244f0374e
fail more informatively
2021-08-11 13:31:07 -04:00
Jean-Paul Calderone
5f6ae1f8f5
Fix mis-merge: don't try to stripe argv[0] twice
2021-08-11 13:30:52 -04:00
Jean-Paul Calderone
ffbcbf78a7
Send the warning to the parameterized stderr
2021-08-11 13:30:39 -04:00
Jean-Paul Calderone
9632b35abe
Fix mismerge: Put Py3 warning back
2021-08-11 13:19:15 -04:00
Jean-Paul Calderone
15312009ce
Fix mis-merge: This test moved to test_run.py
2021-08-11 12:58:51 -04:00
Jean-Paul Calderone
66d40527d1
Merge remote-tracking branch 'origin/master' into 3528.test_cli-no-mock
2021-08-11 12:56:00 -04:00
fenn-cs
b5c329024a
Merge branch 'master' of github.com:tahoe-lafs/tahoe-lafs into 3757.refactor.web-test-introducer
2021-08-11 16:33:36 +01:00
Jean-Paul Calderone
a1112e4cd0
Add the new job to the workflow
2021-08-11 10:25:49 -04:00