Sean Molenaar
2de6958a36
build_environment: add proper types to dump() and fix inreplace error
2022-08-15 19:03:55 +02:00
Rylan Polster
e53ccbc3cd
Remove unnecessary code
2022-06-14 16:06:05 -04:00
Bo Anderson
4cb0b1978c
exceptions: fix did_you_mean error in some scenarios
2022-06-02 05:54:42 +01:00
Bo Anderson
d47517f635
exceptions: handle backslash in args for BuildError
2022-05-20 01:41:26 +01:00
Alexander Bayandin
7fb74cb1dc
Fix error message duplication for installation from URL
2021-12-03 13:15:42 +00:00
XuehaiPan
63f2f6cca7
tap: allow to change tap remote with brew tap --custom-remote
2021-10-12 01:11:34 +08:00
Bo Anderson
c49dc6803b
exceptions: set backtrace for FormulaUnreadableError
2021-09-17 00:06:42 +01:00
fn ⌃ ⌥
c0795b5029
upgrade: raise error if developer and there are cyclic dependencies
2021-09-12 07:56:37 -07:00
Michka Popoff
07df4a7e70
Use Homebrew curl for audit and fetch when specified in the formula
...
Introduce new :using for urls
2021-08-17 13:35:55 +02:00
Kaito Udagawa
fec4ff5ca3
Insert space
...
I got the following error message:
Install Clang or run `brew install gcc`.Alternatively, remove the flag to attempt bottle installation.
A space is missing after the period. This change ensures a space to be inserted.
2021-08-09 02:21:45 +09:00
Alexander Bayandin
ce4410fd8d
exceptions: add "Did you mean ..." for FormulaOrCaskUnavailableError
2021-06-22 18:06:52 +01:00
Rylan Polster
2760d981d3
Allow for homebrew/core to be untapped
2021-06-17 14:18:43 -04:00
Bo Anderson
728bb547a7
language: raise ShebangDetectionError rather than a generic error
2021-05-10 05:50:08 +01:00
nandahkrishna
585ec90878
cask_loader: do not auto-tap in FromTapLoader
2021-03-11 21:09:42 +05:30
Bo Anderson
f079373d8c
utils/fork: handle termsig in safe_fork
2021-02-25 13:42:44 +00:00
nandahkrishna
56e0c3d9e8
Update GitHub API usage
2021-02-15 22:38:27 +05:30
nandahkrishna
8e5451df2f
style: use parentheses for assignment in conditions
2021-02-12 18:33:37 +05:30
EricFromCanada
99ad3350ee
use single quotes around stanza and parameter names
2021-01-26 16:19:47 -05:00
Mike McQuaid
51b149b8ee
exceptions: more handling of nil status.
...
This was occurring on ARM CI.
2021-01-21 08:30:36 +00:00
Michka Popoff
5e91802470
checksum: simplify, use only sha256
...
We use only one sha type right now.
Needed for https://github.com/Homebrew/brew/pull/10186
2021-01-07 20:46:13 +01:00
Mike McQuaid
d345864d7e
exceptions: fix ErrorDuringExecution status.
...
This can sometimes be nil so handle that.
Fixes #10158
2020-12-28 09:04:08 +00:00
Markus Reiter
3db55d13d6
Improve handling of SIGINT.
2020-12-18 16:48:49 +01:00
Mike McQuaid
eb74717a9e
Fix unbottled dependency handling
...
- Rename `BuildToolsError` to `UnbottledError` to better reflect what it
does (particularly now)
- Improve the `UnbottledError` messaging
- Raise the `UnbottledError` for dependencies also when building bottles
(so that we don't try and build bottles against things that have been
built from source).
2020-12-11 16:57:47 +00:00
Markus Reiter
c54a9937e7
Remove cask-specific checksum errors.
2020-11-19 19:46:59 +01:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
EricFromCanada
3768b7a6e9
apidoc: update comment wording, punctuation, formatting
2020-11-06 00:21:02 -05:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
d6b563e752
Support min_named :formula_or_cask
.
2020-10-08 11:12:17 +02:00
Markus Reiter
f54b458cda
Allow installing casks with brew install
.
2020-09-27 22:53:32 +02:00
Markus Reiter
0240128f29
Document exceptions.
2020-08-26 03:13:58 +02:00
Mike McQuaid
3a91c37e66
Fix RuboCop checks.
2020-08-19 17:12:32 +01:00
Markus Reiter
b5363025a6
Refactor and document BuildEnvironment
.
2020-08-14 18:41:44 +02:00
Markus Reiter
7926f7fc82
Pass args.verbose?
to BuildError#dump
.
2020-08-06 16:12:52 +02:00
Mike McQuaid
fb0a6338b1
Remove more tap pinning code.
...
This was deprecated and removed a while ago.
2020-08-06 12:24:10 +01:00
Bo Anderson
8eb176f50b
exceptions: correct safe_system doc link
2020-07-16 02:52:28 +01:00
Jonathan Chang
76709d82c5
Fix brew style
.
2020-07-13 23:24:14 +10:00
Bo Anderson
1c73393b47
language/python: raise if we can't detect the Python to use for venv
2020-07-09 15:43:36 +01:00
Mike McQuaid
f951ea83d4
Fix brew style
.
2020-07-07 12:23:29 +01:00
William Ma
6e8f5d0958
Modify MultipleVersionsInstalledError to have a generic message
2020-07-03 18:25:49 -04:00
Dustin Rodrigues
f684a59fa5
bump-formula-pr: search for closed dupe PRs
2020-06-27 12:50:43 -04:00
Mike McQuaid
b58fa4ebb1
Drop Mavericks support.
...
Companion to https://github.com/Homebrew/brew/pull/7698 .
Provide better, `odeprecated` messaging for
`depends_on :macos => :mavericks` and otherwise just fix up the code
that relied on `:mavericks`.
2020-06-10 10:06:46 +01:00
Mike McQuaid
ad32d387e9
exceptions: fix case for UsageError subclasses.
2020-03-05 09:25:14 +00:00
Michka Popoff
c46a30b575
brew: remove most traces of python@2
2020-02-17 22:38:24 +01:00
Mike McQuaid
243e703700
tap: default to full clones.
...
This makes `Tap` consistent with what the installer is doing.
Generally shallow clones get slower and slower (and more and more
pointless) the more they are fetched so don't make sense for our
use-case.
Keep the option around anyway because it's useful for integration tests.
2020-02-02 16:36:37 +01:00
Gautham Goli
acde828a45
ARGV: Replace ARGV.verbose? with Homebrew.args.verbose?
2020-02-02 14:00:04 +01:00
Mike McQuaid
0e3ab6e6f2
exceptions: tweak build flags error message.
2019-10-11 09:02:41 +01:00
Jacob Middag
c6cb20a768
Fix frozen string bug
2019-10-11 09:34:43 +02:00
Cheng XU
9232ca4508
system_command: allow redacting secrets in the log
...
Add a new argument `secrets` to specify secret tokens, so we can redact them in the log.
2019-07-18 15:06:32 +08:00
Mike McQuaid
fc6bd2ea1c
Fixup more frozen string handling.
2019-04-20 14:07:29 +09:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00