Jean-Paul Calderone
|
d4b5de2e08
|
Merge pull request #653 from tahoe-lafs/3248.pass-config-to-get_storage_client
Pass the full _Config to IFoolscapStoragePlugin.get_storage_client
Fixes: ticket:3248
|
2019-08-23 09:04:23 -04:00 |
|
Jean-Paul Calderone
|
25c476aaa8
|
Merge pull request #654 from tahoe-lafs/3250.synchronous-get_storage_client
Synchronous IFoolscapStoragePlugin.get_storage_client
Fixes: ticket:3250
|
2019-08-23 08:44:52 -04:00 |
|
Jean-Paul Calderone
|
8faf2838f3
|
Pull make_broker up to module scope since it does not need the TestCase
|
2019-08-23 08:14:01 -04:00 |
|
Jean-Paul Calderone
|
e62d2a5a27
|
In reality we cannot handle a Deferred here
... yet? This code is invoked from an `__init__` where async is always
tricky. Maybe we can invert the relationship someday.
|
2019-08-20 09:28:05 -04:00 |
|
Jean-Paul Calderone
|
9940beaae1
|
Thread a _Config all the way down
|
2019-08-19 16:09:26 -04:00 |
|
Jean-Paul Calderone
|
6a9f1ac1f1
|
Update test plugin to reflect interface change
|
2019-08-19 15:11:13 -04:00 |
|
Jean-Paul Calderone
|
a47463e032
|
Pass _Config instead of a smaller dict to get_client_resource
|
2019-08-19 11:21:03 -04:00 |
|
Jean-Paul Calderone
|
21bf7fc25c
|
Merge remote-tracking branch 'origin/master' into integration/storage-economics
|
2019-08-16 15:39:31 -04:00 |
|
Jean-Paul Calderone
|
f1c817e3ab
|
Merge pull request #647 from tahoe-lafs/3240.run-sftp-test-suite
Run the SFTP test suite again
Fixes: ticket:3240
|
2019-08-15 08:01:05 -04:00 |
|
Jean-Paul Calderone
|
42f6a5609f
|
Use the better variable name
|
2019-08-14 09:23:11 -04:00 |
|
Jean-Paul Calderone
|
f435b54a8a
|
Make this test suite contingent on the availability of Conch
|
2019-08-14 09:03:36 -04:00 |
|
Jean-Paul Calderone
|
36521d2d50
|
Some more Windows exclusions.
|
2019-08-14 08:16:34 -04:00 |
|
Jean-Paul Calderone
|
9231638d89
|
Add a couple more platform-specific exceptions
|
2019-08-13 19:07:44 -04:00 |
|
Jean-Paul Calderone
|
3d2d61f853
|
Merge remote-tracking branch 'origin/master' into 3239.python2-new-style-regression-test
|
2019-08-13 18:27:23 -04:00 |
|
Jean-Paul Calderone
|
097690caa8
|
Remove prints
|
2019-08-13 18:26:15 -04:00 |
|
Jean-Paul Calderone
|
b7e3633056
|
Fix a lot of classic classes in Tahoe-LAFS
|
2019-08-13 16:55:40 -04:00 |
|
Jean-Paul Calderone
|
43e19e6e51
|
Fix the test to really assert what it means to
|
2019-08-13 16:55:25 -04:00 |
|
Jean-Paul Calderone
|
a8a9c85e5e
|
Skip this pending fixes elsewhere
|
2019-08-13 15:43:03 -04:00 |
|
Jean-Paul Calderone
|
d69cde293a
|
Revert my changes, this is a much bigger job.
|
2019-08-13 15:38:33 -04:00 |
|
Jean-Paul Calderone
|
132cc4605d
|
Only consider classes defined in the module we're looking at.
Classes can lie about their __module__, of course, but I hope none of Tahoe's
do.
|
2019-08-13 15:32:09 -04:00 |
|
Jean-Paul Calderone
|
b1c7556239
|
importPackages only fixes the problem for "packages"
So just call load on every module before trying to iterate its attributes.
|
2019-08-13 15:19:05 -04:00 |
|
Jean-Paul Calderone
|
13409a2449
|
Move the remaining package checking machinery to its own module.
|
2019-08-13 15:11:01 -04:00 |
|
Jean-Paul Calderone
|
6623ed3e4b
|
Remove import-time dependency version checks.
|
2019-08-13 14:10:36 -04:00 |
|
meejah
|
8e4b05214a
|
add --coverage for integration tests
|
2019-08-06 16:47:43 -06:00 |
|
Jean-Paul Calderone
|
e66ffacc9e
|
a docstring for the matcher's match method
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
21d735ece9
|
whitespace more conforming to PEP8
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
3152a35618
|
Some additional documentation
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
d69de15664
|
implement the feature
improve the test slightly, too, to verify the configuration supplied to the
plugin is as expected.
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
326e5829b0
|
Add a basic test for the existence of any plugin-supplied resource
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
9842447a07
|
Don't start or announce anonymous access if config says not to
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
6fd27097a9
|
Factor out some repetition of this dummy value
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
e0157ab174
|
Give me a tool to match announcements w/o anonymous storage furl
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
853cf62530
|
Allow [storage]anonymous through the validator
And provide a helpful accessor for reading it
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
311afa8a75
|
Test & fix supplying plugin configuration
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
57160f65c6
|
Pass get_rref in to get_storage_client
plugins don't otherwise have a way to talk to the server.
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
2616c66a49
|
Fix confusion between IStorageServer and the thing above it
IStorageServer is what uses a connection. You need a thing above it to _get_
a connection.
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
59546944ce
|
Factor duplicate furl value out and add it where needed
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
11418a9f87
|
Fix test_add_rref users by making them supply coherent values
... of the right type
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
c752fc76f1
|
pass the new config to StorageFarmBroker
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
6e3cd2d91c
|
Reflect announcement changes from ticket:3119
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
f3218e6f62
|
basic positive path test
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
09acde41b9
|
refactor test_ignored_non_enabled_plugin to support more tests
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
7e9e380912
|
adjust to the changed parameter name
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
6b7e0dd700
|
add a test for the negative case
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
e8b38d8cd6
|
move some testing helpers into the common module
|
2019-08-03 06:39:27 -04:00 |
|
Jean-Paul Calderone
|
3b6e1e344b
|
Don't blow up the web status if we get an unrecognized announcement
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
07bf8a3b8c
|
Change this helper to reflect the fact that old announcements are irrelevant
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
624591e412
|
Change the tests to match against the announcement we need
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
6068b6c1b2
|
don't reach through the tahoe-lafs config object
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
251eda0b80
|
rename introducer_factory parameter to be private
|
2019-08-03 06:19:01 -04:00 |
|