Commit Graph

16 Commits

Author SHA1 Message Date
Glenn Thompson dbbb8f8bb3 fix: Resolve path nesting issue and complete restoration functionality
Major fixes:
- Fix path nesting by preserving original relative paths
- Resolve metadata timestamp serialization issues
- Complete stash -> restore workflow now working
- Clean directory structure: files/config/app/file.yml (no nesting)
- Proper symlink creation and restoration
- Enhanced metadata tracking with readable timestamps

The GNU Stow replacement is now fully functional with:
- Intelligent file/directory level stashing
- Clean path structure preservation
- Complete restoration capabilities
- Metadata-driven path reconstruction
2025-09-28 13:00:35 +03:00
Glenn Thompson 31f44a5051 feat: Add intelligent stashing and restoration functionality
Major improvements toward GNU Stow replacement:
- Add intelligent file vs directory level stashing
- Add metadata tracking for proper restoration
- Add restoration functionality (-R flag)
- Detect existing symlinks and adapt behavior
- Enhanced help with restoration examples
- Path structure preservation for dotfiles management

Still needs:
- Fix path nesting issue in target creation
- Complete directory-level intelligence testing
- Conflict resolution improvements
2025-09-28 12:52:01 +03:00
Glenn Thompson 47b78215d2 feat: Add GNU Stow-like functionality to modular stash
- Add deploy mode (-d) for batch deployment from dotfiles repo
- Add dot syntax support (stash .) for reverse symlinking
- Add interactive mode improvements
- Add package-specific deployment (stash package-name)
- Update help module with new functionality
- Create wrapper script that sets proper GUILE_LOAD_PATH
- Maintain clean modular architecture
- All original stash functionality preserved

Usage:
  ./stash -d                    # Deploy all packages
  ./stash shell                 # Deploy shell package
  ./stash .                     # Dot syntax symlinking
  ./stash -s ~/.zshrc -t ~/.dotfiles/shell/zshrc  # Traditional stashing
2025-09-28 12:19:39 +03:00
glenneth1 ca2c9ce010 docs: add USER_GUIDE and update installation instructions
- Add comprehensive USER_GUIDE.md with installation and configuration steps
- Update README.md with Guix installation instructions
- Update channels.scm.example to use correct repository URL and branch
- Update package definition for proper channel distribution
2024-12-06 13:09:38 +03:00
glenneth1 db11c09f3a feat: add installation instructions and fix dot syntax stashing
- Add detailed installation instructions to README
- Fix dot syntax stashing to use parent directory as target
- Fix cross-filesystem stashing issues
- Update test script to handle module paths correctly
2024-12-06 08:39:12 +03:00
glenneth1 269afd966d feat: implement robust path handling and symlink creation
Major changes:
- Add package management module for handling source/target paths
- Implement tree operations for symlink creation
- Add support for both dot syntax and explicit paths
- Enhance path handling with home directory expansion
- Add comprehensive documentation in README and DEVLOG
- Fix symlink creation for all use cases
- Add test suite for path handling and symlink creation
2024-12-06 07:55:01 +03:00
GLENN THOMPSON d76a557cdc Removed excess and commented out code 2024-10-04 15:22:39 +03:00
GLENN THOMPSON f5c89a0b71 Created modules from main scm file 2024-10-04 14:40:34 +03:00
GLENN THOMPSON c61aa562da Added help module and -t and -s short flags 2024-10-04 12:48:31 +03:00
GLENN THOMPSON 6c6493a2a7 Removed redundant code and comments 2024-10-04 10:19:44 +03:00
GLENN THOMPSON 30c64c7827 Added version flags and logging 2024-10-04 10:16:37 +03:00
GLENN THOMPSON 94abc78ae5 Updated LICENSE 2024-09-23 06:15:44 +03:00
GLENN THOMPSON 3fc833e916 Changed version numbering to alpha line 2024-09-22 15:14:43 +03:00
GLENN THOMPSON 1222db82ee Added backup function 2024-09-22 15:13:26 +03:00
GLENN THOMPSON 9bf54a5e47 Updated the README.md file 2024-09-22 11:19:19 +03:00
GLENN THOMPSON 9d86d0d7d5 mproved logging with date and timestamp 2024-09-22 11:13:51 +03:00