lusingander / stu

TUI explorer application for Amazon S3 (AWS S3) 🪣
https://lusingander.github.io/stu/
MIT License
245 stars 8 forks source link

Support Garage #18

Closed williamdes closed 2 months ago

williamdes commented 3 months ago

Garage is a pure Rust S3 server: https://garagehq.deuxfleurs.fr/

They do not support versions yet: https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/166

https://garagehq.deuxfleurs.fr/documentation/reference-manual/s3-compatibility/

Endpoint Garage Openstack Swift Ceph Object Gateway Riak CS OpenIO
DeleteBucketLifecycle ✅ Implemented
GetBucketLifecycleConfiguration ✅ Implemented
PutBucketLifecycleConfiguration ⚠ Partially implemented (see below)
GetBucketVersioning ❌ Stub (see below)
ListObjectVersions ❌ Missing
PutBucketVersioning ❌ Missing
williamdes commented 3 months ago

For me this would qualify as a bug ERROR: Failed to load object versions When I try to view an object

lusingander commented 3 months ago

When retrieving object details, version information is also retrieved, which causes an error.

It might be a good idea to handle the missing information in the tab, or to retrieve it when the tab is opened. Even if you are using S3, the same problem can occur due to permissions.

lusingander commented 2 months ago

I haven't confirmed whether it works with "Garage", but I've fixed as mentioned in the comment above.

williamdes commented 2 months ago

I haven't confirmed whether it works with "Garage", but I've fixed as mentioned in the comment above.

Thank you, this fix works fine with Garage 🎉

lusingander commented 2 months ago

Thank you, this fix works fine with Garage 🎉

Great!