Mike McQuaid
340b982df8
Merge pull request #15922 from MikeMcQuaid/deps_no_formula_options
...
cmd/deps: fix documentation and handling of formula_options.
2023-08-30 09:56:08 +01:00
Mike McQuaid
34f13db657
Merge pull request #15921 from EricFromCanada/cask-url-audit
...
cask/audit: format-check block URLs only if online
2023-08-30 09:04:39 +01:00
Mike McQuaid
9863d555a8
cmd/deps: fix documentation and handling of formula_options.
...
https://github.com/Homebrew/brew/pull/15892#issuecomment-1698659908
2023-08-30 08:46:59 +01:00
Mike McQuaid
851df262a0
Merge pull request #15892 from apainintheneck/rework-recursive-dependency-resolution
...
dependency_helpers: rework recursive dependency resolution
2023-08-30 08:29:24 +01:00
Eric Knibbe
686638b683
cask/audit: format-check block URLs only if online
2023-08-29 17:10:40 -04:00
Bo Anderson
98094739c6
Merge pull request #15920 from EricFromCanada/macos-deps-caching
...
dependency: consider bounds when comparing macOS deps
2023-08-29 13:11:41 +01:00
apainintheneck
b2b8f0ea86
cmd/uses & cmd/deps: update help/man pages
...
- add clarification about precedence of command options
- reword some options for readability
- clarify the defaults in `brew deps`
2023-08-28 22:14:26 -07:00
apainintheneck
5c41e85ae9
update cmd/uses and cmd/deps tests
...
These tests were very simple before and now this should result
in more code coverage without affecting test performance.
The only tricky thing was testing the `--missing` option without
actually installing a package using `install_test_formula` because
that is very slow (around 10 seconds on my machine). I ended
up just writing the tab to a plausible keg directory for each
package I wanted to "install". This allows us to test the behavior
while also not increasing CI time by ~20 seconds (though it'd
probably be faster on CI than my local machine).
2023-08-28 21:54:32 -07:00
Eric Knibbe
df38dcc3d1
dependency: consider bounds when comparing macOS deps
2023-08-28 17:34:04 -04:00
Mike McQuaid
1d136be229
Merge pull request #15919 from EricFromCanada/macos-deps-caching
...
dependency_collector: distinguish macOS deps by OS
2023-08-28 17:38:20 +01:00
Eric Knibbe
49d531a6ce
dependency_collector: distinguish macOS deps by OS
2023-08-28 12:20:15 -04:00
apainintheneck
72152c09c7
cmd/uses: handle --missing
...
Ignore all dependencies that are already installed before
checking if they use the dependency in question. Remove
the :satisfied? criteria before checking used dependents.
2023-08-27 13:50:53 -07:00
Mike McQuaid
d4444b563e
Merge pull request #15916 from cho-m/linux-glibc-version-api
...
extend/os/linux/system_config: show glibc/gcc version for API users
4.1.7
2023-08-27 21:04:16 +01:00
Bo Anderson
a4a4f2da42
Merge pull request #15917 from EricFromCanada/csp-image-fix
...
docs: use relative path for custom header images
2023-08-27 18:42:47 +01:00
Eric Knibbe
de5742a929
docs: use relative path for custom header images
2023-08-27 12:34:50 -04:00
Michael Cho
bc2bb59726
extend/os/linux/system_config: show glibc/gcc version for API users
2023-08-26 22:19:32 -07:00
Bo Anderson
b0c54058f3
Merge pull request #15903 from cho-m/codesign-intel-if-invalid
...
extend/os/mac/keg: codesign on Intel if invalid signature
2023-08-27 05:11:06 +01:00
Mike McQuaid
feef1ae31b
Merge pull request #15915 from bayandin/ignore-github-ip-not-permitted-error
...
get_repo_license: allow GitHub's IP not permitted error
2023-08-26 19:49:08 +01:00
Alexander Bayandin
45378f35e2
get_repo_license: ignore ip allowlist error
2023-08-26 17:16:43 +01:00
Mike McQuaid
b69bd66fc4
Merge pull request #15904 from zgracem/update-docs-urls
...
docs: update formula and cask URLs to new sharded format
2023-08-26 15:07:07 +01:00
Mike McQuaid
37791fefd0
Merge pull request #15909 from bayandin/ignore-github-ip-not-permitted-error
...
shared_audits: allow GitHub's IP not permitted error
2023-08-26 15:06:27 +01:00
Amy Grace
edf022d94e
docs: update formula and cask URLs to new sharded format
2023-08-26 14:54:19 +01:00
Alexander Bayandin
89d52f19a9
shared_audits: allow GitHub's IP not permitted error
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-08-26 14:53:38 +01:00
Mike McQuaid
ae0f5637b7
Merge pull request #15911 from branchvincent/pip-feature
...
formula: drop old pip feature flag
2023-08-26 13:03:40 +01:00
Mike McQuaid
54d7f0cefd
Merge pull request #15912 from branchvincent/style
...
brew.sh: disable shellcheck warning
2023-08-26 13:01:14 +01:00
Branch Vincent
a75568147e
brew.sh: disable shellcheck warning
2023-08-26 12:48:30 +01:00
Branch Vincent
f8ab19d187
formula: drop old pip feature flag
2023-08-26 12:48:16 +01:00
Mike McQuaid
aaf9091b21
Merge pull request #15913 from MikeMcQuaid/github_actions_python_workaround
...
workflows/tests: workaround GitHub Actions python issues.
2023-08-26 12:41:15 +01:00
Mike McQuaid
298003b181
workflows/tests: workaround GitHub Actions python issues.
...
As-is there's a Python installed but not properly linked which breaks
anything that depends on Python being installed on macOS e.g.
Subversion.
2023-08-26 12:25:22 +01:00
apainintheneck
e314a43754
dependency_helpers: include required & use public_send
...
- Use .required? instead of .tags.empty?
- use .public_send
- modify .reject_ignores to be .select_includes
- checks ignores first now
- Don't use runtime deps with --missing in `brew deps` command
2023-08-25 00:25:14 -07:00
Michael Cho
7412487891
extend/os/mac/keg: codesign on Intel if invalid signature
2023-08-23 11:48:13 -07:00
Mike McQuaid
3c8b4949ba
Merge pull request #15900 from clint-stripe/clint/homebrew-curlrc-vendor-install
...
Use HOMEBREW_CURLRC in vendor-install
2023-08-23 08:37:52 +01:00
Mike McQuaid
bc5fce2477
Merge pull request #15895 from EricFromCanada/api-old-certs
...
api: ignore HTTPS errors if required certs aren't installed
2023-08-23 08:37:21 +01:00
Mike McQuaid
f29e9ad2bf
Merge pull request #15902 from Homebrew/dependabot/bundler/Library/Homebrew/activesupport-6.1.7.6
...
build(deps): bump activesupport from 6.1.7.4 to 6.1.7.6 in /Library/Homebrew
2023-08-23 08:33:49 +01:00
BrewTestBot
2a90974b86
Update RBI files for activesupport.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-08-23 04:35:20 +00:00
BrewTestBot
503db092a3
brew vendor-gems: commit updates.
2023-08-23 04:28:37 +00:00
dependabot[bot]
8733f58064
build(deps): bump activesupport in /Library/Homebrew
...
Bumps [activesupport](https://github.com/rails/rails ) from 6.1.7.4 to 6.1.7.6.
- [Release notes](https://github.com/rails/rails/releases )
- [Changelog](https://github.com/rails/rails/blob/v7.0.7.2/activesupport/CHANGELOG.md )
- [Commits](https://github.com/rails/rails/compare/v6.1.7.4...v6.1.7.6 )
---
updated-dependencies:
- dependency-name: activesupport
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-23 04:24:54 +00:00
Eric Knibbe
70e676c176
api: ignore HTTPS errors if required certs aren't installed
2023-08-22 17:41:46 -04:00
Clint Harrison
e75a72dcb5
Use HOMEBREW_CURLRC in vendor-install
2023-08-22 17:21:37 -04:00
Mike McQuaid
4564628eaf
Merge pull request #15896 from branchvincent/pypi-excludes
...
utils/pypi: exclude deps of excluded packages
2023-08-22 13:47:54 +01:00
Branch Vincent
47e82add43
utils/pypi: exclude deps of excluded packages
2023-08-21 21:45:54 -07:00
Nanda H Krishna
5eaa9f995b
Merge pull request #15894 from Homebrew/dependabot/bundler/Library/Homebrew/json_schemer-2.0.0
...
build(deps): bump json_schemer from 1.0.3 to 2.0.0 in /Library/Homebrew
2023-08-21 18:35:27 -04:00
BrewTestBot
1f8f00ca45
Update RBI files for json_schemer.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-08-21 18:44:31 +00:00
BrewTestBot
f76fef0c79
brew vendor-gems: commit updates.
2023-08-21 18:34:47 +00:00
dependabot[bot]
01fe2149d7
build(deps): bump json_schemer from 1.0.3 to 2.0.0 in /Library/Homebrew
...
Bumps [json_schemer](https://github.com/davishmcclurg/json_schemer ) from 1.0.3 to 2.0.0.
- [Changelog](https://github.com/davishmcclurg/json_schemer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/davishmcclurg/json_schemer/compare/v1.0.3...v2.0.0 )
---
updated-dependencies:
- dependency-name: json_schemer
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 18:29:59 +00:00
Mike McQuaid
8dd2073d84
Merge pull request #15893 from Bo98/prof-env
...
dev-cmd/prof: bleed less of the environment from gem installs
2023-08-21 15:50:44 +02:00
Bo Anderson
fe8f6dfc8d
dev-cmd/prof: bleed less of the environment from gem installs
2023-08-21 14:22:47 +01:00
apainintheneck
3cba4cbc19
dependency_helpers: rework recursive dependency resolution
...
This is a refactor/reworking of the dependency resolution methods
in the DependencyHelpers module. These methods are used by both
the `brew deps` and `brew uses` commands to get a specific set
of dependencies for the user based on multiple criteria.
Additive Options:
--include-build
--include-test
--include-optional
Subtractive Options:
--skip-recommended
--missing
When a user runs either command the only dependencies that are
included by default are recommended and runtime dependencies.
This is largely unchanged though we don't include all non-build
dependencies as recommended by default anymore.
The biggest change is that all installed dependencies are always
removed from the list now if the --missing option is passed.
This could get skipped before depending on the other options
that were passed. Essentially subtractive options now will
always be evaluated before additive ones (the docs will need to
be updated to make this clear).
Beyond that we have no special handling for the optional command
anymore. We used to check that the optional dependency was not
needed to build the formula but that seems redundant and confusing.
Essentially, the #recursive_includes command now behaves much more
like the #reject_ignores command (essentially the non-recursive version)
which is a good thing for consistency's sake.
2023-08-19 15:49:16 -07:00
Mike McQuaid
3cd72905ce
Merge pull request #15889 from MikeMcQuaid/gnu_tar_deps_bottling
...
dev-cmd/bottle: install gnu-tar before keg lock.
4.1.6
2023-08-18 12:42:42 +01:00
Mike McQuaid
7a974f39ec
Merge pull request #15887 from Homebrew/cargo-build-audit
...
audit: check for cargo build only in install method
2023-08-18 12:32:15 +01:00