Skip to content

Fix issues with from-stow#112

Closed
MikeTheGreat wants to merge 1 commit intoRaphGL:masterfrom
MikeTheGreat:mikep-from-stow
Closed

Fix issues with from-stow#112
MikeTheGreat wants to merge 1 commit intoRaphGL:masterfrom
MikeTheGreat:mikep-from-stow

Conversation

@MikeTheGreat
Copy link
Copy Markdown

for the from-stow feature:

  1. from-stow wants to convert into a temporary directory but it failed because it never created the temp dir ; now it does
  2. refactor help text so that it shows up when you run tuckr -h from-stow (not just when you run the command itself)
  3. if dotfiles_old already exists we exit with a clear message saying this (instead of an error when we try to rename the existing dotfiles dir)
  4. misc, minor adjustments to dry-run - tidying up messages, and also prevent a failure when the new, temp dotfiles dir wasn't created

for the from-stow feature:

1. from-stow wants to convert into a temporary directory but it failed because it never created the temp dir ; now it does
2. refactor help text so that it shows up when you run tuckr -h from-stow (not just when you run the command itself)
3. if dotfiles_old already exists we exit with a clear message saying this (instead of an error when we try to rename the existing dotfiles dir)
4. misc, minor adjustments to dry-run - tidying up messages, and also prevent a failure when the new, temp dotfiles dir wasn't created
@MikeTheGreat
Copy link
Copy Markdown
Author

Sorry - the additional info is printed when you use
tuckr from-stow --help

@RaphGL
Copy link
Copy Markdown
Owner

RaphGL commented Oct 29, 2025

I found this implementation rather messy. I went to tweak the command to fix it myself and I couldn't do it. So my implementation itself is also bad. So I'm just gonna rewrite this command altogether. I'll keep the commit up for now so that I can look at your bullet points.

@MikeTheGreat
Copy link
Copy Markdown
Author

Would you happen to have a style guide that you could share?

@RaphGL
Copy link
Copy Markdown
Owner

RaphGL commented Nov 8, 2025

With a fresh mind I managed to adapt the old code and fix all the issues. I've added pretty much all your bullet points. Test it out and let me know if something comes up

MikeTheGreat added a commit to MikeTheGreat/Tuckr that referenced this pull request Nov 8, 2025
@MikeTheGreat
Copy link
Copy Markdown
Author

Thanks!

I've got a reply in #116

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.

2 participants