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

Backups abort upon finding a symlink #1000

Closed
LPGhatguy opened this issue Sep 21, 2015 · 8 comments
Closed

Backups abort upon finding a symlink #1000

LPGhatguy opened this issue Sep 21, 2015 · 8 comments

Comments

@LPGhatguy
Copy link

This morning, I had my TypeScript package with important logs wiped out by a Package Control package upgrade. It didn't back up the folder because it had a symlink in it -- and I was notified of this.

Would it be possible to have one of:

  • Support copying of symlinks when backing up plugins
  • Abort an upgrade if a backup wasn't successful

This was on OS X with Sublime Text 3083.

@wbond
Copy link
Owner

wbond commented Sep 21, 2015

Can you send a debug log of this happening please?

@wbond wbond added the bug label Sep 21, 2015
@LPGhatguy
Copy link
Author

Where would a log of this be saved on the system? I hit the same issue on my Windows 10 machine as well.

@wbond
Copy link
Owner

wbond commented Sep 22, 2015

It is not saved, you'll have to copy the error from the ST console after it happens.

@wbond
Copy link
Owner

wbond commented Sep 22, 2015

But yeah, you shouldn't hand edit a package from a source you don't control because Package Control could upgrade it at any time. Instead, fork the package and use git/hg to clone it, or rename the package and delete any package-metadata.json since that is a file PC uses to know it controls a package. Then you can deal with upgrades as you wish.

@wbond
Copy link
Owner

wbond commented Sep 28, 2015

Ping for a debug log.

@wbond wbond closed this as completed Oct 1, 2015
@LPGhatguy
Copy link
Author

Apologies for the delay, there's been quite a crunch at the office.

Are there any tricks to reproducing a package installation/upgrade so I could get a log for you?

@wbond wbond reopened this Oct 2, 2015
@LPGhatguy
Copy link
Author

With a new package upgrade, I was able to reproduce this again and nab some sort of log!

http://hastebin.com/aramasicid.txt

Additionally, there was a nasty popup complaining about permissions being denied for a folder inside of the plugin folder.

@FichteFoll
Copy link
Collaborator

Unrelated, but you should really update SublimeREPL. The mnemonic messages are quite annoying and haven been fixed months ago.

deathaxe added a commit that referenced this issue Oct 8, 2022
@deathaxe deathaxe added this to the Package Control 4.0 milestone Mar 18, 2023
@deathaxe deathaxe closed this as completed Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants