Update to 1.2.2 and add multi-dir dot loading#407
Draft
phreed wants to merge 8 commits intovolllly:mainfrom
Draft
Update to 1.2.2 and add multi-dir dot loading#407phreed wants to merge 8 commits intovolllly:mainfrom
phreed wants to merge 8 commits intovolllly:mainfrom
Conversation
- Implement multi-directory dot loading in dot/mod.rs with conflict resolution and source tracking - Use read_dots_from_config in Install command and read_dots_with_sources in Link, and adjust current link logic - Resolve home for dotfiles via first_path in main config loading - Extend CLI with Default on Dots struct to satisfy tests - Add extensive tests for config, dotfiles paths, serde support, and CLI behavior - Bump Cargo.toml and Cargo.lock versions to 1.2.2
Update config to accept a list of dotfiles paths and use the primary directory as the target for repo operations Refactor Init and Clone to use primary_dotfiles_path instead of dotfiles Add migration/docs for multi-dotfiles with examples and best practices
- Add custom Deserialize implementation for LinkType to accept both 'symbolic'/'hard' (lowercase) and 'Symbolic'/'Hard' (uppercase) variants - Add Copy trait to LinkType for better ergonomics - Add comprehensive tests for case-insensitive deserialization - Improve user experience by accepting common case variations - Include fix script for resolving multi-directory configuration issues Fixes issue where users had to use exact case 'Symbolic' instead of natural lowercase 'symbolic' in configuration files.
- Add toolchain: stable property to dtolnay/rust-toolchain@stable steps - Ensures cargo fmt uses stable toolchain explicitly - Fix trailing whitespace in fmt-command.yml
- Update Cargo.toml version from 1.2.2 to 1.2.2.1 - Aligns with the git tag created for empty dot.yaml documentation and tests
- Change version from 1.2.2.1 to 1.2.3 to comply with Cargo's semver requirements - Fixes linter error: 'unexpected character . after patch version number'
- Run cargo fmt to fix code formatting issues in test files - Update Cargo.lock with new version 1.2.3 - Ensures CI lint checks will pass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is covered in the discussion:
#403