422 Commits

Author SHA1 Message Date
Issy Long
3bf5136e82
dev-cmd/typecheck: Delete old files from sorbet/files.yaml
- I was going through the `sorbet/files.yaml` moving various things to
  `true`, playing around locally, and happened upon some files that it
  was tracking that had been deleted.
- We want to do some automation of new files, but I'm not sure we'd ever
  considered the possibility of code being removed. :-D
- This adds a `--prune-files-list` switch and updates the Tapioca GitHub
  Actions workflow to use it. Any changes to the `sorbet/files.yaml`
  file will be committed as part of the scheduled Tapioca update job.
2020-09-18 12:30:43 +01:00
Dawid Dziurla
0bf491ba18
pr-pull: don't require bintray credentials to be set
It blocks uploading to GitHub Releases where Bintray credentials are not needed.
Also those checks are already performed in `bintray.rb`.
2020-09-15 13:40:07 +02:00
Dawid Dziurla
14741e3681
Merge pull request #8410 from dawidd6/github-releases
Support bottle uploads to GitHub Releases
2020-09-15 11:59:35 +02:00
Dawid Dziurla
f6601cee10
Support bottle uploads to GitHub Releases
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-09-12 13:03:39 +02:00
Mike McQuaid
9df637ffd1 Add HOMEBREW_UPDATE_REPORT_ONLY_INSTALLED
This allows reducing the volume of `brew update` output by only
outputting the changes to formulae that you have installed.
2020-09-11 11:59:47 +01:00
Seeker
0a4fbf7f6a dev-cmd: add bump-cask-pr 2020-09-08 08:26:05 -07:00
Seeker
88ebbd5692 bump-formula-pr: make --dry-run conflict with --write
Also add `--commit` to a create commit without opening a pull request
2020-09-04 10:22:13 -07:00
Markus Reiter
e0202e3ba9 Re-add HOMEBREW_DEBUG environment variable. 2020-09-03 20:16:16 +02:00
Mike McQuaid
2e5272d04c Deprecate/disable code for Homebrew 2.5.0.
Do the usual "disable deprecations" and "uncomment pending deprecations"
dance and delete/deprecate/disable relevant/related code.
2020-09-03 10:34:22 +01:00
nandahkrishna
e5fe57c1fe
Migrate livecheck to Homebrew/brew
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
Co-authored-by: Thierry Moisan <thierry.moisan@gmail.com>
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
Co-authored-by: Issy Long <me@issyl0.co.uk>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Seeker <meaningseeking@protonmail.com>
2020-08-31 17:08:28 +05:30
Mike McQuaid
cd075dd45a dev-cmd/sh: rename SCRIPT argument. 2020-08-28 08:37:15 +01:00
Maxim Belkin
669ae5c077 dev-cmd/sh.rb: fix usage banner 2020-08-27 19:52:40 +00:00
Maxim Belkin
ee5a2017c7 dev-cmd/sh.rb: update usage banner 2020-08-27 18:39:05 +00:00
Maxim Belkin
28c43f1afc dev-cmd/sh.rb: non-interactive mode 2020-08-27 16:45:38 +00:00
vidusheeamoli
2468fb127d dev-cmd: add brew typecheck cmd
This PR adds a new `brew typecheck` developer command which checks for
typechecking errors in the current code with Sorbet.
2020-08-27 02:41:36 +05:30
Dustin Rodrigues
9dbe0e7b02 README: update maintainer list 2020-08-24 20:45:55 -04:00
William Ma
2263b0702f readme: Update maintainer list 2020-08-22 12:12:46 -04:00
Mike McQuaid
1d3adda693
workflows: cleanup/fix tapioca and spdx update. 2020-08-21 15:34:57 +01:00
Mike McQuaid
a4d0174d7b
prof: improve brew prof functionality.
- Add `--stackprof` to allow using stackprof
- Use the latest version of `ruby-prof`
- Automatically open the generated HTML output
2020-08-20 13:01:58 +01:00
Baffour Adu Boampong
e7506eed95 brew man 2020-08-17 15:00:51 +00:00
Baffour Adu Boampong
2f189426b7 Merge branch 'master' into mlh-outdated-packages 2020-08-17 13:10:59 +00:00
Elizabeth Tackett
9cae9f284c update argument handling and syntactical feedback changes 2020-08-16 18:45:50 -05:00
Dawid Dziurla
36f3e09669
bump-revision: allow multiple formulae to be specified 2020-08-15 10:43:29 +02:00
Dawid Dziurla
d5c8f2e102
pr-pull: pass --keep-old option to pr-upload
also fix typo in `--root-url` option
2020-08-14 13:40:21 +02:00
Markus Reiter
1f9130e070 Remove references to brew-cask from brew man page. 2020-08-14 05:35:34 +02:00
Markus Reiter
7bc9b3f2b7
Merge pull request #8239 from reitermarkus/cask-cli-parser
Use `CLI::Parser` for `cask` commands.
2020-08-13 21:42:51 +02:00
Baffour Adu Boampong
6c266a6964
Merge branch 'master' into mlh-outdated-packages 2020-08-13 13:18:08 +00:00
Dustin Rodrigues
35a27bfe9c docs: update GitHub rate limit URL 2020-08-12 23:51:12 -04:00
Markus Reiter
b48bc316e0 Use CLI::Parser for cask commands. 2020-08-13 05:15:15 +02:00
Baffour Adu Boampong
ad2809b615
Merge branch 'master' into mlh-outdated-packages 2020-08-10 21:21:09 +00:00
Mike McQuaid
4de4c3d4d4
Merge pull request #8192 from Bo98/prof-args-fix
dev-cmd/prof: improve arg passing
2020-08-10 09:57:41 +01:00
Mike McQuaid
3875f16782
Fix --formula and --cask flags.
These were all made `--formulae` and `--casks` for consistency but that
doesn't behave as expected because they have special behaviours in
`args`. Instead, use the singular form everywhere.
2020-08-07 09:53:30 +01:00
Mike McQuaid
c761c04e26
Merge pull request #8231 from MikeMcQuaid/audit-tap
audit: add --tap argument.
2020-08-06 10:54:14 +01:00
Mike McQuaid
a3b4ea0443
audit: add --tap argument.
This allows auditing a single tap (so is useful for `test-bot`).
2020-08-06 09:43:02 +01:00
Mike McQuaid
ced084bd49
Handle casks in commands more consistently.
- Ensure the usage documentation always mentions casks when appropriate
- Use --formulae or --casks consistently
- Provide --formulae and --casks switches to upgrade
- Mark more switches as conflicting
2020-08-06 09:25:45 +01:00
William Ma
907d4d7f74 Add shared methods for uninstalling, reinstalling casks 2020-08-05 11:04:40 -04:00
William Ma
cf961caa27 caskroom: Add --caskroom command 2020-08-03 12:35:03 -04:00
Baffour Adu Boampong
c7c4921744
Merge branch 'master' into mlh-outdated-packages 2020-08-03 13:11:20 +00:00
Bo Anderson
10f2a50256 dev-cmd/prof: improve arg passing 2020-08-03 12:29:22 +01:00
Markus Reiter
b6a326f6ee Run brew man to update brew bundle manpage. 2020-07-31 17:59:45 +02:00
Markus Reiter
05aada4333 Fix flags for brew log. 2020-07-31 17:46:54 +02:00
Markus Reiter
d4c2ffd705 Refactor CLI::Parser. 2020-07-31 15:07:17 +02:00
Rylan Polster
2d086013f9 dev-cmd: add update-python-resources command 2020-07-29 09:50:16 -04:00
Mike McQuaid
92a39bc49e
test: add flag to retry.
This should allow better handling flaky tests.
2020-07-29 12:00:45 +01:00
Elizabeth Tackett
1d328eb7e5 add --formula flag to allow user specific queries 2020-07-28 09:30:19 -05:00
Mike McQuaid
0be15fc4b7
Run brew update before brew bundle.
This should help with cases like
https://github.com/Homebrew/homebrew-bundle/issues/751
and is good practise in general.

Also, document the `brew update --preinstall` flag that is being used
here so others can run it manually e.g. as part of CI if needed.
2020-07-28 11:49:52 +01:00
Dawid Dziurla
7279e6f465
Merge pull request #8116 from dawidd6/workflow-dispatch-publish
pr-publish: use workflow_dispatch trigger
2020-07-28 12:36:33 +02:00
Dawid Dziurla
7d7b80774e
pr-publish: use workflow_dispatch trigger 2020-07-28 12:06:16 +02:00
Markus Reiter
c0d42dd922 Remove --force from global_options. 2020-07-28 10:31:11 +02:00
Dawid Dziurla
5c87a909ea
Merge pull request #7888 from dawidd6/pr-stuff
dev-cmd/pr-*: allow to run on other taps too
2020-07-27 21:04:48 +02:00