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

git-boot.sh doesn't detect conflicts #11

Open
terrillmoore opened this issue Aug 17, 2017 · 1 comment
Open

git-boot.sh doesn't detect conflicts #11

terrillmoore opened this issue Aug 17, 2017 · 1 comment
Assignees
Labels

Comments

@terrillmoore
Copy link
Member

git-boot.sh silently proceeds if any library in the Arduino/libraries folder conflicts with a library specified in git-repos.dat. It will appear to succeed, but it will leave the old library unchanged. This causes no end of user confusion.

It's not clear what the tool should do, other than failing. The Arduino environment doesn't support side-by-side installs of different library versions for different sketches. Perhaps the suggestion would be similar to what I tell people when helping them get started: move any conflicting library to a new directory Arduino/libraries.hide. It feels like there's something too-clever-by-half that we could do with symbolic links on Linux and macOS. But that's still not a first-class Windows feature.

@mimiflynn
Copy link
Contributor

Perhaps, move the conflicting libraries to a different folder like /backup/lib-name? We should ask for permission, of course, but it would save the user from having to think terribly deeply about a problem we already know will be common.

@terrillmoore terrillmoore self-assigned this Mar 26, 2018
@terrillmoore terrillmoore added this to To do in V1.0.0 release Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
V1.0.0 release
  
To do
Development

No branches or pull requests

2 participants