-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
PULL_REQUEST_TEMPLATE: pass --installed to brew #201146
Conversation
On a `--new` formula, after successful local `brew install`, `brew audit --new formula_or_formula_filename` will otherwise fail due to the formula not being available from a cask, and, to quote, ``` $ brew audit --new rpds-py.rb Error: Calling brew audit [path ...] is disabled! Use brew audit [name ...] instead. Please report this issue: https://docs.brew.sh/Troubleshooting $ brew audit --new rpds-py Error: These formulae are not in any locally installed taps! rpds-py You may need to run `brew tap` to install additional taps. ```
I cannot get the reason of the changes. Your error is not related to the audit option |
So, I definitely can't run So, I'm afraid it actually is related. |
I'm unable to reproduce the issue you describe so might be useful to know more about your setup. Where is $ brew create --set-name testformula --set-version 1 --no-fetch https://example.com
$ brew audit --new testformula
testformula
* Stable: Checksum is missing
* line 1, col 1: Please remove default template comments
... |
I suspect you might not tap implicitly to the
|
Formula/r/ ; I'm in that directory when I call I think the problem here is that the container I ran That would be my mistake, then! I'm a bit confused that @daeho-ro thus: Thank you for the help! And my apologies for the time spent on this. (Now I just need to figure out how to, in the future, do things like #201147, where I saved someone else's old stale PR. Would I need to do the |
Maybe you missed |
On a
--new
formula, after successful localbrew install
,brew audit --new formula_or_formula_filename
will otherwise fail due to the formula not being available from a cask, and, to quote,HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?