Razvan Azamfirei
c64c834d05
bump-cask-pr
: add arch-specific version support
2023-07-21 11:45:34 -04:00
Branch Vincent
9597f455aa
formula: add std_pip_args
2023-07-19 20:02:47 -07:00
Patrick Linnane
c56669e9cd
various: fix miscellaneous typos
2023-07-18 08:52:49 -07:00
Mike McQuaid
68aa5da833
Merge pull request #15614 from carlocab/quictls-cop
...
rubocops/lines: disallow `quictls` dependencies in homebrew/core
2023-07-18 10:44:09 +01:00
Carlo Cabrera
451bea2713
tests: add QuicTLSCheck test
2023-07-14 13:13:51 +08:00
Bo Anderson
ba02c669e1
Introduce CoreCaskTap class
2023-07-13 20:33:26 +01:00
Bo Anderson
dc7a47d0ac
test: drop deprecated uses_from_macos_elements checks
2023-07-07 20:35:54 +01:00
Mike McQuaid
7da934f7e2
Deprecate/disable/delete code.
...
The next release after this is merged will be 4.1.0.
Co-authored-by: Markus Reiter <me@reitermark.us>
2023-07-06 16:56:20 +01:00
Mike McQuaid
229a1f6c1e
Remove Tap#versioned_formula_files
...
This doesn't work with the API and the single caller can be
refactored to not need it instead.
2023-07-05 16:28:44 +01:00
Bo Anderson
71d51faa55
Introduce tag for implicit dependencies
2023-07-04 13:40:58 +01:00
Bo Anderson
d1b923f314
Introduce UsesFromMacOSDependency
...
Add Formula#declared_deps and SoftwareSpec#declared_deps
2023-07-04 13:40:55 +01:00
Bo Anderson
53d513695a
Remove TapDependency
2023-07-04 13:31:58 +01:00
William Woodruff
6ec9575c2a
Merge remote-tracking branch 'origin/master' into ww/update-resources-handle-non-pypi-urls
2023-07-03 16:35:05 -04:00
Bo Anderson
dcba7f356d
test/utils/github_spec: fix artifact URL test
2023-07-03 03:31:01 +01:00
William Woodruff
91a9b57d1f
Revert "Revert "PyPI: Handle non-pythonhosted
formula URLs""
...
This reverts commit 286e175a313bfc4505f972c343200dfa7e6afef5.
2023-07-02 20:46:46 -04:00
Mike McQuaid
b3015701f6
dependency: use formula name.
...
This allows renamed or aliased formulae dependencies to be resolved to
specific formulae correctly and deduplicated.
Fixes #15488
2023-06-29 14:30:43 +01:00
Bo Anderson
6d8b033eff
Significantly improve fetch speed of bottles
2023-06-22 15:08:16 +01:00
Bo Anderson
8dc2e80a98
Significantly improve install speeds with smarter postinstall detection
2023-06-22 03:06:45 +01:00
Razvan Azamfirei
b1baca7720
rephrase failure message
2023-06-20 11:33:49 -04:00
Razvan Azamfirei
c1009247bf
Apply suggestions from code review
...
Co-authored-by: FX Coudert <fxcoudert@gmail.com>
2023-06-20 08:59:01 -04:00
Razvan Azamfirei
adf6278e3c
rubocops: add emoji audit
2023-06-20 08:10:38 -04:00
hyuraku
de7152b7a3
rename Cask::outdated_versions
2023-06-19 22:09:01 +09:00
Mike McQuaid
75dd070395
Remove Google Analytics
...
We are now entirely migrated to InfluxDB so can remove all GA code.
2023-06-16 10:33:15 +01:00
Bo Anderson
f504b92c45
Preliminary macOS 14 (Sonoma) support
2023-06-05 23:21:11 +01:00
Mike McQuaid
286e175a31
Revert "PyPI: Handle non-pythonhosted
formula URLs"
2023-06-05 17:21:56 +01:00
William Woodruff
7915363482
test: brew style --fix
...
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 23:33:46 -04:00
William Woodruff
af6f728eb4
utils, test: rewrite PyPI::Package
...
This rewrites the `Package` class from the ground up
to better accomodate non-PyPI URLs.
The existing APIs are largely preserved, but with
clearer invariants around when they can or can't be used
(e.g., `#pypi_info`).
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 23:32:09 -04:00
William Woodruff
ec0361fd9b
test: add another URL test for update_pypi_url
...
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 00:01:41 -04:00
Carlo Cabrera
8860d8398f
determine-test-runners: fix test
2023-05-29 23:06:09 +08:00
JBYoshi
97b9b61061
Change permission failure from fatal to warning.
2023-05-26 11:13:23 -05:00
JBYoshi
40352cb2da
Make Homebrew check for App Management permissions before updating apps.
2023-05-24 22:11:16 -05:00
Sam Ford
ba7cf9df7a
Bitbucket: Fix tag match
...
The `Bitbucket` strategy currently matches versions from tag
tarball links on a project's `downloads/?tab=tags` page. It appears
that Bitbucket now uses a hash as the filename on this page instead
of the tag name, so the existing regex no longer matches.
This adds an alternative regex to match versions from the tag name
element (e.g., `<td class="name">example-1.2.3</td>`), which will fix
version matching in this scenario.
2023-05-19 10:55:28 -04:00
Markus Reiter
8371dde56a
Merge pull request #15435 from reitermarkus/working-dir-expand
...
Expand `service` paths.
2023-05-19 15:15:10 +02:00
Markus Reiter
e9bfcb9296
Merge pull request #15225 from reitermarkus/audit-os-arch
...
Add `--os=all` and `--arch=all` options for `brew audit`.
2023-05-19 15:03:32 +02:00
Markus Reiter
9885fbc129
Fix failing test.
2023-05-19 14:07:06 +02:00
Markus Reiter
c12ea0bc56
Also expand paths in command.
2023-05-18 20:00:46 +02:00
Markus Reiter
3484fa319b
Add tests.
2023-05-18 19:59:32 +02:00
Mike McQuaid
d70ebaea3d
Merge pull request #15409 from TheMDev/master
...
Download Strategy Dependency Missing Case
2023-05-18 13:09:57 +01:00
Kevin
946478aed4
Merge pull request #15396 from apainintheneck/custom-service-name
...
Custom service name
2023-05-17 22:09:31 -07:00
apainintheneck
f2adbf6613
service: change custom name DSL
...
After some discussion, we decided to change the DSL to get rid of
the `plist_name` and `service_name` methods which aren't meaningful
for most users.
The new DSL looks like this:
```rb
service do
name macos: "name", linux: "name"
end
```
I also updated some specs here to reflect these changes.
There was some talk about maybe deprecating `plist_name` and `service_name`
but I think that's outside of the scope of this PR so I'm leaving
them as is for now. One benefit of this is that everything here is backwards
compatible.
2023-05-17 21:54:32 -07:00
Michael Wagner
78c07fd0e1
Fix Missing Download Strategy And Dependency
2023-05-17 16:30:00 -05:00
Markus Reiter
486c3765ce
Add --os=all
and --arch=all
options.
2023-05-17 15:26:46 +02:00
Sam Ford
104d30d231
Finish renaming GithubRelease to GithubReleases
2023-05-16 16:08:18 -04:00
Sean Molenaar
940b63cad3
chore: rename GitHubRelease to GitHubReleases
2023-05-16 14:19:01 -04:00
Sam Ford
bed4737826
GithubRelease: Add tests
...
This adds tests to cover all of the strategy outside of the
`#find_versions` method, which we don't currently test because it
involves a network request.
2023-05-16 14:19:00 -04:00
Sam Ford
db7a6baa33
GithubLatest: Fix test for GithubRelease changes
...
`GithubLatest` was updated to use parts of `GithubRelease` and this
works fine within `brew livecheck` (since we `require` all the
strategies) but we need to explicitly `require` `GithubRelease` in
the `GithubLatest` test file now. Without this, we encounter errors
in parts of `GithubLatest` where `GithubRelease` is referenced.
2023-05-16 14:18:22 -04:00
Markus Reiter
a7cc9a8b41
Fix BundleVersion
comparison.
2023-05-16 14:23:15 +02:00
Markus Reiter
6c80308290
Merge pull request #15419 from reitermarkus/tag-standardized-arch
...
Compare `Tag` using `standardized_arch`.
2023-05-14 21:45:24 +02:00
Markus Reiter
d2231086bd
Merge pull request #15420 from reitermarkus/simulate-system-with
...
Add `SimulateSystem::with`.
2023-05-14 21:41:20 +02:00
Mike McQuaid
3dabf504bd
Merge pull request #15176 from reitermarkus/cask-renames
...
Implement cask renames.
2023-05-14 19:46:56 +01:00