Rylan Polster
b58551cd67
Control for CPU type and Rosetta in os_arch_prefix_ci
tests
2021-12-03 22:29:10 -05:00
Nipunn Koorapati
e2fc14b0b7
Fix analytics_spec.rb test to pass when run from M1
2021-12-03 20:14:17 -05:00
Sean Molenaar
302975829d
service: add basic cron support
2021-11-30 14:29:22 +01:00
Sean Molenaar
4cb8afeeef
service: add timer support for systemd
2021-11-30 11:05:11 +01:00
EricFromCanada
ed3042c37a
livecheck: use brewed curl if called for by download URL
2021-11-28 12:57:24 -05:00
XuehaiPan
d1aac8857a
tests/utils/git_spec: update tests for ensure_formula_installed!
2021-11-24 00:30:26 +08:00
Sam Ford
9e8900fb6e
Allow regex to be passed into all strategy blocks
...
This modifies cask-related livecheck strategies to allow passing a
regex into a `strategy` block, when appropriate. These strategies
were outliers that explicitly rejected a regex even if a `strategy`
block was used, forcing any regex to be inlined in the `strategy`
block (instead of being defined using `#regex`).
With these changes, all `strategy` blocks will be able to accept a
regex, further simplifying the mental model. This also helps to
better align the various `find_versions` and `versions_from_*`
methods across strategies.
2021-11-19 23:58:54 -05:00
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