-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
backend: Add Huawei Drive support #8886
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
base: master
Are you sure you want to change the base?
Conversation
- Introduced the Huawei Drive backend in rclone, including API types and main functionality. - Implemented OAuth2 authentication for user credentials. - Added methods for file and directory operations, including upload, download, and metadata management. - Created integration tests for the Huawei Drive backend to ensure functionality. - Added unit tests for core methods such as NewFs, Name, Root, String, Precision, and Hashes.
…s in documentation
…umentation with setup instructions
… for quota information retrieval
…inalization process
…ons and clarify application access requirements
…d add special case for root directory moves
…ime support, and add comprehensive testing script - Updated precision method to indicate that modification times are not supported by Huawei Drive API. - Adjusted object creation to store modification time and size. - Modified SetModTime method to return an error indicating that modification times cannot be set. - Added tests for modification time support and time formatting. - Introduced a comprehensive bash script for testing various functionalities of the Huawei Drive integration, including connection tests, file operations, and performance evaluations.
…es for special characters
…oid network calls and improve move operations
… Huawei Drive integration
…uawei Drive integration
…g in Huawei Drive integration
|
All planned implementation work has been completed, including authentication, file operations, and comprehensive testing. This pull request is now ready for final review and merge. |
- Remove unused `getRootDirectoryID` function. - Introduce `QueryFilter` struct for building query conditions. - Enhance `listDirectory` to support additional filters. - Implement `CleanUp` method to empty the recycle bin. - Add `validateFileName` function to enforce filename restrictions. - Update error handling in `shouldRetry` to manage specific error codes. - Improve tests for filename validation, query filters, and error handling. - Ensure proper implementation of interfaces and method signatures.
…Drive integration
…ions in Huawei Drive tests
…r cross-platform compatibility
…rt additional formats
…on and directory cache management
|
Can you show the results of the |
|
Thanks, doing great, let us know if you want any help or need us to take a look! |




What is the purpose of this change?
This PR adds support for Huawei Drive (华为云盘) as a new backend for rclone. Huawei Drive is a cloud storage service provided by Huawei, primarily used in China.
Key features implemented:
Technical implementation:
Was the change discussed in an issue or in the forum before?
This is a new backend implementation to support users who need to integrate Huawei Drive with rclone for backup, sync, and file management operations.
Checklist
Files Added/Modified
Testing
The backend has been thoroughly tested with:
Configuration Example
Performance
Note for reviewers: