2536 Commits

Author SHA1 Message Date
Mike McQuaid
efa04015a1
Merge pull request #14149 from danielbayley/dev-cmd-ruby
dev-cmd/`ruby`: add `--version`
2022-11-16 13:39:49 +00:00
Daniel Bayley
4bf2b3df4a dev-cmd/ruby: add --version 2022-11-16 13:09:31 +00:00
Bo Anderson
bca9eb05d1
dev-cmd/unbottled: simulate target tag 2022-11-16 00:07:31 +00:00
Mike McQuaid
59f4b5226a
tests: test on Ubuntu 18.04. 2022-11-09 14:45:43 +00:00
hyuraku
561602fa51 use Manpages method on dev-cmd/update_maintainers 2022-11-08 20:36:10 +09:00
hyuraku
d89344b41d add manpage.rb to generating homebrew manual 2022-11-08 20:33:30 +09:00
Bo Anderson
a54b7a8c15
dev-cmd/prof: use HOMEBREW_RUBY_EXEC_ARGS 2022-11-05 04:18:13 +00:00
Bo Anderson
7d7083d0f3
Universally apply Ruby disable options 2022-11-05 01:58:12 +00:00
Bo Anderson
5fb368d9b8
dev-cmd/bottle: add --no-all-checks 2022-11-04 18:46:43 +00:00
Mike McQuaid
2961132e01
tests: fix under GitHub Codespaces. 2022-11-03 16:33:04 +00:00
Mike McQuaid
30f069f60a
Merge pull request #14045 from Bo98/bump-formula-pr-version
dev-cmd/bump-formula-pr: allow --version for version formatting changes
2022-10-26 12:12:27 +01:00
Bo Anderson
b500aee799
dev-cmd/bump-formula-pr: allow --version for version formatting changes 2022-10-25 15:46:27 +01:00
Bo Anderson
e47988a12b
dev-cmd/unbottled: fix --dependents erroring 2022-10-25 15:44:29 +01:00
Bo Anderson
eac32f0b20
Additional fixes for Ruby 3 compatibility 2022-10-18 01:54:59 +01:00
EricFromCanada
504bdd2816
bump-cask-pr: handle additional use cases 2022-10-14 11:19:49 -04:00
Bo Anderson
6858e215dd
dev-cmd/vendor-gems: add --no-commit switch 2022-10-14 01:30:37 +01:00
Bo Anderson
c87c97e4d7
utils/gems: install Bundler into vendor directory 2022-10-14 01:30:34 +01:00
Issy Long
250f1882c8
dev-cmd/typecheck: Reinstate srb rbi hidden-definitions
- Turns out we do need this. I lulled us into a false sense of security
  by not deleting `sorbet/rbi/hidden-defintions/hidden.rbi` previously.
- If we do delete that file then Sorbet reveals >200 typechecking
  issues.
- The docs on moving from `srb rbi` to `tapioca` say that we don't need
  `hidden-definitions` anymore, but clearly we do. The blog post goes
  into a lot of detail on why `rbi hidden-defintions` exists and the
  fact that there's not an analogous command in Tapioca:
  https://sorbet.org/blog/2022/07/27/srb-tapioca#whats-happening-with-srb-rbi-hidden-definitions
- Eventually we should try out `tapioca dsl`, since that's said to be a
  "partial replacement" for `hidden-definitions`, and removing our
  reliance on deprecated commands can only be a good thing?
2022-10-11 09:58:44 +01:00
Issy Long
b7d997e80d
sorbet: Bump some files from typed: false to typed: true
- This was done with `brew typecheck --update --suggest-typed` which
  (as of the previous commit) uses Spoom, yet another gem. I thought I'd
  see how well it works. There are no Sorbet errors after these changes!
2022-10-11 01:09:03 +01:00
Issy Long
295d60b3a2
Gemfile*,dev-cmd/typecheck: Use Spoom for --suggest-typed
- Spoom is the gem that's recommended for automatically changing `typed`
  sigils in files now. It was recommended in the "migrate to Tapioca"
  guide at
  https://github.com/Shopify/tapioca/wiki/Migrating-to-Tapioca#things-that-do-not-need-to-happen.
2022-10-11 01:09:02 +01:00
Issy Long
bca4fa3472
dev-cmd/typecheck: Use Tapioca more as srb rbi is in maintenance
- According to https://sorbet.org/blog/2022/07/27/srb-tapioca, Tapioca
  is the recommended way to generate RBIs for Sorbet these days and `srb
  rbi` is in maintenance mode.
- There's a handy migration document -
  https://github.com/Shopify/tapioca/wiki/Migrating-to-Tapioca - and
  we're some of the way there already given we currently use Tapioca in
  some places.
2022-10-11 00:56:48 +01:00
Nanda H Krishna
639e8eb237
Merge pull request #13613 from mohammadzainabbas/mohammad
Augment `brew livecheck` with a `--resources` option to check resources
2022-10-02 13:31:17 -04:00
apainintheneck
ad75619554 Remove unused function from bump-cask-pr 2022-09-27 21:20:05 -07:00
Mohammad Zain Abbas
9755b00fdc
Merge branch 'Homebrew:master' into mohammad 2022-09-27 14:24:10 +02:00
Mike McQuaid
4aa765fafe
Cleanup and fix CI jobs
- use macOS 12 or Ubuntu 22.04 wherever appropriate
- don't append `(Linux)` to job names
- use specific Ubuntu 22.04 and Ubuntu 18.04 jobs

We may want to consider more Ubuntu 18.04 jobs in future, too.
2022-09-27 10:30:08 +01:00
Mohammad Zain Abbas
a81ef89883
Merge branch 'Homebrew:master' into mohammad 2022-09-26 19:40:54 +02:00
Sean Molenaar
dd46cc40c7
audit: improve error wording 2022-09-26 15:37:12 +02:00
Sean Molenaar
95777e7cdf Audit: complain if no targets are found 2022-09-26 10:49:12 +02:00
Mohammad Zain Abbas
e058da1706 Merge branch 'master' into mohammad 2022-09-14 05:19:50 +02:00
Mohammad Zain Abbas
8496ca0416 Added skip_conditions support for resource 2022-09-14 03:42:12 +02:00
Mike McQuaid
344d47accc
sponsors-maintainers-man-completions: various fixes.
- fix name
- use correct command
2022-09-08 12:19:13 +01:00
Mike McQuaid
bc295f7947
update-sponsors: don't require admin token.
Instead, use a different API to query these with a lower scope.

This should be usable by GitHub Actions.
2022-09-07 16:49:41 +01:00
Mike McQuaid
e2759fbdff
Deprecate reading all formulae through commands
We added the `--all` flag (now renamed to `--eval-all`) for various
commands for this behaviour so let's start deprecating this.

Also, introduce a `HOMEBREW_EVAL_ALL` environment variable to use the
existing, less secure, behaviour by default and avoid passing
`--eval-all` everywhere.
2022-09-05 13:57:22 +01:00
Mike McQuaid
552dc93242
Merge pull request #13802 from Rylan12/fix-bump-cask-pr
bump-cask-pr: cleanup handling of multiple hashes
2022-09-05 12:14:18 +01:00
Mike McQuaid
997fd648ce
Merge pull request #13788 from Homebrew/sponsors
Automate sponsors updates
2022-09-05 12:07:31 +01:00
Rylan Polster
092095a249
bump-cask-pr: cleanup handling of multiple hashes 2022-09-03 19:28:23 -04:00
Bo Anderson
04f6f53b58
dev-cmd/pr-pull: avoid expensive search API calls 2022-09-03 21:19:37 +01:00
Mike McQuaid
af6165aab7
Automate sponsors updates
- Add sponsors updating to the existing man/completion/maintainer update workflow
- Hide/deprecated --fail-if-not-changed arguments and make them default behaviour
- Rename man-completions workflow to sponsors-maintainers-man-completions for consistency
- Make output and exit codes more consistent between these updating commands
- Fix maintainers updates not always being committed correctly
2022-09-02 08:24:33 +01:00
Mohammad Zain Abbas
461ae71229
Merge branch 'Homebrew:master' into mohammad 2022-08-23 14:27:47 +02:00
Mike McQuaid
aa297cd8d1
Merge pull request #13743 from MikeMcQuaid/odisabled_remove
Remove odisabled for 3.6.0
2022-08-23 11:50:38 +01:00
Mike McQuaid
e7aa71de26
Remove odisabled for 3.6.0
The next release will be 3.6.0.
2022-08-23 11:25:02 +01:00
Bo Anderson
0593597a11
linkage_checker: don't reinstall formula on some linkage failures 2022-08-23 09:38:52 +01:00
Rylan Polster
1075bbd895
Fix multi-arch cask sha256 updates 2022-08-18 12:50:20 -04:00
Carlo Cabrera
a1c1bf73ec
dev-cmd/test: set RUST_BACKTRACE when retrying
Occasionally, a new version of Rust will cause failures in dependents.
See, for example, Homebrew/homebrew-core#107818.

This change will allow us to get a fuller backtrace in CI, which will
also make it easier to submit bug reports upstream.

Without this change, recovering a full backtrace requires installing the
new version of Rust and rebuilding the failing formula from source. Both
these steps can be skipped if we set `RUST_BACKTRACE` when retrying a
failing test.
2022-08-15 18:27:32 +08:00
Rylan Polster
8fb03838db
bump-cask-pr: fix sha256 replacement with arch 2022-08-11 23:59:20 -04:00
Mohammad Zain Abbas
a2979b2b10
Merge branch 'Homebrew:master' into mohammad 2022-08-11 22:07:30 +02:00
Mike McQuaid
5ac30ed2ef
Merge pull request #13684 from MikeMcQuaid/rubocop_cmd_fixes
dev-cmd/rubocop: use bundle check.
2022-08-11 16:41:57 +01:00
Mike McQuaid
74a8e5bb23
dev-cmd/rubocop: use bundle check.
It's not reliable enough to just check for the binary.
2022-08-11 10:57:19 +01:00
Mike McQuaid
6b697470fd
brew style --fix
For https://github.com/Homebrew/brew/pull/13671
2022-08-10 14:19:33 +01:00
Mohammad Zain Abbas
105135ed91
Merge branch 'Homebrew:master' into mohammad 2022-08-06 14:59:14 +02:00