and rename classes for better consistency:
- move WeedFiler in b/seaweedfs/http.py and rename as HttpFiler
- move WeedObjStorage in b/seaweedfs/objstorage.py and rename as SeaweedFilerObjStorage.
Depends on D6525
Differential D6526
Reorganise the seaweedfs backend in a subpackage Authored by douardda on Oct 21 2021, 1:07 PM.
Details
and rename classes for better consistency:
Depends on D6525
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D6526 (id=23722)Could not rebase; Attempt merge onto 6269067ca7... Updating 6269067..9c57a61
Fast-forward
swh/objstorage/backends/seaweedfs/__init__.py | 1 +
swh/objstorage/backends/seaweedfs/http.py | 102 ++++++++++++++++++++
.../{seaweed.py => seaweedfs/objstorage.py} | 104 ++-------------------
swh/objstorage/factory.py | 13 ++-
swh/objstorage/tests/test_objstorage_seaweedfs.py | 6 +-
5 files changed, 123 insertions(+), 103 deletions(-)
create mode 100644 swh/objstorage/backends/seaweedfs/__init__.py
create mode 100644 swh/objstorage/backends/seaweedfs/http.py
rename swh/objstorage/backends/{seaweed.py => seaweedfs/objstorage.py} (59%)Changes applied before testcommit 9c57a61d016e865a1ea8a83908626c9a22fb2f53
Author: David Douard <david.douard@sdfa3.org>
Date: Thu Oct 21 09:49:54 2021 +0200
Reorganise the seaweedfs backend in a subpackage
and rename classes for better consistency:
- move WeedFiler in b/seaweedfs/http.py and rename as HttpFiler
- move WeedObjStorage in b/seaweedfs/objstorage.py and rename as
SeaweedFilerObjStorage.
commit 82d9714b0ae5a3687da331c2198010b8d62c8c0b
Author: David Douard <david.douard@sdfa3.org>
Date: Thu Oct 21 09:58:06 2021 +0200
Use get_objstorage in seaweedfs tests instead of direct class
instanciation
commit 38c02dcfae2baa141c7149d5556123fe7341b54b
Author: David Douard <david.douard@sdfa3.org>
Date: Thu Oct 21 09:55:50 2021 +0200
Add support for deprecation of objstorage cls in factory
and deprecate "weed" in favor of "seaweedfs".See https://jenkins.softwareheritage.org/job/DOBJS/job/tests-on-diff/60/ for more details. Comment Actions Build has FAILED Patch application report for D6526 (id=23728)Could not rebase; Attempt merge onto 6269067ca7... Updating 6269067..0f51945
Fast-forward
swh/objstorage/backends/seaweedfs/__init__.py | 1 +
swh/objstorage/backends/seaweedfs/http.py | 101 ++++++++++++++++++++
.../{seaweed.py => seaweedfs/objstorage.py} | 105 ++-------------------
swh/objstorage/factory.py | 13 ++-
swh/objstorage/tests/test_objstorage_seaweedfs.py | 6 +-
5 files changed, 122 insertions(+), 104 deletions(-)
create mode 100644 swh/objstorage/backends/seaweedfs/__init__.py
create mode 100644 swh/objstorage/backends/seaweedfs/http.py
rename swh/objstorage/backends/{seaweed.py => seaweedfs/objstorage.py} (59%)Changes applied before testcommit 0f51945d14c70d82b169f79efb8796c8a74489b5
Author: David Douard <david.douard@sdfa3.org>
Date: Thu Oct 21 09:49:54 2021 +0200
Reorganise the seaweedfs backend in a subpackage
and rename classes for better consistency:
- move WeedFiler in b/seaweedfs/http.py and rename as HttpFiler
- move WeedObjStorage in b/seaweedfs/objstorage.py and rename as
SeaweedFilerObjStorage.
commit 82d9714b0ae5a3687da331c2198010b8d62c8c0b
Author: David Douard <david.douard@sdfa3.org>
Date: Thu Oct 21 09:58:06 2021 +0200
Use get_objstorage in seaweedfs tests instead of direct class
instanciation
commit 38c02dcfae2baa141c7149d5556123fe7341b54b
Author: David Douard <david.douard@sdfa3.org>
Date: Thu Oct 21 09:55:50 2021 +0200
Add support for deprecation of objstorage cls in factory
and deprecate "weed" in favor of "seaweedfs".Link to build: https://jenkins.softwareheritage.org/job/DOBJS/job/tests-on-diff/61/ Comment Actions Build is green Patch application report for D6526 (id=23729)Could not rebase; Attempt merge onto 6269067ca7... Updating 6269067..bcbbfd4
Fast-forward
swh/objstorage/backends/seaweedfs/__init__.py | 1 +
swh/objstorage/backends/seaweedfs/http.py | 101 ++++++++++++++++++++
.../{seaweed.py => seaweedfs/objstorage.py} | 105 ++-------------------
swh/objstorage/factory.py | 13 ++-
swh/objstorage/tests/test_objstorage_seaweedfs.py | 6 +-
5 files changed, 122 insertions(+), 104 deletions(-)
create mode 100644 swh/objstorage/backends/seaweedfs/__init__.py
create mode 100644 swh/objstorage/backends/seaweedfs/http.py
rename swh/objstorage/backends/{seaweed.py => seaweedfs/objstorage.py} (59%)Changes applied before testcommit bcbbfd466987179d2f130d7da637e5de11b0dfd2
Author: David Douard <david.douard@sdfa3.org>
Date: Thu Oct 21 09:49:54 2021 +0200
Reorganise the seaweedfs backend in a subpackage
and rename classes for better consistency:
- move WeedFiler in b/seaweedfs/http.py and rename as HttpFiler
- move WeedObjStorage in b/seaweedfs/objstorage.py and rename as
SeaweedFilerObjStorage.
commit 82d9714b0ae5a3687da331c2198010b8d62c8c0b
Author: David Douard <david.douard@sdfa3.org>
Date: Thu Oct 21 09:58:06 2021 +0200
Use get_objstorage in seaweedfs tests instead of direct class
instanciation
commit 38c02dcfae2baa141c7149d5556123fe7341b54b
Author: David Douard <david.douard@sdfa3.org>
Date: Thu Oct 21 09:55:50 2021 +0200
Add support for deprecation of objstorage cls in factory
and deprecate "weed" in favor of "seaweedfs".See https://jenkins.softwareheritage.org/job/DOBJS/job/tests-on-diff/62/ for more details. |