Mike McQuaid
57ef4afe57
api: improve root messaging.
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2023-02-23 12:48:18 +00:00
Mike McQuaid
d1cba00ee3
Merge pull request #14779 from MikeMcQuaid/bye_atom
...
which_editor: remove Atom.
2023-02-23 10:20:10 +00:00
Mike McQuaid
2884b1649b
api: don't download files as root when Homebrew's not owned by root.
...
This was mentioned in a random comment. While we're here, make some
helper functions to query this a bit more nicely elsewhere when we do
it.
2023-02-23 10:04:50 +00:00
Mike McQuaid
5d06f6b9a6
Merge pull request #14781 from MikeMcQuaid/too_many_json_template
...
dev-cmd/generate-*-api: don't use same constant name.
2023-02-23 09:36:52 +00:00
Mike McQuaid
bd806419ca
Merge pull request #14772 from EricFromCanada/autogenerated-check
...
CI: check for changes to autogenerated files
2023-02-23 09:32:07 +00:00
Mike McQuaid
53c3db5df7
Merge pull request #14780 from Homebrew/sponsors-maintainers-man-completions
...
Update manpage and completions.
2023-02-23 09:18:25 +00:00
EricFromCanada
ec4d907d7d
CI: check for changes to autogenerated files
2023-02-23 09:17:56 +00:00
Mike McQuaid
2f47403f8c
dev-cmd/generate-*-api: don't use same constant name.
...
Otherwise Ruby warns.
2023-02-23 09:09:54 +00:00
Mike McQuaid
236208ff79
Merge pull request #14756 from apainintheneck/clean-up-extend-os-requires
...
extend/os: clean up requires
2023-02-23 09:07:59 +00: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
Mike McQuaid
f6d1fa62f1
Merge pull request #14762 from MikeMcQuaid/generate_api
...
Add generate-{cask,formula}-api commands
2023-02-23 09:02:15 +00:00
Mike McQuaid
aca3eead71
which_editor: remove Atom.
...
It's been deprecated. Make VSCode first because it's what we recommend.
2023-02-23 08:53:32 +00:00
Mike McQuaid
43209a1af1
Merge pull request #14775 from issyl0/github-api-commits-support-since-until
...
utils/github: Add date filtering to the commit author API query
2023-02-23 08:52:36 +00:00
Mike McQuaid
9c9213aabd
Apply suggestions from code review
...
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
Co-authored-by: Bo Anderson <mail@boanderson.me>
2023-02-23 08:45:56 +00:00
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