-
Notifications
You must be signed in to change notification settings - Fork 46
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
Make "sw" folder read-only #428
Comments
So, deleting That is: your clone created with Say you've deleted
but if you do Solution 1: make it an ordinary Git cloneYou can simply make it independent from the nonexisting
Solution 2: attach it to another bare cloneYou can recreate your In either case, nothing is screwed up and there is no need to make the I suggest we add a Troubleshooting section with this info and close this ticket. |
I agree for adding a troubleshooting section. What would really help though, and I think there is already a ticket for that, would be the possibility to do "aliBuild reset X" and it would force the rebuild of a specific package. |
I agree that there are some corner cases where this is - unfortunately - needed. |
Unless I'm mistaken (and it happened already in the past ;-) ) this very important information has not yet made it to the documentation ? (nor a reset option been introduced in alibuild) ? Yes, I've tried to remove my sw directory today ... |
Laurent, I am pleased not to be alone doing this type of mistakes ;) |
Action item about documentation added at #486. |
Hi, Coming back to the issue... I was hit again today because I have one source that I'd like to share for two different builds : one local on my mac and one in a docker (centos7) container which has its own sw directory (as a docker volume, because bind mounting is simply too slow for writing). So I tried option 1 : rm .git/objects/info/alternates and that did not go really well... because after that I got :
Is that really the only thing to do to convert a repo to a "regular" one ? |
I discovered that the folder "sw" should not be deleted because everything is screwed if you do so. I propose to make it read only to help prevent users from deleting it by mistake or out of rage ;)
The text was updated successfully, but these errors were encountered: