Mike McQuaid
4efc1276b3
dev-cmd/audit: make git audit only --new-formula only.
...
Useful in e.g. https://github.com/Homebrew/homebrew-core/pull/46550 to
avoid repeatedly triggering a failing audit.
2020-01-08 12:12:26 +00:00
Gautham Goli
959b88266d
ARGV: Replace usages of ARGV.resolved_formulae with Homebrew.args
2020-01-02 13:56:19 +00:00
Mike McQuaid
76711e3222
Fix Rubocop 0.78.0 failures.
2019-12-19 12:01:51 +00:00
Gautham Goli
685a6b4da6
ARGV: Replace usages of ARGV.named with Homebrew.args.named
2019-12-18 20:38:21 +05:30
EricFromCanada
aea6d79d21
option parser: check for extra named args
2019-12-15 00:04:45 -05:00
EricFromCanada
90e830c19e
cmd: add raises for invalid input
2019-12-15 00:04:45 -05:00
EricFromCanada
2f7c3afeb8
cmd: improve wording of messages, spacing
2019-12-15 00:04:45 -05:00
EricFromCanada
f0270a585c
desc/audit: remove messages obviated by new arg parser
2019-12-13 15:23:38 -05:00
Gautham Goli
22e25dd593
argv: move formulae to cli/args
2019-12-11 16:36:23 +05:30
Mike McQuaid
40c6fbdccf
bump-formula-pr: tweak fix syntax.
2019-12-07 11:27:27 +00:00
Fred Emmott
3339d5af32
Fix bump-formula-pr
on a file with no tap
...
fixes #6821
2019-12-06 11:10:01 -08:00
Figroc Chen
3c09ab0d06
extract: semver aware
2019-12-03 21:45:55 +08:00
Mike McQuaid
6decac5875
Merge pull request #6803 from MikeMcQuaid/latest_version_installed
...
Rename Formula#installed? to Formula#latest_version_installed?
2019-12-03 12:09:01 +00:00
Mike McQuaid
5dd8ead51a
Rename Formula#installed? to Formula#latest_version_installed?
...
This naming has always been a bit weird and confusing so let's change
it and provide a `compat` fallback for later deprecation.
2019-12-03 11:42:42 +00:00
EricFromCanada
b817796562
Grammar fixes for status messages
2019-12-02 11:38:06 -05:00
EricFromCanada
9bfd597991
Format debug messages with odebug
2019-12-02 11:33:19 -05:00
Mike McQuaid
766fc4b301
Fix RuboCop 0.77.0 failures.
2019-11-28 15:10:50 +00:00
Mike McQuaid
2e382cdbdf
Merge pull request #6776 from maxim-belkin/dawid66++
...
GitHub Actions: get username if we don't have it
2019-11-27 12:21:07 +00:00
Maxim Belkin
5ba5a2795e
Fix signature for forked_repo_info
2019-11-26 12:14:21 -06:00
Maxim Belkin
40b0b32a72
Revert "bump-formula-pr: fix forking logic"
...
This reverts commit c5da90e0eb2ade879d7e60a0ec6a193aad3f8afb.
2019-11-26 12:10:14 -06:00
Mike McQuaid
96e0686d78
Merge pull request #6778 from bayandin/audit-check-resources-uniq-name
...
dev-cmd/audit: check resource name does not match formula name
2019-11-26 16:25:47 +00:00
Tom Schoonjans
e704bf7184
audit: add libepoxy 1.5.4 to whitelist
2019-11-26 10:26:17 +00:00
Alexander Bayandin
349f37be68
dev-cmd/audit: check resource name does not match formula name
2019-11-26 01:02:27 +00:00
Dawid Dziurla
c5da90e0eb
bump-formula-pr: fix forking logic
2019-11-23 14:08:28 +01:00
Mike McQuaid
28635a7fe4
Merge pull request #6723 from maxim-belkin/gh-actions/no-fork-prs
...
bump-formula-pr: enable same-repo (no-fork) Pull Requests
2019-11-22 09:06:48 +00:00
Mike McQuaid
04835db85e
Move some brew-test-bot logic to GitHub Actions.
...
This will improve the output and ease of parsing while allowing code to
be removed from brew-test-bot which relates only to a single repo (this
one).
2019-11-21 19:50:23 +00:00
Maxim Belkin
1a0361a57d
Don't check dry run status where it is not needed
2019-11-21 11:13:10 -06:00
Maxim Belkin
ba7a05a919
bump-formula-pr.rb: Apply suggestions from code review
...
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2019-11-21 11:13:10 -06:00
Maxim Belkin
a031fe911e
Switch from formula.tap.full_name to tap_formula_name
2019-11-21 11:13:10 -06:00
Maxim Belkin
845f65b945
Factor out some code into functions
2019-11-21 11:13:10 -06:00
Maxim Belkin
620e96b929
bump-formula-pr: enable same-repo (no-fork) Pull Requests
2019-11-21 11:13:09 -06:00
Issy Long
02524ba322
Remove --local
from git config
commands as it's the default
...
- The `--local` option doesn't exist in early versions of git (~1.7),
but its behaviour is the default (saving in the current repo's .git
directory).
- As it's the default across versions, we don't need to specify it
everywhere.
- Reported in Linuxbrew/install issue 78.
2019-11-16 10:19:42 +00:00
Mike McQuaid
ba3472b28c
Merge pull request #6718 from dawidd6/bumpable-linux
...
bump-formula-pr: make it usable on linux
2019-11-15 11:42:28 -08:00
Dawid Dziurla
f90612ccf0
bump-formula-pr: make it usable on linux
...
This commit makes it possible to use `bump-formula-pr` on linux to
contribute to `homebrew-core` as easily as it is on macOS, but with some
additional steps made before actual bumping of the formula.
Differences in the process (before bumping):
- add `homebrew-core` remote named `homebrew`
- fetch `homebrew/master`
- check if formula exists in `homebrew-core`
- switch to `homebrew/master` ref
2019-11-15 13:22:31 +01:00
Mike McQuaid
1b926389ad
Merge pull request #6738 from dunkmann00/audit_env
...
Fix Audit check for `env :std`
2019-11-13 17:58:56 -08:00
George Waters
8221e32ad4
Fix Audit check for env :std
...
When performing a strict audit of a formula in the core tap, it was
possible that the check for `env :std` would not happen.
2019-11-13 20:33:43 -05:00
Mike McQuaid
9d539d6b3b
Merge pull request #6704 from MikeMcQuaid/deprecation-disable-remove
...
Handle 2.2.0 deprecations/disableds
2019-11-13 17:26:30 -08:00
Mike McQuaid
5904aab98a
Merge pull request #6622 from zachauten/argv_kegs
...
Moved kegs from ARGV to args.rb
2019-11-13 00:22:09 +00:00
Zach Auten
fd429d0d75
Moved kegs from ARGV to args.rb
2019-11-09 11:56:47 -05:00
Markus Reiter
6521dbbad7
Merge pull request #6682 from reitermarkus/openjdk
...
Allow `JAVA_HOME` in formulae depending on `openjdk`.
2019-11-06 23:24:54 +01:00
Mike McQuaid
f3afedb4ff
utils#system: improve verbose output.
...
This previously output the hilarious long and unnecessary LOAD_PATH.
2019-11-06 15:25:51 +00:00
Mike McQuaid
176297d361
Handle 2.2.0 deprecations/disableds
...
- Make all `odeprecated` from 2.1.0 `odisabled` instead
- Remove dead code that won't be run now
- Remove (unused) `or_later` handling for bottles
2019-11-06 15:25:40 +00:00
Mike McQuaid
ddcbdbe0c0
formula: cache runtime_dependencies related stuff.
2019-11-06 10:04:13 +00:00
Mike McQuaid
eeb9ac36a2
keg: cache runtime_dependencies.
2019-11-06 10:04:13 +00:00
Mike McQuaid
33330ba5b1
Merge pull request #6687 from jonchang/frozen-string-literal
...
Ruby 2.6 frozen string literals
2019-11-04 10:33:13 +00:00
Jonathan Chang
81db0e9551
dev-cmd: enable frozen string literals
...
Now that we use Ruby 2.6 we can fix these last two files.
2019-11-04 21:00:20 +11:00
Jonathan Chang
ae9638a80a
audit: better check for forked repo
...
Co-Authored-By: Steven Peters <scpeters@openrobotics.org>
2019-11-04 13:17:48 +11:00
Markus Reiter
b31c5cb137
Allow JAVA_HOME
in formulae depending on openjdk
.
2019-11-03 18:25:06 +01:00
Abi أب
990d45881f
Use Xcode_10.2.1
...
`brew doctor` will return exit code 1 if using Xcode_10.2
```==> brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Your Xcode (10.2) is outdated.
Please update to Xcode 10.2.1 (or delete it).
Xcode can be updated from the App Store.
==> FAILED
```
2019-10-28 23:59:01 +01:00
Mike McQuaid
333642927b
Merge pull request #6607 from dawidd6/keep-old-but-not-cellar
...
bottle: don't keep old cellar
2019-10-21 13:37:17 +01:00