Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best way to update a script? #190

Closed
allaire opened this issue Jan 23, 2014 · 7 comments
Closed

Best way to update a script? #190

allaire opened this issue Jan 23, 2014 · 7 comments

Comments

@allaire
Copy link

allaire commented Jan 23, 2014

If an app script removed some stuff to symlinks, but you ran mackup backup with the previous version and symlinked more files than the new version. Is there a better way to be up to date without running mackup uninstall, remove Mackup directory and then run mackup backup?

@lra
Copy link
Owner

lra commented Jan 23, 2014

Yep that's a tough problem.
One of the thing I had in mind was to have mackup check any file in the Mackup Dropbox folder, and put it back to it's original place if there is no link for it anymore.

Thoughts ?

@allaire
Copy link
Author

allaire commented Jan 23, 2014

That would be great!

lra added a commit that referenced this issue Jan 23, 2014
@lra
Copy link
Owner

lra commented Jan 23, 2014

Added to the TODO
To answer your question, right now, the best way is to copy back the files manually at their original place =/

@allaire
Copy link
Author

allaire commented Jan 24, 2014

Yes, or do mackup uninstall (which does that), then I delete the Mackup directory in my dropbox (shouldn't it be already whipped since uninstall should remove all symlinks and put back original?), and then run Mackup backup again. This ensure that every app run the latest script from its version. Thoughts?

@lra
Copy link
Owner

lra commented Jan 24, 2014

I don't want to delete the Mackup folder after uninstall for 2 reasons:

  • I want to keep the history of you config in mackup
  • I want people to still have the original files if mackup is uninstalling the files in a weird place, in case something goes wrong (you never know, a link to /dev/null and you loose a private key ?)

Deleting the mackup folder in dropbox seems to be easy enough to balance with the security of keeping the files after uninstallation. But maybe I'm too cautious =)

@allaire
Copy link
Author

allaire commented Jan 24, 2014

Got it. I always make sure to backup it first on desktop before deleting it and running mackup backup again :)

@lra
Copy link
Owner

lra commented Aug 9, 2015

Dupe of #605

@lra lra closed this as completed Aug 10, 2015
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

No branches or pull requests

2 participants