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

Synx can irreversibly remove all your files #128

Open
abdulowork opened this issue Feb 22, 2017 · 1 comment
Open

Synx can irreversibly remove all your files #128

abdulowork opened this issue Feb 22, 2017 · 1 comment

Comments

@abdulowork
Copy link

Synx can delete all the files from the project or corrupt xcodeproj file if stopped in the middle of execution.

Steps to recreate:

  1. Create a new project and put a bunch of swift files in different folders within your project.
  2. Launch synx and try to stop it at "Syncing files that are not included in Xcode project.."
  3. Files disappear

If doesn't happen to you the first time, try a couple times. I was able to corrupt my xcodeproj file and delete all of my swift flies a couple times.

I believe this behavior is very dangerous and should be fixed asap. All transactions within synx must be atomic and should create a backup file before performing any work on the files.

P.S. RIP ✝ homework, commit often guys
@gretzki
Copy link

gretzki commented Apr 5, 2017

I believe this behavior is very dangerous and should be fixed asap. All transactions within synx must be atomic and should create a backup file before performing any work on the files.

Nah..
just git reset your working copy and restart synx. no reason to implement transactions or backup mechanisms.
Working without version control systems like git is very dangerous.

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