Commit Graph

13054 Commits

Author SHA1 Message Date
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
fenn-cs
bef2413e4b Refactored test_grid to be consistent with base testcases
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-17 13:11:54 +01:00
fenn-cs
f7f08c93f9 Refactored test_root to be consistent with base testcases
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-16 12:57:24 +01:00
fenn-cs
27c8e62cf6 Replaced fixed arg with dynamic args in log_call_deferred
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-14 00:09:34 +01:00
fenn-cs
492bcbbd12 Refactored test_logs to be consistent with base testcases
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-13 18:22:10 +01: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
Jean-Paul Calderone
97008b70b2 Avoid renaming a job, it causes operational hassle 2021-08-11 10:25:42 -04:00
Jean-Paul Calderone
6e89713b65 Merge remote-tracking branch 'origin/master' into 3760.run-codechecks3 2021-08-11 10:25:13 -04:00
Jean-Paul Calderone
22622b5400
Merge pull request #1101 from LeastAuthority/3759.remove-circleci-context-for-dockerhub
Stop using the dockerhub-auth context for normal jobs

Fixes: ticket:3759
2021-08-11 10:23:44 -04:00
Jean-Paul Calderone
02f82e2665 news fragment 2021-08-11 10:00:06 -04:00
Jean-Paul Calderone
2bb310c511 Try to run codechecks3 on CI 2021-08-11 09:50:23 -04:00
Jean-Paul Calderone
0e2c4ff7e6 I suppose you cannot define an empty yaml map by leaving everything out 2021-08-11 07:45:45 -04:00