-
Notifications
You must be signed in to change notification settings - Fork 1
Implement missing storage-cli operations for AliCloud #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
565a6eb to
1699400
Compare
f6f5c44 to
2bfbdec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR implements five missing storage-cli operations for AliCloud (Alibaba Cloud OSS): copy, delete-recursive, list, properties, and ensure-bucket-exists. These operations bring AliCloud feature parity with other storage providers in the storage-cli tool.
Key Changes
- Added CLI command handlers for the five new operations with argument validation
- Implemented the underlying storage client methods with pagination support for list and delete-recursive operations
- Added comprehensive integration tests for all new operations
- Modified the storage client initialization to cache OSS client and bucket instances
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 16 comments.
Show a summary per file
| File | Description |
|---|---|
| alioss/main.go | Added command handlers for copy, delete-recursive, list, properties, and ensure-bucket-exists with argument validation |
| alioss/client/storage_client.go | Implemented five new storage operations, modified struct to cache client/bucket instances, added BlobProperties type |
| alioss/client/client.go | Added wrapper methods in AliBlobstore to delegate to storage client implementations |
| alioss/integration/general_ali_test.go | Added integration tests for delete-recursive, copy, list, and ensure-bucket-exists operations |
| alioss/client/clientfakes/fake_storage_client.go | Auto-generated fake client code for new interface methods |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
804c940 to
9de39f7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
69237db to
76d7d77
Compare
76d7d77 to
02a1735
Compare
Missing Operations: copy, delete-recursive, list, properties, ensure-bucket-exists.
02a1735 to
4df1287
Compare
cf423f4 to
ee97fc4
Compare
serdarozerr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, added one minor comment
ee2ea21 to
8d04198
Compare
serdarozerr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add missing operations: copy, delete-recursive, list, properties, ensure-bucket-exists.