32614 Commits

Author SHA1 Message Date
Lukas Oberhuber
936d363c44
Style
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-08-05 16:12:39 -07:00
Lukas Oberhuber
6fbadb35e7
Style fix
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-08-05 16:06:22 -07:00
Rylan Polster
dd72f1ac95
Add arch cask DSL 2022-08-05 17:12:55 -04:00
Carlo Cabrera
336335abe5
Merge pull request #13656 from carlocab/patchelf-rpath
linux/keg_relocate: remove patchelf exemption
2022-08-06 02:42:12 +08:00
Carlo Cabrera
2d95b9acda
linux/keg_relocate: remove patchelf exemption
I don't think this is needed anymore. We probably needed this when we
used `patchelf` to do `RPATH` rewriting, but this is no longer the case.
2022-08-06 00:26:48 +08:00
Carlo Cabrera
ff9c250019
Merge pull request #13655 from carlocab/pr-conflict-fix
pr-pull: fix PRs conflicting with themselves
3.5.8
2022-08-05 22:24:25 +08:00
Rylan Polster
d4ddfb88df
Merge pull request #13616 from Rylan12/simulate-macos-on-linux
Move `HOMEBREW_SIMULATE_MACOS_ON_LINUX` handling to `SimulateSystem`
2022-08-05 10:23:13 -04:00
Rylan Polster
8fea5ed63f
Merge pull request #13645 from Rylan12/on-system-docs
Add `on_{system}` methods to formula cookbook
2022-08-05 10:05:53 -04:00
Carlo Cabrera
a82974974c
Update Library/Homebrew/dev-cmd/pr-pull.rb
Co-authored-by: Bo Anderson <mail@boanderson.me>
2022-08-05 21:51:39 +08:00
Carlo Cabrera
61544369e4
pr-pull: fix PRs conflicting with themselves
https://github.com/Homebrew/homebrew-core/pull/106755#issuecomment-1206460655
2022-08-05 21:41:28 +08:00
hyuraku
a43633e094 add uniq to check multiple tap 2022-08-05 20:59:19 +09:00
Mike McQuaid
1807ac77d5
Merge pull request #13650 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.33.0
build(deps): bump rubocop from 1.32.0 to 1.33.0 in /Library/Homebrew
2022-08-05 10:18:50 +01:00
Carlo Cabrera
35e4d68a1c
Merge pull request #13651 from iMichka/pull3 2022-08-05 08:05:40 +08:00
Michka Popoff
08e4e2f201
docs: document CI versions of Ubuntu 2022-08-05 00:17:47 +02:00
Michka Popoff
3eacc0fb7c
pr-pull: fix check conflicts
The previous refactorings broke the conflict check.
Go back to the initially proposed syntax to fill the hashes/arrays,
which is more readable, and which works (the proc syntax does not seem to work for our purpose here)

Remove space before the error message, else only the first line of the output has 2 spaces
and this looks weird
2022-08-04 23:34:52 +02:00
BrewTestBot
345b283058
brew vendor-gems: commit updates. 2022-08-04 18:15:52 +00:00
dependabot[bot]
a65f5c2d49
build(deps): bump rubocop from 1.32.0 to 1.33.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.32.0 to 1.33.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.32.0...v1.33.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 18:04:45 +00:00
Lukas Oberhuber
0b554a4138 Style 2022-08-04 08:53:07 -07:00
Lukas Oberhuber
2ce58f9fcb fix removing of previous source 2022-08-04 08:52:49 -07:00
fn ⌃ ⌥
dce57eaad6 Always print install cleanup disable message for periodic clean 2022-08-04 07:46:31 -07:00
fn ⌃ ⌥
71ab2f6e7a Run periodic cleanup after installing all packages 2022-08-04 07:46:31 -07:00
Carlo Cabrera
4302af67b7
formula_auditor: audit for Linux-only dependencies on GCC
As we've seen, allowing Linux-only dependencies on GCC results in its
dependency tree growing out of control to the point of being extremely
painful to maintain.

Let's stop this situation from getting worse by:
- failing a `--strict` audit when there is a Linux-only GCC dependency.
  This also prevents new formulae from having such a dependency.
- failing any audit whenever a formula that did not previously have a
  Linux-only GCC dependency picks one up

If a future formula update causes a formula to fail to build on Linux
because it needs a newer GCC when it previously did not, then we should
not bottle it. We can bottle this hypothetical formula when our bottling
distribution includes a new enough version of GCC.
2022-08-04 22:17:47 +08:00
Rylan Polster
78bf62ee5d
Apply suggestions from code review
Co-authored-by: Adrian Ho <the.gromgit@gmail.com>
2022-08-04 10:15:00 -04:00
hyuraku
84ec42f31b check whether token is multiple tap's name 2022-08-04 22:34:16 +09:00
Mike McQuaid
b556db72fb
Merge pull request #13644 from Bo98/ruby-path-macos-fix
utils/ruby.sh: fix `HOMEBREW_USE_RUBY_FROM_PATH` on non-latest macOS
2022-08-04 11:39:23 +01:00
Kevin
93bf9e5ba2
Merge pull request #13532 from apainintheneck/add-uninstall-autoremove
cmd/uninstall: Add env variable that runs autoremove after uninstalls
2022-08-03 18:10:32 -07:00
Rylan Polster
9176d65054
Clarifications 2022-08-03 20:38:23 -04:00
Rylan Polster
6a93c5d53d
Add on_{system} methods to formula cookbook 2022-08-03 20:33:49 -04:00
Bo Anderson
ef20a53b4c
utils/ruby.sh: fix HOMEBREW_USE_RUBY_FROM_PATH on non-latest macOS 2022-08-03 23:28:44 +01:00
Michka Popoff
ab49c02501
Merge pull request #13638 from iMichka/fixpull2
github/pr-pull: fix/improve parameters
2022-08-03 23:03:30 +02:00
Issy Long
717ed00195
Merge pull request #13641 from Homebrew/update-man-completions
Update maintainers, manpage and completions.
2022-08-03 19:38:47 +01:00
BrewTestBot
74de603456
Update maintainers, manpage and completions.
Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow.
2022-08-03 18:07:13 +00:00
Issy Long
154806d8eb
Merge pull request #13603 from issyl0/cmd-contributions
dev-cmd/contributions: Retrieve a user's repo contributions over time
2022-08-03 19:05:40 +01:00
Carlo Cabrera
a93906a159
Merge pull request #13633 from carlocab/migrate-gcc-dependents
update-report: migrate GCC recursive dependents
2022-08-04 02:02:48 +08:00
Issy Long
11d661c497
dev-cmd/contributions: Friendlier --repositories help text 2022-08-03 18:26:30 +01:00
Issy Long
430454ae9d
Merge pull request #13640 from Homebrew/official-taps-more-casks
official_taps: Add `cask-fonts`, `cask-drivers` taps
2022-08-03 18:22:12 +01:00
Issy Long
b5fb015d26
official_taps: Add cask-fonts, cask-drivers taps
- These weren't in `OFFICIAL_CASK_TAPS` but they probably should be given they're active repos in the Homebrew org.
2022-08-03 17:52:54 +01:00
Issy Long
4874602f25
dev-cmd/contributions: Better usage string & named args numbering
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2022-08-03 17:43:24 +01:00
Rylan Polster
8c8b843011
Merge pull request #13636 from FnControlHomebrew/depends
Check dependency order in on_system methods
2022-08-03 12:20:41 -04:00
Issy Long
0bb8a06193
dev-cmd/contributions: Revert to --repositories flag
- This doesn't require "all" to be specified as part of the command,
  it's the default, so usage is now just:

```
$ brew contributions "Issy Long"
$ brew contributions "Issy Long" --repositories=brew,core
$ brew contributions me@issyl0.co.uk --repositories=cask,bundle
```

- As we discussed in the PR review before, `comma_array` doesn't allow
  two names, so we can't (yet) do `comma_array "--repositories",
  "--repos"` like we can with `flag`. That's an enhancement for the future
  if we want to make the flags here less verbose. But now that "all" is
  the default, maybe less necessary.
2022-08-03 17:12:11 +01:00
Issy Long
31331663e4
dev-cmd/contributions: Don't have cask in SUPPORTED_REPOS twice
- Also stop skipping a "versions" repo. Since
  023261038192a4f55c95a4d2486873ec1c9a728a the
  `Homebrew/homebrew-cask-versions` tap won't get mistaken for
  `Homebrew/homebrew-versions` tap.
2022-08-03 16:54:01 +01:00
Issy Long
8c762d9687
dev-cmd/contributions: Improve Sorbet typing
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2022-08-03 16:54:00 +01:00
Issy Long
a7effbdd35
dev-cmd/contributions: Remove named arg names, unused
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2022-08-03 16:53:59 +01:00
Issy Long
5ecdf10e27
dev-cmd/contributions: Start output with the name/email
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2022-08-03 16:53:58 +01:00
Issy Long
0c7825accd
dev-cmd/contributions: Make the first arg either a name or email
- This is easier than mapping GitHub usernames to email addresses, when
  folks don't have email addresses always public on their GitHub
  profiles. Also, the users of this command (PLC members, other
  interested parties) don't have to remember folks' email addresses.
- It also gives better data for people who've changed their name over
  the years, and who commit with multiple email addresses (personal and
  work).

```
❯ brew contributions "Issy Long" all
Person Issy Long directly authored 687 commits and co-authored 33 commits across all Homebrew repos in all time.

❯ brew contributions "Rylan Polster" all
Person Rylan Polster directly authored 1747 commits and co-authored 133 commits across all Homebrew repos in all time.

❯ brew contributions me@issyl0.co.uk all
Person me@issyl0.co.uk directly authored 711 commits and co-authored 25 commits across all Homebrew repos in all time.

❯ brew contributions "Mike McQuaid" all
Person Mike McQuaid directly authored 26879 commits and co-authored 204 commits across all Homebrew repos in all time.
```
2022-08-03 16:53:57 +01:00
Issy Long
ae73f28d0f
dev-cmd/contributions: Use a named arg for required repositories
- This is apparently "more in-keeping with how we do required arguments
  (never requiring flags)" across Homebrew.
- New usage: `brew contributions me@issyl0.co.uk all`, `brew
  contributions me@issyl0.co.uk brew,core`
2022-08-03 16:53:56 +01:00
Issy Long
c02e03a179
dev-cmd/contributions: Use methods to get arguments
- I got these with hash syntax because I couldn't figure out Sorbet, but
  there's `args.rbi` to add the CLI args methods to. Nice!
- In doing this I realised that `--repositories` is required again, we
  no longer infer `--repositories=all` from no `--repositories` passed
  as we did in a previous version of this.
2022-08-03 16:53:55 +01:00
Issy Long
5d312d25d0
dev-cmd/contributions: Properly auto-tap 2022-08-03 16:53:54 +01:00
Issy Long
63a1a078b9
dev-cmd/contributions: Improve SUPPORTED_REPOS array syntax
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-08-03 16:53:53 +01:00
Issy Long
f5d5778186
dev-cmd/contributions: Use --repositories not --repos
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-08-03 16:53:52 +01:00