Skip to content
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

Next version #540

Open
wants to merge 264 commits into
base: main
Choose a base branch
from
Open

Next version #540

wants to merge 264 commits into from

Conversation

simulot
Copy link
Owner

@simulot simulot commented Nov 24, 2024

A complete rewrite of Immich-go

- Updated `Browse` and `passTwo` methods in `LocalAssetBrowser` to return `AssetGroup` instead of `LocalAssetFile`.
- Implemented logic to handle different types of asset groups (e.g., motion photos, single images, videos).
- Added album management for asset groups.
- Introduced `AssetGroup` struct in `group.go` to represent linked assets.
- Updated tests to validate and handle `AssetGroup` instead of individual assets.
- Removed redundant album management code from `assetFromFile` method.
- Updated `ReadMetadata`, `metadataFromExiftool`, and `metadataFromDirectRead` functions to return `*metadata.Metadata` and `error` instead of setting `la.Metadata` directly.
- Adjusted logic to handle the returned metadata and error appropriately.
- Add functionality to list the flags and arguments used in the command to provide more context in the logs.
…ind flags to environment variables

Refactor NewRecorder() in fileevents.go to remove debug parameter
Refactor AddCommands() in commands.go to use context and application parameters
Refactor .goreleaser.yaml to update ldflags for version and commit
Refactor CommandTool() in tool.nogo to remove unused imports and update error message
Refactor readFolder.go to update function signature and parameter names
Refactor version.go to initialize version and commit at runtime
Refactor banner.go to update banner with version information
Refactor flagsCommon.go to remove unused flags and function
Refactor upload/TEST_DATA/Takeout3/Photos from 2023/DSC_0238.JPG.json to update creationTime and photoTakenTime
Refactor upload/TEST_DATA/Takeout3/Photos from 2023/DSC_0238_1.JPG.json to update creationTime and photoTakenTime
Refactor upload/TEST_DATA/Takeout3/Photos from 2023/DSC_0238.JPG(1).json to update creationTime and photoTakenTime
Refactor upload/TEST_DATA/Takeout3/Photos from 2023/DSC_0238.JPG to add new file
Refactor upload/TEST_DATA/Takeout3/Photos from 2023/DSC_0238_1.JPG to add new file
Refactor upload/TEST_DATA/Takeout3/Photos from 2023/DSC_0238(1).JPG to add new file
Refactor upload/TEST_DATA/Takeout2/Google Photos/Sans titre(9)/métadonnées.json to add new file
Refactor upload/TEST_DATA/Takeout1/Google Photos/Album test 6-10-23/métadonnées.json to add new file
Refactor cmdVersion/version.go to remove unused file
Refactor version/version.go to update version and commit initialization
Refactor upload/TEST_DATA/Takeout3/Photos from 2023/DSC_0238.JPG.json to update geoData
Refactor upload/TEST_DATA/Takeout3/Photos from 2023/DSC_0238_1.JPG.json to update geoData
Refactor upload/TEST_DATA/Takeout3/Photos from 2023/DSC_0238.JPG(1).json to update geoData
Refactor upload/TEST_DATA/Takeout3/Photos from 2023/DSC_0238.JPG to update title and creationTime
Refactor upload/TEST_DATA/Takeout3/Photos from 2023/DSC_0238_1.JPG to update title and creationTime
Refactor upload/TEST_DATA/Takeout3/Photos from 2023/DSC_0238(1).JPG to update title and creationTime
Refactor upload/TEST_DATA/Takeout2/Google Photos/Sans titre(9)/métadonnées.json to update title and creationTime
Refactor upload/TEST_DATA/Takeout1/Google Photos/Album test 6-10-23/métadonnées.json to update title and creationTime
…urces

- The `upload` command has been refactored to use separate sub-commands for different sources of photos.
- The `upload` command now has a `from-folder` sub-command to upload photos from a folder.
- The `upload` command also has a `from-google-photos` sub-command to upload photos from a Google Photos takeout.
simulot and others added 30 commits November 24, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant