2273 Commits

Author SHA1 Message Date
Mike McQuaid
26182fd67a
Note that brew update will only report all without API.
It's not worth supporting this option any longer given the API
constraints.
2023-03-03 08:51:58 +00:00
Sam Ford
33268e4fb0
livecheck: Add Yaml strategy
This adds a generic `Yaml` strategy to livecheck that requires a
`strategy` block to operate. The YAML-parsing code is taken from the
existing approach in the `ElectronBuilder` strategy.

We don't currently have any `strategy` blocks in first-party taps
that manually parse YAML. However, creating a generic `Yaml` strategy
allows us to simplify `ElectronBuilder` (and any future strategy
that works with YAML) while making it easy to create custom `Yaml`
`strategy` blocks in formulae/casks as needed.
2023-03-02 16:20:39 -05:00
Mike McQuaid
97fbd89a57
Merge pull request #14845 from samford/livecheck/add-xml-strategy
livecheck: Add Xml strategy
2023-03-01 22:21:13 +00:00
Jeffrey Cafferata
fd5e6e3e47
Docs: Removed the Atom editor plugin because GitHub has archived the Atom project(s). 2023-03-01 15:55:44 +01:00
Sam Ford
7d9e1a50e8
livecheck: Add Xml strategy
This adds a generic `Xml` strategy to livecheck that requires a
`strategy` block to operate. The XML-parsing code is taken from the
existing approach in the `Sparkle` strategy. As such, `Sparkle` has
been updated to use the `Xml#parse_xml` method instead.

Unlike the `Json` strategy, we don't currently have any `strategy`
blocks in first-party taps that manually parse XML. However, we had a
user request support for something like this and I was already working
on an `Xml` strategy (as a way of extracting the XML-parsing code
from `Sparkle` into something general-purpose), so here we are.

Future strategies that parse simple XML data can potentially use the
`Xml#find_versions` method (similar to how we have strategies that
leverage `PageMatch#find_versions`) instead of having to implement
something bespoke like `Sparkle`.
2023-02-28 14:58:11 -05:00
BrewTestBot
26e5768bc9
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-02-28 14:06:12 +00:00
Mike McQuaid
0a0479ab0e
Remove Markus from former maintainers. 2023-02-28 11:35:32 +00:00
BrewTestBot
a862c598be
Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-02-28 11:21:32 +00:00
BrewTestBot
5d406ae54a
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-02-25 17:52:54 +00:00
Mike McQuaid
9fd50a9ab0
Merge pull request #14785 from samford/livecheck/add-json-strategy
livecheck: Add `Json` strategy
2023-02-24 18:02:40 +00:00
Mike McQuaid
c209c0403d
Fix references to formula.json and cask.json
These would be stranded after `formula.jws.json`.
2023-02-24 16:46:15 +00:00
Sam Ford
7735036c56
livecheck: Add Json strategy
This adds a generic `Json` strategy to livecheck that requires a
`strategy` block to operate. This is primarily intended as a
replacement for existing `strategy` blocks in formulae/casks that
use `JSON#parse`, as it allows us to internalize/standardize that
boilerplate while improving error-handling.

Additionally, future strategies that parse JSON data can use the
`Json#find_versions` method instead of having to reinvent the wheel
(similar to how we currently have a number of strategies that
leverage `PageMatch#find_versions`).
2023-02-23 13:17:35 -05:00
BrewTestBot
c57b760d12
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-02-23 09:03:06 +00:00
BrewTestBot
2d75110351
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-02-22 16:22:15 +00:00
BrewTestBot
c1999257b0
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-02-22 14:13:13 +00:00
Mike McQuaid
688d473a59
Merge pull request #14740 from unitof/update-docs-v4
Formula-Cookbook: update for Homebrew v4
2023-02-22 12:31:42 +00:00
Jacob Ford
a591cad985
Formula-Cookbook: generalize locations
Co-authored-by: Eric Knibbe <enk3@outlook.com>
2023-02-21 15:27:44 -05:00
Jacob Ford
926cba3e16
Formula-Cookbook: suggested edits from @MikeMcQuaid
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-02-21 13:32:38 -05:00
Mike McQuaid
11f94af0f2
docs: fix up more brew --prefix usage.
The new form used to be slow but both are now fast.
2023-02-21 08:57:12 +00:00
Jacob Ford
c70ce7a4bf Formula-Cookbook: correct HOMEBREW_NO_INSTALL_FROM_API value 2023-02-21 00:03:00 -05:00
Jacob Ford
44a43f1a46 Formulae-Cookbook: update for Homebrew v4 2023-02-20 19:52:38 -05:00
Nicholas (Nick) Meyer
5b80085837
Improve unversioned python location specification
brew --prefix python errors out when the python package is not
installed, so using that instead of brew --prefix prevents python
package installation issues from silently breaking, for example, shell
env scripts that add this to $PATH.

See https://github.com/orgs/Homebrew/discussions/3596#discussioncomment-5050569
2023-02-20 16:28:42 -08:00
BrewTestBot
d1f6551909
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-02-20 16:17:04 +00:00
Mike McQuaid
e51ee89a90
Merge pull request #14714 from EricFromCanada/linux-omit-home
docs: add missing template file edits
2023-02-20 09:56:04 +00:00
Mike McQuaid
57844530a9
analytics: remove UUID.
We don't use this at all with InfluxDB and don't need it any more for GA
so let's just remove it.
2023-02-20 09:05:15 +00:00
EricFromCanada
0d2b74d7e7
docs: add missing template file edits
plus extra instructions for completions file editing
2023-02-19 16:22:39 -05:00
Mike McQuaid
abc6d22623
Merge pull request #14672 from Bo98/analytics-docs
docs/Analytics: update with post-4.0.0 info
2023-02-17 13:31:18 +00:00
Ruoyu Zhong
36e78e9558
docs/FAQ: fix HOMEBREW_NO_INSTALL_FROM_API mention
There is no `HOMEBREW_NO_INSTALL_WITH_API`; it should be
`HOMEBREW_NO_INSTALL_FROM_API`.

Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2023-02-17 16:51:05 +08:00
Bo Anderson
3f03d5b2d8
docs/Analytics: update with post-4.0.0 info 2023-02-16 18:21:58 +00:00
BrewTestBot
7b1ebdc233
Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-02-16 15:41:58 +00:00
Mike McQuaid
9a02d48de7
cmd/analytics: note Google Analytics differences.
Be more explicit about when Google Analytics is disabled and when the
is used or not.
2023-02-16 09:44:07 +00:00
Mike McQuaid
381238b545
Merge pull request #14646 from MikeMcQuaid/auto_update_secs
Further adjust `HOMEBREW_AUTO_UPDATE_SECS`
2023-02-15 18:08:27 +00:00
Mike McQuaid
039d2f8fd9
Merge pull request #14645 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2023-02-15 17:53:32 +00:00
Mike McQuaid
98022b2061
Merge pull request #14644 from MikeMcQuaid/api_auto_update_secs
env_config: reduce api_auto_update_secs.
2023-02-15 17:50:51 +00:00
Mike McQuaid
f39ab585b9
Further adjust HOMEBREW_AUTO_UPDATE_SECS
Add another case to update once an hour when developer commands have
been run.
2023-02-15 17:37:12 +00:00
BrewTestBot
fa82d2a268
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-02-15 17:21:46 +00:00
Mike McQuaid
a5c4ce59ff
env_config: reduce api_auto_update_secs.
We're reducing this in formulae.brew.sh too.
2023-02-15 17:17:51 +00:00
Mike McQuaid
c5252817c2
analytics: refactor InfluxDB/Google handling. 2023-02-15 16:34:50 +00:00
Adrian Ho
5d826390c7
docs: no more homedir installs
Capability removed via https://github.com/Homebrew/install/pull/702
2023-02-15 12:05:09 +00:00
Sanjito Kurniawan
c7b8b3a989
docs/FAQ: correct an entry regarding simple formula edit
Co-authored-by: Kevin <apainintheneck@gmail.com>
2023-02-14 12:04:37 +00:00
ImgBotApp
82f0441bee
[ImgBot] Optimize images
/docs/assets/img/docs/managing-pull-requests.drawio.svg -- 61.20kb -> 43.58kb (28.79%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-02-12 17:13:51 +00:00
Mike McQuaid
75a20689b1
Add HOMEBREW_API_AUTO_UPDATE_SECS
This sets the default and allows customising how often we try to
download files from the API.

This does not affect `brew update` as we want to always check every time
on an explicit call.
2023-02-11 07:22:50 +00:00
EricFromCanada
dfc9906184
internal messaging fixes 2023-02-10 23:17:16 -05:00
BrewTestBot
344cc35c9b
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-02-10 17:01:55 +00:00
Daniel Bayley
2ff90c3232 Fix HOMEBREW_BAT_CONFIG_PATH hint
`HOMEBREW_BAT_CONFIG_PATH` should respect [`BAT_CONFIG_PATH`](https://github.com/sharkdp/bat#configuration-file), in the same way that `HOMEBREW_BAT_THEME` [reflects](https://github.com/Homebrew/brew/pull/13385/files#diff-a8ebbe0466e56bdb9c7ebc74d5ffbd383b8c0902fcb5146cb1960e3d69dadeb1R78) `BAT_THEME`.

Previous, for context:
https://github.com/Homebrew/brew/pull/7488
https://github.com/Homebrew/brew/pull/11975
https://github.com/Homebrew/brew/pull/13385
2023-02-09 19:24:31 +00:00
Mike McQuaid
f383e7f1c2
Merge pull request #14561 from reitermarkus/version-latest-docs
Tweak `version :latest` docs.
2023-02-09 12:52:42 +00:00
Markus Reiter
fa9d8057ab
Tweak version :latest docs. 2023-02-08 19:07:21 +01:00
Mike McQuaid
cb1872e5bf
Merge pull request #14553 from MikeMcQuaid/4.0.0-changes 2023-02-08 11:05:08 +00:00
Mike McQuaid
717e9f7776
New-Maintainer-Checklist: clarify 1Password groups.
We've tweaked these and have separate ops/security vaults now so let's
mention it here.
2023-02-08 09:09:56 +01:00
Mike McQuaid
2a5d41d41b
Revert "Merge pull request #14547 from Homebrew/revert-14412-homebrew_install_from_api_default"
This reverts commit f4e60482791d2ff628efadfdbf0d14d9237d2d29, reversing
changes made to e26784f424061ca16987afcb21e036c66a298492.
2023-02-07 19:25:40 +01:00