Itamar Turner-Trauring
|
5e8899516e
|
Merge remote-tracking branch 'origin/master' into 3625.client-python-3
|
2021-03-05 10:27:17 -05:00 |
|
Itamar Turner-Trauring
|
cf418b753a
|
All tests pass on Python 3.
|
2021-03-04 10:55:08 -05:00 |
|
Itamar Turner-Trauring
|
7b1911620f
|
Port to Python 3.
|
2021-03-02 09:31:35 -05:00 |
|
Itamar Turner-Trauring
|
70c0607789
|
Enable BytesWarning across all tests ported to Python 3, fixing problems that caught.
|
2021-02-24 14:36:15 -05:00 |
|
Itamar Turner-Trauring
|
33392502d3
|
server IDs/node IDS should be bytes.
|
2020-12-17 09:50:39 -05:00 |
|
Itamar Turner-Trauring
|
67549aaed5
|
Merge remote-tracking branch 'origin/master' into 3456.introducer-python3
|
2020-12-09 09:21:02 -05:00 |
|
Itamar Turner-Trauring
|
0cf9be18d7
|
Merge remote-tracking branch 'origin/master' into 3544.furls-not-bytes-maybe
|
2020-12-08 16:08:12 -05:00 |
|
Jean-Paul Calderone
|
69d3dad646
|
Get rid of remote_host / get_remote_host
Nothing uses it and if we don't provide it we don't need getLocationHints
|
2020-12-08 10:37:31 -05:00 |
|
Itamar Turner-Trauring
|
0b7c0bf451
|
Document furl type.
|
2020-12-08 10:28:47 -05:00 |
|
Itamar Turner-Trauring
|
67694889da
|
Some progress towards ripping out furls-as-bytes.
|
2020-11-30 17:20:39 -05:00 |
|
Jean-Paul Calderone
|
c3aff634a0
|
Add missing attribute docs
|
2020-11-24 14:17:52 -05:00 |
|
Itamar Turner-Trauring
|
a49ef086b6
|
No need for explicit unicode.
|
2020-11-05 10:09:52 -05:00 |
|
Itamar Turner-Trauring
|
813594bbac
|
Go back to the way it was.
|
2020-11-04 13:45:41 -05:00 |
|
Itamar Turner-Trauring
|
dc818757b6
|
Port to Python 3.
|
2020-11-04 13:22:34 -05:00 |
|
Itamar Turner-Trauring
|
f34597ac61
|
All tests pass on Python 3.
|
2020-11-04 13:09:55 -05:00 |
|
Itamar Turner-Trauring
|
45a2fcc3f2
|
Fix for Python 2.
|
2020-10-30 14:49:25 -04:00 |
|
Itamar Turner-Trauring
|
d52f6747f6
|
Some progress towards passing tests.
|
2020-10-30 14:21:16 -04:00 |
|
Itamar Turner-Trauring
|
f50fd8e474
|
Switch to new configparser backport.
|
2020-10-26 12:12:46 -04:00 |
|
Jean-Paul Calderone
|
36c9bebf3d
|
Construct the new NativeStorageServer after deciding we need it
... not before.
|
2020-10-02 13:49:36 -04:00 |
|
Jean-Paul Calderone
|
5cd7703c83
|
reduce the amount of unnecessary UTF-8 encoding and decoding
|
2020-10-02 11:57:27 -04:00 |
|
Itamar Turner-Trauring
|
6fe68c792c
|
Tests pass on Python 2 and 3.
|
2020-09-21 13:21:19 -04:00 |
|
Itamar Turner-Trauring
|
0cee40c009
|
Even more progress towards test_upload on Python 3.
|
2020-09-21 13:21:19 -04:00 |
|
Itamar Turner-Trauring
|
9f00343478
|
Some progress towards test_upload running on Python 3.
|
2020-09-21 13:21:19 -04:00 |
|
Itamar Turner-Trauring
|
a758f32edf
|
Try to make test_storage import on Python 3.
|
2020-08-26 10:53:02 -04:00 |
|
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
|
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
|
a47463e032
|
Pass _Config instead of a smaller dict to get_client_resource
|
2019-08-19 11:21:03 -04:00 |
|
Jean-Paul Calderone
|
21d735ece9
|
whitespace more conforming to PEP8
|
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
|
375f917607
|
Be explicit that we expect to be operating on bytes here
|
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
|
9743a1ab4e
|
docstring
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
bee3ee8ff1
|
docstrings
|
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
|
166c5ab53f
|
there is only a NativeStorageServer
though it is used by the client
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
48b8bd6eb0
|
pass config down and use it to make the client plugin
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
3c3ebc368a
|
note about some logging we should do
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
2e0e9f0cad
|
remove duplication of NativeStorageServer instantiation
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
bbd1c706e4
|
teach StorageConfigClient to load storage client plugins
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
b5a2c70a4a
|
create a StorageClientConfig object
Make it easier to pass more storage configuration down into StorageFarmBroker
and beyond
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
87b37a7e27
|
be more data-type-y
|
2019-08-03 05:34:21 -04:00 |
|
Jean-Paul Calderone
|
1c6433b43b
|
Factor details of the storage announcement out of NativeStorageClient
A separate object can be responsible for the details of each kind of announcement.
|
2019-08-03 05:34:21 -04:00 |
|
Jean-Paul Calderone
|
e0a31aebf5
|
Sort the static storage servers for deterministic tests
|
2019-06-21 08:38:57 -04:00 |
|
Jean-Paul Calderone
|
f6ad8fa56b
|
Make the new test pass by catching and logging
|
2019-06-13 09:08:42 -04:00 |
|
Jean-Paul Calderone
|
ad29e627cc
|
refer to the interface
|
2019-06-11 16:32:29 -04:00 |
|
Jean-Paul Calderone
|
d32d020b05
|
Remove another test use of get_rref
|
2019-05-31 16:09:29 -04:00 |
|