Mike McQuaid
9b76182c11
Merge pull request #15933 from EricFromCanada/docs-cask-cookbook-reorg
...
docs: rework Cask-Cookbook to match current practice
2023-09-02 08:06:31 -04:00
Mike McQuaid
f71e09251f
Merge pull request #15934 from hyuraku/remove-ARGV-from-Formula.all
...
remove `ARGV` from `Formula#all`
2023-09-02 08:05:34 -04:00
Mike McQuaid
9a6a3e888f
Merge pull request #15931 from Homebrew/sponsors-maintainers-man-completions
2023-09-02 12:02:20 +01:00
hyuraku
adc2a2fea1
remove ARGV from Formula#all
2023-09-02 19:35:22 +09:00
Eric Knibbe
4205cb495a
docs: rework Cask-Cookbook to match current practice
...
and migrate `livecheck` stanza documentation to Brew-Livecheck.md
2023-09-02 00:43:51 -04:00
BrewTestBot
26bdacee6a
Update sponsors.
...
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml ) workflow.
2023-09-02 00:05:26 +00:00
Issy Long
de50e84184
Merge pull request #15930 from issyl0/markdown-numbering
...
docs: Use Markdown automatic numbering in staging branch instructions
2023-09-02 00:51:10 +01:00
Issy Long
68bccb9bbb
docs: Use Markdown automatic numbering in staging branch instructions
...
- It's always a pain to re-number everything when adding or removing
steps, so let's use the Markdown numbering trick.
- This does render correctly in HTML, I tested building the site.
2023-09-02 00:30:38 +01:00
Eric Knibbe
4b3cb6d2e7
Merge pull request #15929 from EricFromCanada/docs-bot-images
...
Docs: update test-bot images and description
2023-09-01 19:13:37 -04:00
Eric Knibbe
10b06d9826
Docs: update test-bot images and description
2023-09-01 13:24:12 -04:00
Mike McQuaid
ec9bb2fe68
Merge pull request #15926 from EricFromCanada/docs-faq-images
...
Docs: localize FAQ images
2023-09-01 08:59:33 +01:00
Eric Knibbe
217ebf88c7
remove OSDN link due to site unreliability
2023-09-01 00:27:05 -04:00
Eric Knibbe
23f656bf8c
docs: localize FAQ images
2023-09-01 00:21:44 -04:00
Issy Long
04ef90a59d
Merge pull request #15924 from issyl0/docs-ci-broken-links
...
workflows/docs: Check for broken links using the existing `rake test` task
2023-09-01 04:39:37 +01:00
Issy Long
210b678caf
The test
task already runs build
, so no need for it twice
2023-09-01 01:12:34 +01:00
Issy Long
1c91da27bb
The Python Setuptools docs have moved around too, the reference no longer exists
2023-09-01 01:02:05 +01:00
Issy Long
ee7ff97877
Fix link to renamed Cask Cookbook section
2023-09-01 01:02:04 +01:00
Issy Long
484c7e07d1
Cache the external links for an hour, and ignore GitHub.com
2023-09-01 01:02:03 +01:00
Issy Long
17de29e93d
Disable HTMLProofer's assume_extension
option
...
- It reports a lot of broken internal links that do actually exist, it's
just file extension inference weirdness.
2023-09-01 01:02:02 +01:00
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