feat: Add Google Drive storage backend - #8
Conversation
- Add GoogleDriveManager for comprehensive Drive operations - Implement chunked upload with retry logic for large RAW files - Add batch upload support with parallel processing - Include date-based folder organization - Add search, download, and sharing capabilities - Configure 5MB chunks with exponential backoff for reliability - Add Google Drive dependencies to requirements.txt 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
|
🤖 Claude Code Review Error Sorry, I encountered an error while reviewing this PR: Please check the workflow logs for more details. |
|
❌ Claude Code Review Failed: Please check the workflow logs for details. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Pull Request Overview
Implements a complete Google Drive storage backend for PhotoSight to handle photo storage and management. The implementation focuses on handling large RAW files (20-50MB) with reliable upload mechanisms and comprehensive Drive operations.
- Adds chunked upload support with retry logic and exponential backoff for reliable large file transfers
- Implements date-based folder organization and comprehensive Drive operations (upload, download, search, share)
- Provides batch upload capabilities with configurable parallelism for processing multiple photos
Reviewed Changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| photosight/storage/gdrive_manager.py | Main Google Drive manager with authentication, folder management, and all Drive operations |
| photosight/storage/chunked_upload.py | Chunked upload implementation with retry logic and batch processing for large RAW files |
| photosight/storage/init.py | Package initialization exposing key classes |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
🤖 Claude Code Review Error Sorry, I encountered an error while reviewing this PR: Please check the workflow logs for more details. |
|
❌ Claude Code Review Failed: Please check the workflow logs for details. |
|
🤖 Claude Code Review Error Sorry, I encountered an error while reviewing this PR: Please check the workflow logs for more details. |
|
❌ Claude Code Review Failed: Please check the workflow logs for details. |
|
🤖 Claude Code Review Error Sorry, I encountered an error while reviewing this PR: Please check the workflow logs for more details. |
|
❌ Claude Code Review Failed: Please check the workflow logs for details. |
Summary
Key Features
Storage Manager (
gdrive_manager.py)Chunked Upload (
chunked_upload.py)Configuration
Technical Details
Testing
Dependencies Added
🤖 Generated with Claude Code