4620 Commits

Author SHA1 Message Date
Mike McQuaid
f1121fc65a
Merge pull request #12445 from FnControlOption/csv
cask: add `#csv` to version DSL
2021-11-17 12:17:45 +00:00
fn ⌃ ⌥
68160df041 cask: add #csv to version DSL 2021-11-16 16:34:12 -08:00
Carlo Cabrera
105d1f9cfc
utils/github/actions: make file a mandatory argument
An annotation is pretty useless if you don't specify a file to place the
annotation on, so let's just require it.
2021-11-16 23:42:03 +08:00
Caleb Xu
227b8148eb
system_command: redact secrets in stdout/stderr
We already redact secrets when printing the command-line invocation
itself. Make sure that stdout/stderr doesn't leak secrets either.
2021-11-10 10:36:16 -05:00
Rylan Polster
ee898b1309
Fix tests 2021-11-08 20:18:25 -05:00
Sean Molenaar
ca7623c70f
Merge pull request #12367 from SMillerDev/feature/service/interval
Service: add interval support
2021-11-08 16:24:19 +01:00
Sean Molenaar
25bc1d8860
Service: add interval support 2021-11-06 13:18:58 +01:00
Bo Anderson
4836ea0ba2
Remove XQuartz handling 2021-11-05 12:40:22 +00:00
Sam Ford
94bf67b5df
Merge pull request #12314 from samford/livecheck/apache-support-dlcdn-urls
Apache: Support additional mirror/backup URLs
2021-11-03 11:55:54 -04:00
Sam Ford
77273fe2b3
Cask::Audit: Handle referenced cask in livecheck
`Cask::Audit#check_livecheck_version` was never updated to handle
a referenced cask in a `livecheck` block (e.g., `cask "other-cask"`).
As a result, this audit will wrongly give an error like `Version
'1.2.3' differs from '' retrieved by livecheck.` in this scenario.

This commit ensures that a referenced cask is handled by the audit
and it won't error when the referenced check provides a good version.
2021-11-02 12:32:38 -04:00
Sam Ford
a1277ee1b0
Apache: Support additional mirror/backup URLs 2021-11-01 15:58:04 -04:00
Sean Molenaar
ef6d3dcede
Merge pull request #11910 from SMillerDev/feature/caveats/linux_services
Caveats: suggest brew services for linux
2021-11-01 15:13:25 +01:00
fn ⌃ ⌥
aa6f10ff35 install, upgrade: fetch each formula only once 2021-10-31 10:52:40 -07:00
Sean Molenaar
73bc934c85
Caveats: suggest brew services for linux 2021-10-30 18:18:25 +02:00
Bo Anderson
572c7cd179
formula: make each instance have separate spec references
This fixes SoftwareSpec#owner being mixed up if there are multiple formula references.
This in turn fixes --force-bottle not working in some scenarios like `brew reinstall`.
2021-10-26 15:03:33 +01:00
EricFromCanada
c952ea7358
bump: fix tests 2021-10-25 15:55:11 -04:00
Rylan Polster
9ca0f68bf7
Fix tests 2021-10-21 21:11:06 -04:00
Bo Anderson
c6b287590d
Merge pull request #12288 from carlocab/ruby-diagnostic
extend/os/mac/diagnostic: fix unqualified macOS version reference
2021-10-21 15:34:21 +01:00
Sam Ford
8ce6059544
Gnu: Update generated URL to use HTTPS 2021-10-21 09:28:54 -04:00
Carlo Cabrera
b040775e16
Fix diagnostic_spec
The test case needs to be adjusted for the new diagnostic output.
2021-10-21 21:05:51 +08:00
Sam Ford
e709917cd5
Apache: Extend URL_MATCH_REGEX
Some Apache URLs use a `filename` query string parameter instead of
`path` and the `Apache` strategy isn't applied. The parameter value
is the same as `path` (i.e., a path to a file), so this updates the
strategy's `URL_MATCH_REGEX` to handle this URL format as well.
2021-10-20 10:52:49 -04:00
Mike McQuaid
b77b08cf00
Merge pull request #12121 from EricFromCanada/restore-repology
bump: add `--start-with` option to retrieve a subset of results
2021-10-20 09:02:48 +01:00
EricFromCanada
811d0fa0bd
bump: add option to retrieve a subset of results
Plus a few fixes for output.
2021-10-19 20:14:39 -04:00
Mike McQuaid
823f663ab4
Merge pull request #12259 from MikeMcQuaid/next_major_or_minor_release
Deprecations/disables for 3.3.0/4.0.0.
2021-10-19 17:11:42 +01:00
Mike McQuaid
f65d525693
Deprecations/disables for 3.3.0/4.0.0.
Deprecate, disable and remove code for Homebrew 3.3.0 or 4.0.0
(whichever the next release ends up being).
2021-10-19 16:36:42 +01:00
Mike McQuaid
0cda6a0657
Only use patchelf.rb
Remove support for using the `patchelf` formula for writing as it's been
off by default for a long time now.
2021-10-19 15:15:56 +01:00
XuehaiPan
63f2f6cca7 tap: allow to change tap remote with brew tap --custom-remote 2021-10-12 01:11:34 +08:00
Bo Anderson
c46fe273d4
test/dev-cmd/bottle_spec: fix --merge output matching 2021-10-07 15:44:20 +01:00
Rylan Polster
4f1bbf003a
Use GitHub API to generate release notes 2021-10-05 14:43:17 -04:00
Bo Anderson
30b24cf4ad
Use HOMEBREW_CURL universally, including formulae 2021-10-04 02:03:04 +01:00
Mike McQuaid
04b54df776
Merge pull request #12130 from FnControlOption/patch-4
archive: delete
2021-10-01 12:58:28 +01:00
fn ⌃ ⌥
f7cc71b195 build_environment: delete BuildEnvironment#userpaths? 2021-09-30 14:06:00 -07:00
fn ⌃ ⌥
35d6839b56 archive: delete 2021-09-30 09:50:04 -07:00
Mike McQuaid
41e94afda5
Fix brew style
Fixes for https://github.com/Homebrew/brew/pull/12152.

Extracted into a separate PR so this can be merged immediately.
2021-09-30 10:13:53 +01:00
Bo Anderson
a01bb6b194
brew style --fix 2021-09-23 01:10:14 +01:00
Bo Anderson
16afcff557
formula: fix error in Formula#specified_path with aliases 2021-09-22 02:08:18 +01:00
Bo Anderson
befaeba6c5
Merge pull request #12076 from Bo98/bottle-spec-update
Revamp APIs around bottle specifications
2021-09-20 15:22:35 +01:00
Bo Anderson
b55498269f
Revamp APIs around bottle specifications 2021-09-20 15:02:05 +01:00
Alexander Bayandin
fe9a039774
unpack_strategy: add zstd 2021-09-20 14:12:30 +01:00
Daniel Nachun
bfd605096d
Merge pull request #12085 from danielnachun/macos_enable_texlive
missing_formula.rb: don't disable texlive
2021-09-18 15:20:38 -07:00
Bo Anderson
12d5e70b87
Merge pull request #12086 from Homebrew/cc-bash
shims/super/cc: run in bash shell
2021-09-18 03:56:16 +01:00
Bo Anderson
e224006b49
test/bash_spec: ignore cc script 2021-09-18 01:15:52 +01:00
danielnachun
951251e1d8
missing_formula_spec.rb: don't test latex 2021-09-17 11:53:44 -07:00
Bo Anderson
c49dc6803b
exceptions: set backtrace for FormulaUnreadableError 2021-09-17 00:06:42 +01:00
Mike McQuaid
3e15023269
test/os/mac: fix uses_from_macos_elements tests. 2021-09-14 09:47:00 +01:00
Mike McQuaid
1a904af264
Merge pull request #12018 from FnControlOption/upgrade-tsort
upgrade: use topological sort to upgrade formulae
2021-09-12 19:26:22 +01:00
Rylan Polster
bf95782ee2
Merge pull request #12019 from valrus/services-plist-add-process-type
Add process_type to service DSL
2021-09-10 21:01:37 -04:00
valrus
698f4a8f69 Add process_type to service DSL
This enables mpd to be run with the "Interactive" value, which avoids
performance issues such as skipping when playing music. See this PR,
where this was done previously:
https://github.com/Homebrew/homebrew-core/pull/19410

The ProcessType plist key was lost in the conversion to the service DSL:
483ad1fdfa
2021-09-09 17:37:49 -07:00
fn ⌃ ⌥
0c3e49092c upgrade: use topological sort to upgrade formulae 2021-09-09 13:41:50 -07:00
Bo Anderson
a0093bd647
test/support/fixtures/bottles: add fixtures for Monterey 2021-09-09 15:28:15 +01:00