38364 Commits

Author SHA1 Message Date
Issy Long
c0144234d1
The E&R policy doc is only in Homebrew/homebrew-governance-private 2023-09-01 01:02:01 +01:00
Issy Long
3c69671b84
The py2cairo formula was deleted, don't refer to it in docs anymore 2023-09-01 01:02:00 +01:00
Issy Long
32bbe6d5de
Ignore <a name= HTML tags on the Installation page in anchor tag linting 2023-09-01 01:01:59 +01:00
Issy Long
7f3a4fe667
Fix link to Ruby's FileUtils documentation in the Formula Cookbook 2023-09-01 01:01:58 +01:00
Issy Long
7f2ed15db3
Update html-proofer configuration - the parameter names changed 2023-09-01 01:01:57 +01:00
Issy Long
c18980d20d
Run the docs site's broken link checker in the docs linting CI job
- We had `rake test` as a task, but we never actually ran it in CI or
  anywhere before building the site.
- The `html-proofer` gem
  [only supports Ruby 3.1](https://github.com/gjtorikian/html-proofer/blob/main/html-proofer.gemspec#L20),
  so I bumped the linting job to use Ruby 3.1 across the board.
- This will make things slower (or maybe it's taking ages because of my
  dodgy hotel internet connection), maybe we should only run it on a
  schedule as a separate job?
- Fixes https://github.com/Homebrew/brew/issues/ 15908.
2023-09-01 01:01:01 +01:00
Mike McQuaid
59cc141524
Merge pull request #15923 from MikeMcQuaid/brew_contributions_improvements
dev-cmd/contributions: usability/performance improvements.
2023-08-30 15:21:30 +01:00
Mike McQuaid
d357607b2c
dev-cmd/contributions: usability/performance improvements.
- more sensible/performant defaults: default to primary repositories
  only for the last year rather than all repositories forever
- allow specifying more than one user at a time
- output the breakdown of contributions without needing `--csv`
- add a space before the `--csv` output
- consolidate some code
- avoid counting authored commits twice, to improve performance
- retry failed GitHub API calls (this happens often when querying all
  maintainers)
- stop counting after we find 1000 commits for a given user to avoid
  excessive API queries/pagination
2023-08-30 15:08:50 +01:00
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