-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Broken repo after brew/core split #21
Comments
Does |
Let me check…OK, here's what happened when I did what you suggested:
In particular, the errors that |
It looks like you might be back in business to me; is anything not working now? If you try running |
@tdsmith: If it helps, I'm on OS X 'El Capitan' v10.11.4. Also, here's the exact sequence of commands I used before my current problems with Homebrew cropped up and which I believe might be at least partly responsible:
The stuff having to do with branching and the |
@tdsmith: Well, I'm not exactly sure what to do with my downstream fork of what has become Homebrew/legacy-homebrew. Given the core/formula split, I think I should just configure my local Homebrew install to ignore it, delete it, and start fresh whenever I next need to submit a pull request, but I want to make sure I know what to do (other than remembering not to push to or pull from said old fork) before I attempt that. P. S.: Here's the output I got from
I take it I can just discard the stash? Other than that, everything does look OK, so thank you. |
Yeh, you should refork either Homebrew/brew or Homebrew/homebrew-core as desired and then you can |
@MikeMcQuaid: Thanks for clearing that up. Should we update Homebrew's documentation to let other contributors know that this is the recommended course of action, though? I imagine that I might not end up being the only one getting confused by errors otherwise. |
@tdsmith: I decided to run |
👍 |
@tdsmith: This is slightly off topic, but to which of my previous comments did you mean your 'thumbs up' emoticon to apply? Since you put it in a separate post instead of applying it to the relevant comment using GitHub's recently added 'Reactions' feature, I can't tell. |
The most recent one, directed to me. |
@tdsmith: Ah, thanks. |
I think there's nothing to follow up on here; glad it's working for you now! |
@tdsmith: Well, there was that little documentation fix I proposed to @MikeMcQuaid in this comment, but I should probably just re-submit that as a separate issue (or maybe even a full-fledged pull request if either of you guys can tell me what kind of changes would help prevent others' confusion over problems like mine) now that we're done here. |
Forgive me if this is a dumb question but is this issue related to this error I'm getting now?
|
@diversario No, this is unrelated. Please open a new issue and try to include a bit more information (what was the behavior in the past, what did you expect to happen, …) so we have a chance to help you. |
During an attempt to update my own copy of the Homebrew repository after it was split in two upstream and I ran
brew update -vd
to reflect this change, I was presented with the following output upon runninggit -C $(brew --repository) push -v
…:…and
git -C $(brew --repository) pull -v RandomDSdevel
, …:…, respectively. Even after running the following commands…:
sudo chown -Rv $(whoami) /usr/local
sudo chmod -R +a "zadmin allow delete,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,list,search,add_file,add_subdirectory,delete_child,read,write,append,execute,file_inherit,directory_inherit" /usr/local
sudo chmod -R +a "bryce allow delete,readattr,writeattr,readextattr,writeextattr,readsecurityritesecurity,list,search,add_file,add_subdirectory,delete_child,read,write,append,execute,file_inherit,directory_inherit" /usr/local
sudo chmod -R +a "_developer allow delete,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,list,search,add_file,add_subdirectory,delete_child,read,write,append,execute,file_inherit,directory_inherit" /usr/local
…in an attempt to remedy any permissions errors I might be having that might have made things worse, I still got errors while trying to push and pull from my Homebrew fork, though, this time, they were different: for
git -C $(brew --repository) push -v
, I got this, …:…, whereas for
git -C $(brew --repository) pull -v RandomDSdevel
, I got this:When trying to run
brew update -vd
, I got this:Essentially, I think I just completely messed up my Homebrew install! I'm not entirely sure what to do to fix it, so can you guys help me fix it, please?
The text was updated successfully, but these errors were encountered: