Dawid Dziurla
359dc9674c
bump-formula-pr: delete linux sha256 line if required
...
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-01-18 15:27:40 +01:00
Gautham Goli
de9295cc7a
Merge pull request #6939 from Homebrew/argv-cleanup-8
...
ARGV: Replaces usages of ARGV.force? with Homebrew.args.force?
2020-01-15 21:25:36 +05:30
Gautham Goli
161c3fb6a4
ARGV: Replaces usages of ARGV.force? with Homebrew.args.force?
2020-01-15 21:09:31 +05:30
Mike McQuaid
ea1a3ea6e0
dev-cmd/bottle: run sudo --purge
non-interactively.
...
This should avoid hanging if permissions are not granted.
2020-01-15 10:48:13 +00:00
Mike McQuaid
36dac3d41f
dev-cmd/bottle: add HOMEBREW_BOTTLE_SUDO_PURGE.
...
Add environment variable to optionally run `sudo purge` a few times to
potentially work around #6539 .
2020-01-14 15:09:13 +00:00
Jonathan Chang
bcb8f4da5f
Merge pull request #6903 from jonchang/audit-core-wording
...
audit: add "homebrew/core" for relevant checks
2020-01-08 15:53:45 -05:00
Jonathan Chang
779304df68
audit: add "homebrew/core" for relevant checks
2020-01-08 15:38:48 -05:00
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