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
Dawid Dziurla
aa9950282f
bottle: set bottle.cellar to old_spec.cellar if deleting mismatch
...
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2019-10-21 14:11:08 +02:00
Dawid Dziurla
e19fab86c0
bottle: allow prefix cellar to be any*
2019-10-21 13:37:55 +02:00
Cheng XU
94cf0d922e
bottle: do not install patchelf if --skip-relocation flag is passed
2019-10-16 14:29:53 +08:00
Issy Long
1f6168fe8a
Change regexp.match?(string) to string.match?(regexp) everywhere
...
- Only try to call `.match?` on strings that aren't nil.
2019-10-13 23:22:51 +01:00
Issy Long
18e684fad7
Stringify dev-cmd/audit text
variables when used in Regexp matching
...
- To have the audit commands continue to work, and the tests passing
(the previous error was [1]), everywhere we're trying to
`.match?(text)`, instead do `.match?(text.to_s)`.
[1] 5) Homebrew::FormulaAuditor#audit_file __END__ but no DATA
Failure/Error: fa.audit_file
TypeError:
no implicit conversion of Homebrew::FormulaText into String
# ./dev-cmd/audit.rb:267:in `match?'
# ./dev-cmd/audit.rb:267:in `audit_file'
# ./test/dev-cmd/audit_spec.rb:137:in `block (3 levels) in <module:Homebrew>'
2019-10-13 16:04:38 +01:00
Issy Long
69d84ebfd9
Auto-fix Lint/ErbNewArguments offenses
2019-10-13 16:04:29 +01:00
Issy Long
341ea60807
Auto-fix Style/RedundantBegin offenses
...
- This also required auto-fixes for Layout/EmptyLinesAroundBlockBody and
Layout/InconsistentIndentation once the auto-fixer had got rid of the
"redundant begin"s.
2019-10-13 16:04:27 +01:00
Issy Long
b78028b9c2
Auto-fix Performance/RegexpMatch offenses
2019-10-13 16:04:26 +01:00
Dawid Dziurla
86feb5a9de
audit: replace depends_on with uses_from_macos
2019-10-10 17:59:32 +02:00
Mike McQuaid
7ed95ab48e
man: die if blank output received.
2019-10-08 16:37:45 +01:00
Tom Schoonjans
9fc495125d
audit: add gcab 1.3 to whitelist
2019-10-08 10:00:28 +01:00
Markus Reiter
e719744248
Refactor brew style
.
2019-10-05 00:20:06 +02:00
Markus Reiter
b1d0c61fea
Update Gems.
2019-10-03 09:22:44 +02:00
Dawid Dziurla
8ff7601a92
define default prefix constants
...
also use them to detect if prefix line in bottle block is needed
2019-09-30 16:46:53 +02:00
Markus Reiter
749b6ded72
Merge pull request #6491 from dawidd6/create-perl
...
create: add --perl option
2019-09-26 20:55:31 +02:00
Dawid Dziurla
de4d08028e
create: add --perl option
2019-09-26 20:12:35 +02:00
Gautham Goli
ae08b15cbe
Merge pull request #6479 from GauthamGoli/argv-cleanup-5
...
cli_args: Fix options_only and flags_only
2019-09-26 11:49:19 +05:30
Dawid Dziurla
b4c56937b1
create: add --rust option
2019-09-25 14:29:09 +02:00
Dawid Dziurla
7b1288f658
create: add --python option
2019-09-24 19:35:21 +02:00
Dawid Dziurla
a243f084e6
create: --go-mod -> --go
2019-09-24 16:49:27 +02:00
Gautham Goli
393c8dfbf1
ARGV: Replace options_only and flags_only with Homebrew.args counterparts
2019-09-23 12:39:22 +05:30
Dawid Dziurla
08f51a5d5a
create: add --go-mod option
2019-09-20 16:09:52 +02:00
Markus Reiter
cba1c8ee97
Fix brew ruby -r
.
2019-09-13 21:16:48 +02:00
Mike McQuaid
963cc556d4
Revert "argv: move options_only to cli/args"
2019-09-13 09:34:43 +01:00
Mike McQuaid
4b30a61732
prof: use ruby-prof 0.18.0
...
This is the newest version that works with Ruby 2.3.
Also, update the `.gitignore` to hide it while we're here.
2019-09-11 13:57:20 +01:00
Gautham Goli
4586632855
argv: move options_only to cli/args
2019-09-07 21:32:50 +05:30
Sean Molenaar
8cb833f7da
Audit bitbucket.com repositories
2019-09-05 20:56:25 +02:00
Steven Peters
d25a954dbe
Merge pull request #6272 from SMillerDev/gitlab_audit
...
Audit gitlab.com repositories
2019-09-05 08:53:18 -07:00
Mike McQuaid
8755e79475
pull: fix Homebrew Testing pull regression.
...
Don't fail if we fail to parse an issue when pulling.
While we're here, do some general code cleanup of stuff that's hard to
follow, named confusingly or duplicated unnecessarily.
2019-09-05 14:21:45 +01:00
Sean Molenaar
0cca6cb8bd
Audit gitlab.com repositories
2019-09-05 12:14:33 +02:00
Mike McQuaid
78d74a8b29
Merge pull request #6403 from EricFromCanada/custom-global-options
...
man: include global options with customized descriptions
2019-09-02 14:17:03 +01:00
Mike McQuaid
4add1d1cb3
Check binary URL resources with RuboCop
...
- Migrate the existing binary URL audit to a RuboCop.
- Check resources as well as main URLs
- Also check for "macos" and "osx" in URLs
- Add whitelists for URLs and formulae
2019-09-02 10:50:49 +01:00
Mike McQuaid
9291fe583e
audit: fix --display-cop-names.
2019-09-02 10:48:19 +01:00
EricFromCanada
2477773259
man: include global options with customized descriptions
2019-08-25 23:59:47 -04:00
EricFromCanada
3ed9b35f70
man: allow multi-line paragraphs for comment-based docs
2019-08-20 12:56:21 -04:00
Mike McQuaid
c1960b2fd6
Merge branch 'master' into man-page-text
2019-08-20 14:42:24 +01:00
EricFromCanada
8a8359cdd4
manpages: sentence rewording for readability
...
Use active voice when applicable, better verbs & adjectives, preposition usage, proper tense, etc.
2019-08-20 09:05:45 -04:00