apainintheneck
8de625e0e2
extend/os: clean up requires
...
These need to be after the original module/class definitions
for the monkey-patching to work correctly.
2023-02-22 21:21:24 -08:00
Bo Anderson
336c2c792d
Merge pull request #14733 from Bo98/api-security
...
Security enhancements to API
2023-02-22 23:10:37 +00:00
Bo Anderson
7008771051
Merge pull request #14771 from Homebrew/dependabot/bundler/Library/Homebrew/plist-3.7.0
...
build(deps): bump plist from 3.6.0 to 3.7.0 in /Library/Homebrew
2023-02-22 23:10:08 +00:00
Issy Long
c7b06df72e
dev-cmd/contributions: One --verbose
sentence per user is enough
2023-02-22 23:05:02 +00:00
Issy Long
28a2a6ea43
utils/github: Add date filtering to the commit author API query
...
- I missed this off the original implementation - oops. This gives parity with
the `git log` implementation.
2023-02-22 23:01:38 +00:00
Bo Anderson
5ecf76a611
Harden plist parsing
2023-02-22 22:52:06 +00:00
Bo Anderson
e663f532a6
Checksum Ruby source file downloads
2023-02-22 22:50:24 +00:00
Bo Anderson
2129b4c750
Merge pull request #14774 from bevanjkay/revert-14747-feat/cask/audit_pkg_signing
...
Revert "cask: audit for correct signing of pkg installers"
2023-02-22 22:46:25 +00:00
Bevan Kay
7497f805ba
Revert "cask: audit for correct signing of pkg installers"
2023-02-23 09:12:24 +11:00
Bo Anderson
b7d6d00c34
api: use signed endpoint
2023-02-22 21:53:32 +00:00
Markus Reiter
4f04e9e599
Add signatures for extraction functions.
2023-02-22 22:15:53 +01:00
Issy Long
bfff981f1a
Merge pull request #14770 from issyl0/smarter-pagination
2023-02-22 19:35:42 +00:00
Sean Molenaar
2b1fbaa26d
Merge pull request #14748 from SMillerDev/feat/cask/audit_short_version_sparkle
...
cask: audit if sparkle livecheck needs multipart version
2023-02-22 20:23:17 +01:00
Sean Molenaar
c14b7917a2
Update Library/Homebrew/cask/audit.rb
2023-02-22 19:43:02 +01:00
BrewTestBot
f5cd81be7e
Update RBI files for plist.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-02-22 18:21:36 +00:00
BrewTestBot
be7319bd98
brew vendor-gems: commit updates.
2023-02-22 18:14:20 +00:00
dependabot[bot]
25f604f86f
build(deps): bump plist from 3.6.0 to 3.7.0 in /Library/Homebrew
...
Bumps [plist](https://github.com/patsplat/plist ) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/patsplat/plist/releases )
- [Changelog](https://github.com/patsplat/plist/blob/master/CHANGELOG.rdoc )
- [Commits](https://github.com/patsplat/plist/compare/v3.6.0...v3.7.0 )
---
updated-dependencies:
- dependency-name: plist
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-22 18:10:19 +00:00
Issy Long
dd140ea717
utils/github/api: Smarter pagination in paginate_rest
...
- The `API_MAX_PAGES` value is 50, so for pages 1 to 50, the
`paginate_rest` method was making an API call even if there was no
data past, for example, page 8.
- This made `brew contributions --user=issyl0` take 11 minutes, since we
made 50 API calls _per repo_ even if it was unnecessary, burning down
our API allowance.
- Instead, stop looping if we detect that there's no data in `result`.
- This probably needs more testing for other parts of Homebrew that rely
on `paginate_rest` and the different shapes of data it outputs.
2023-02-22 17:53:46 +00:00
Issy Long
1b3fa0bef7
Merge pull request #14768 from issyl0/contributions-fix-trailers-args
...
dev-cmd/contributions: Correctly order the trailers method args
2023-02-22 17:41:23 +00:00
Issy Long
0d345c4257
dev-cmd/contributions: Correctly order the trailers method args
...
- Was this a bad merge conflict resolution, or me not paying enough
attention another time?
2023-02-22 17:24:13 +00:00
Issy Long
2e31653e69
Merge pull request #14767 from issyl0/fix-contributions-single-user
...
dev-cmd/contributions: Fix single-user handling; be more verbose
2023-02-22 17:17:30 +00:00
Douglas Eichelberger
29c6baeed1
Enable typing in Cask::Artifact
2023-02-22 09:11:29 -08:00
Issy Long
3d3369c542
dev-cmd/contributions.rb: odie
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-02-22 17:02:22 +00:00
Issy Long
d40bd0ae3e
dev-cmd/contributions: Fix single-user handling; be more verbose
...
- `brew contributions --user=issyl0` was taking forever because it went
through all maintainers first, because the conditionals were in the
wrong order.
- This was too quiet, far too quiet, for something that takes so long.
- Now verbose mode tells you what repos it's scanning for a user.
2023-02-22 16:48:31 +00:00
Mike McQuaid
dd32c7a92c
Merge pull request #14765 from Homebrew/sponsors-maintainers-man-completions
...
Update manpage and completions.
2023-02-22 16:45:08 +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
Mike McQuaid
b4e9f33c62
Merge pull request #14722 from issyl0/contributions-all-maintainers-sentence
...
dev-cmd/contributions: Stats for all maintainers
2023-02-22 16:21:23 +00:00
Issy Long
214110f665
dev-cmd/contributions: Stats for all maintainers
...
- With `brew contributions`, this will output a list of stats
(across the specified time period, or all time) for people in the
"maintainers" team on GitHub.
- Add a `--user` flag for getting stats for a specific user (either
username, name or email address).
- This assumes that their Git committer details are the same as their name is
set to on GitHub.
- Show an error message if trying to generate a CSV for the full maintainer
list, since I haven't worked out how to best show all of that info yet (or
even how best to show only the totals across everything for every user) in
that format.
2023-02-22 16:05:58 +00:00
Mike McQuaid
8d02143c2b
Add generate-{cask,formula}-api commands
...
These replace the similar scripts in formulae.brew.sh.
Part of #14730 .
2023-02-22 15:33:16 +00:00
Mike McQuaid
5272640cfc
Merge pull request #14761 from Homebrew/sponsors-maintainers-man-completions
...
Update sponsors.
2023-02-22 14:28:50 +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
BrewTestBot
5ac8437188
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-02-22 14:12:54 +00:00
Issy Long
93ce211ebd
Merge pull request #14737 from issyl0/api-commits-for-person
...
dev-cmd/contributions: Use GitHub APIs for commit author info
2023-02-22 14:12:16 +00:00
Mike McQuaid
4e0a9b8771
Merge pull request #14758 from reitermarkus/livecheck-extract-plist
...
Don't preprocess URL for `:extract_plist` strategy.
2023-02-22 13:31:19 +00:00
Mike McQuaid
d877203336
Merge pull request #14755 from dduugg/consolidate-rubocop-configs
...
Consolidate some rubocop configurations
2023-02-22 12:34:51 +00:00
Sean Molenaar
6d3b38c93a
Merge pull request #14747 from SMillerDev/feat/cask/audit_pkg_signing
...
cask: audit for correct signing of pkg installers
2023-02-22 13:33:10 +01: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
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