Replies: 10 comments 11 replies
-
Would be great to keep backward compatibility and introduce a new command like |
Beta Was this translation helpful? Give feedback.
-
[A feature request, connected to the new copy behavior.] |
Beta Was this translation helpful? Give feedback.
-
Hey there! [storage]
engine = file_system
path = Backup
directory =
[applications_to_sync]
raycast
iterm2 My suggestion is a new configuration file with something like this: [storage]
engine = file_system
path = Backup
directory =
[applications_to_sync_links]
raycast
[applications_to_sync_copy]
iterm2 With this proposal, you can have more flexibility and have both of the two worlds depending on your needs. It would also be possible to keep the current commands. Another possibility could be to add a flag
What do you think? |
Beta Was this translation helpful? Give feedback.
-
Reviewing the proposed change - I'd actually suggest creating a NEW command for the new behavior (such as your Just my 2 cents as a lower friction overall approach. Since anyone who is currently broken, likely already stopped syncing the old way - it's a small chance that people affected are leaving all their commands, scripts, and plans in place without needing adjustment anyhow. Why not just introduce new commands and simplify. As I wrote this, I also was thinking, maybe you just create new verbs entirely to reduce how many extra parameters/words exist? Perhaps something like:
Leaves room to leave the original commands intact, reduce your code changes, remove friction for any current user without this issue, and allows for simply updating the core documentation to make folks aware of the 2 paths of deployment. |
Beta Was this translation helpful? Give feedback.
-
For the new feature, how about keep monitoring the config files and back up them automatically when anything changes? |
Beta Was this translation helpful? Give feedback.
-
Looks like this is settled. |
Beta Was this translation helpful? Give feedback.
-
This is amazing. Highly looking forward! |
Beta Was this translation helpful? Give feedback.
-
To emphasize an important point: with |
Beta Was this translation helpful? Give feedback.
-
If we switch to the new copy files to remote |
Beta Was this translation helpful? Give feedback.
-
Since this would be a breaking change, a I would rather see |
Beta Was this translation helpful? Give feedback.
-
I have more and more requests asking me to implement a "copy" behavior in Mackup: Instead of linking configuration files in a shared folder used by multiple computers, it would copy config files on demand from and to this shared folder.
This is the current UX:
mackup backup
moves local config file in remote folder, and links themmackup restore
links local config file from the remote foldermackup uninstall
removes the links and copy config files from the remote folder locallyThis is what I envision:
mackup link install
moves local config file in remote folder, and links themmackup link
links local config file from the remote foldermackup link uninstall
removes the links and copy config files from the remote folder locallymackup backup
copy local config files in the configured remote foldermackup restore
copy config files from the configured remote folder locallymackup prune
remove remote files that are not present locally anymoreThis would break current Mackup behavior, but I would bump the version to v0.9 and state the breaking change in the changelog.
This would also allow the
glob
pattern for config files in a future release.Any better suggestion?
71 votes ·
Beta Was this translation helpful? Give feedback.
All reactions