Skip to content

Update to 1.2.2 and add multi-dir dot loading#407

Draft
phreed wants to merge 8 commits intovolllly:mainfrom
babeloff:multi-dotfile
Draft

Update to 1.2.2 and add multi-dir dot loading#407
phreed wants to merge 8 commits intovolllly:mainfrom
babeloff:multi-dotfile

Conversation

@phreed
Copy link
Copy Markdown

@phreed phreed commented Jan 13, 2026

This is covered in the discussion:
#403

- 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
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