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
Mike McQuaid
8948a3a6e1
Merge pull request #14751 from MikeMcQuaid/analytics_tweak_constants
...
utils/analytics: tweaks constants.
2023-02-22 11:40:39 +00:00
Sean Molenaar
dcb6522604
audit: fix appcast_unneeded_long_version syntax
2023-02-22 12:02:25 +01:00
Sean Molenaar
77fc4c2f8a
audit: check if third version exists before checking URL
2023-02-22 11:58:19 +01:00
Markus Reiter
62ac2dda8b
Don't preprocess URL for :extract_plist
strategy.
2023-02-22 10:37:51 +01:00
Nanda H Krishna
a3207a0390
Merge pull request #14754 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2023-02-21 23:05:52 -05:00
Douglas Eichelberger
769117f552
Collapse AllowedNames
2023-02-21 18:04:32 -08:00
Douglas Eichelberger
ed8363fd72
Consolidate some rubocop configurations
2023-02-21 16:50:29 -08:00
BrewTestBot
4856b9f436
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2023-02-22 00:28:05 +00:00
Mike McQuaid
7ac31f7d65
Merge pull request #14732 from dduugg/formula-cop-mixin
...
Refactor FormulaCop as an abstract class
2023-02-21 23:05:58 +00:00
Mike McQuaid
da6d355c52
Merge pull request #14743 from reitermarkus/official-cask-taps
...
Use `OFFICIAL_CASK_TAPS` constant.
2023-02-21 23:05:32 +00:00
Mike McQuaid
076f36d8df
Merge pull request #14745 from reitermarkus/livecheck-extract-plist
...
Look for all packages if specified packages are not found.
2023-02-21 23:04:59 +00:00
Mike McQuaid
a98cc1f016
Merge pull request #14744 from reitermarkus/bump-unversioned-casks
...
Ignore discontinued casks in `bump-unversioned-casks`.
2023-02-21 23:04:44 +00:00
Mike McQuaid
5b14404e72
Merge pull request #14750 from MikeMcQuaid/more_metrics_disabled
...
rubocop.yml: disable more metrics.
2023-02-21 23:03:48 +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
Mike McQuaid
059945ae0d
Merge pull request #14738 from aristocrates/patch-1
...
Improve unversioned python location specification
2023-02-21 19:32:01 +00: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
Sean Molenaar
4dcf5f0ad7
cask: audit style fixes
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-02-21 19:29:05 +01:00
Sean Molenaar
8806178cf3
cask: audit if sparkle livecheck needs multipart version
2023-02-21 19:27:07 +01:00
Douglas Eichelberger
bd5a7f6a14
Update formula_cop.rb
2023-02-21 09:52:20 -08:00
Mike McQuaid
792ec7fc85
utils/analytics: tweaks constants.
...
This enables easier usage in `brew formula-analytics`.
2023-02-21 17:07:01 +00:00
Mike McQuaid
552902413a
rubocop.yml: disable more metrics.
...
Disable these in taps, too.
2023-02-21 16:31:43 +00:00
Sean Molenaar
c5786ea799
cask: audit for correct signing of pkg installers
2023-02-21 17:05:55 +01:00
Markus Reiter
f709a34d28
Look for all packages if specified packages are not found.
2023-02-21 14:06:33 +01:00
Markus Reiter
fbf85b7530
Ignore discontinued casks in bump-unversioned-casks
.
2023-02-21 12:43:09 +01:00
Markus Reiter
8a81473179
Use OFFICIAL_CASK_TAPS
constant.
2023-02-21 12:39:07 +01:00
Issy Long
c9e6b81b4b
utils/github: API.paginate_rest
handles extra query params
...
- Functionally it doesn't matter that the URL will have an `&` at the
end if `additional_query_params` is `nil`, because it doesn't affect
the URL at all.
2023-02-21 11:06:30 +00:00
Mike McQuaid
853b33bcda
Merge pull request #14742 from apainintheneck/respect-quiet-with-api-downloads
...
api: respect --quiet
2023-02-21 09:23:07 +00:00
Mike McQuaid
98d9f28307
Merge pull request #14739 from issyl0/rubocop-disable-all-metrics
...
rubocop: Entirely disable `Metrics` cops
2023-02-21 09:16:28 +00:00
Mike McQuaid
f0fbeba2ef
Merge pull request #14723 from carlocab/zlib-mtime
...
utils/gzip: set `mtime = 1` when `mtime == 0`.
2023-02-21 09:04:55 +00: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
apainintheneck
0b3b54e75d
api: respect --quiet
2023-02-20 23:23:42 -08:00
Jacob Ford
c70ce7a4bf
Formula-Cookbook: correct HOMEBREW_NO_INSTALL_FROM_API value
2023-02-21 00:03:00 -05:00
Douglas Eichelberger
387d2f859f
Use exclude_from_registry instead
2023-02-20 18:14:47 -08:00
Douglas Eichelberger
d9db5e8825
Refactor FormulaCop as a mixin
2023-02-20 18:14:47 -08:00
Jacob Ford
44a43f1a46
Formulae-Cookbook: update for Homebrew v4
2023-02-20 19:52:38 -05:00
Issy Long
0a6c59c0b3
dev-cmd/contributions: Less disgusting way to determine brew
's NWO
2023-02-21 00:51:32 +00:00
Issy Long
298bb65dfb
rubocop: Entirely disable Metrics
cops
...
- These are arbitrary length limits that had a load of disables in code.
- The limits were only increasing over time rather than decreasing.
- Fixing the problematic code to be shorter would take a long time for
questionable gain since the problem has been around so long.
2023-02-21 00:34:17 +00: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
Bo Anderson
7e48ed50f7
Merge pull request #14736 from aphedges/fix-bash-completion
...
Handle undeclared POSIXLY_CORRECT in Bash completions
2023-02-21 00:14:22 +00:00
Alex Hedges
5ed06a7956
Handle undeclared POSIXLY_CORRECT in Bash completions
...
As of `brew` 4.0.2, sourcing the Bash completions with `set -eu` causes a
failure if `POSIXLY_CORRECT` is not declared. The check will now
properly handle this situation.
I'm not sure if the resulting code is POSIX-compliant, but it prevents a
breaking change until a better solution can be found.
2023-02-20 18:36:59 -05:00
Issy Long
d3827b12f2
dev-cmd/contributions: Use GitHub APIs for commit author info
...
- Using `git log` was brittle with name changes and email address changes for
contributors over the years unless we made a Git `mailmap` file which brings
with it its own updatedness overhead.
- Let's use the GitHub commits API (importantly _not_ the search API) so that
we can give it a username and it will return contributions associated with
every email address on that user's account:
https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28#list-commits--parameters .
- This is quite significantly slower, but it's worth it for correctness
especially when we get to all maintainers' contributions (in a separate PR).
- The commits API does not (yet?) support trailers or commit "committer"s, just
authors.
2023-02-20 23:24:54 +00:00
Mike McQuaid
4eaaa867de
Merge pull request #14709 from issyl0/rubocop-tidying
...
rubocop: Some more config cleanup
2023-02-20 19:35:36 +00:00
Mike McQuaid
1f1a4775ea
Merge pull request #14734 from Homebrew/dependabot/bundler/Library/Homebrew/mime-types-data-3.2023.0218.1
...
build(deps): bump mime-types-data from 3.2022.0105 to 3.2023.0218.1 in /Library/Homebrew
2023-02-20 19:29:01 +00:00
BrewTestBot
63c1027b7a
Update RBI files for mime-types-data.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-02-20 19:13:10 +00:00
BrewTestBot
26039ed257
brew vendor-gems: commit updates.
2023-02-20 19:07:13 +00:00
dependabot[bot]
20784364aa
build(deps): bump mime-types-data in /Library/Homebrew
...
Bumps [mime-types-data](https://github.com/mime-types/mime-types-data ) from 3.2022.0105 to 3.2023.0218.1.
- [Release notes](https://github.com/mime-types/mime-types-data/releases )
- [Changelog](https://github.com/mime-types/mime-types-data/blob/main/History.md )
- [Commits](https://github.com/mime-types/mime-types-data/compare/v3.2022.0105...v3.2023.0218.1 )
---
updated-dependencies:
- dependency-name: mime-types-data
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 19:03:05 +00:00
Bo Anderson
ba6d87eed9
Merge pull request #14729 from Homebrew/revert-14711-extract-permissions
...
Revert "Fix permissions before moving extracted files."
4.0.3
2023-02-20 17:38:55 +00:00
Mike McQuaid
d292dbdc2b
Revert "Fix permissions before moving extracted files."
2023-02-20 17:20:57 +00:00
Mike McQuaid
ddd328ed7d
Merge pull request #14725 from Bo98/api-link_overwrite
...
Support `link_overwrite` and `conflicts_with` in API
2023-02-20 16:44:11 +00:00