-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Replacing all ARGV references with Homebrew.args #6251
Conversation
Yep, this is basically what I was planning on doing. Thanks for picking up the issue! |
Wow, thanks for this! Great work so far!
Yup, run
I'd be happy with a global change but it's probably a little bit more involved than a global search and replace, unfortunately. Note from #5730 (comment):
So I'd suggest excluding at least those files and Shout at all if I/we can help at all and thanks again for the PR! |
Thanks! |
How are you running it? Does
Yup: |
I agree with @MikeMcQuaid here. An incremental approach would be best in this case. Global change would also work as long as you have a lot of patience to fix all the failing tests one by one. |
@mofo37 Let us know if you'd rather open some smaller PRs instead as per-@GauthamGoli's suggestion as he may also be able to help a bit with this project. |
@BenMusch did you ever get these tests to fail locally? #5762 (comment) |
Sorry @mofo37, I don't remember enough about my work on this and don't really have the time to set it up again. Sorry and good luck! |
@mofo37 How are you running |
@MikeMcQuaid When I point to the folder I'm working in with How do I get it to point to the correct directory? |
@mofo37 I don't think this is the preferred way to do things, but the quick fix I used to develop on Homebrew was just to symlink Homebrew to my source code directory and work from there. Some clearer steps:
This sets things up so that:
Then, the only issues I ran into were brew auto-updating and changing the branches. to fix that, I set these variables in my
If you add those and then run Again: I'm not sure if this is the preferred way of doing things, but it's what I managed to work make for myself when I worked on a few bugfixes One last thing: This is me recalling something I last set up a few months back. If you run into any commands / config that doesn't seem right here, it's probably because I'm wrong. Feel free to ask me if anything is unclear / confusing! |
Sorry @mofo37 but I'm closing this out until you're able to figure out how to test the changes locally. Happy to help with that: just shout. |
Issue reference: #5730
Updated all existing tests.
brew style
with your changes locally?brew tests
with your changes locally?Questions:
ARGV
filenames are still in existence, should they be changed toHomebrew_args
or something similar?@BenMusch is this what you were expecting?