797 Commits

Author SHA1 Message Date
Mike McQuaid
2bdf3deb6f
Reduce shallow clone usage
GitHub has requested we request our usage of shallow clones. As a
result:

- do default to shallow clones on CI
- do not do --shallow-since when setting up new repositories in
  `brew update`
- do not support shallow clones of homebrew-core at all

We may consider in future unshallowing all clones unconditionally.
2020-10-09 09:57:04 +01:00
Markus Reiter
10e3b63b7b Inline install, reinstall and upgrade options. 2020-10-08 11:33:38 +02:00
Markus Reiter
7743fed77b Add “GLOBAL CASK OPTIONS” section to man page. 2020-10-08 11:07:35 +02:00
Markus Reiter
7f14e55f99 Add missing cask options to brew upgrade. 2020-10-08 11:07:35 +02:00
Markus Reiter
d443d9ab75 Include cask in brew reinstall help text. 2020-10-08 11:06:04 +02:00
Markus Reiter
67519d487a Include cask in brew install help text. 2020-10-08 11:06:04 +02:00
Mike McQuaid
95cd1de2a5
HOMEBREW_NO_CHECK_INSTALLED_DEPENDENTS: add variable.
Add an opt-out of this behaviour.
2020-10-06 10:50:51 +01:00
Jonathan Chang
cda13d1d9a
Merge pull request #8847 from Rylan12/pr-upload-add-no-commit-flag
pr-upload: add --no-commit flag
2020-10-04 04:19:41 +11:00
Dawid Dziurla
9ec618f08a
Merge pull request #8762 from dawidd6/tap-new-gh-rel
tap-new: enable bottles publishing
2020-10-03 19:18:01 +02:00
Rylan Polster
1fe9370b38 pr-upload: add --no-commit flag 2020-10-03 12:36:46 -04:00
Jonathan Chang
8ac9608787 pr-publish: support dispatching with autosquash 2020-10-03 16:35:48 +10:00
Dawid Dziurla
843dffea78
tap-new: enable bottles publishing
to GitHub Releases
2020-10-02 13:49:24 +02:00
Jonathan Chang
6fb72f4d71 Deprecate GitHub basic authentication.
This API authentication path will be disabled on Nov 13 2020.
2020-10-01 17:18:11 +10:00
Mike McQuaid
541bc5f745
manpages: update brew bundle. 2020-09-30 16:43:47 +01:00
Markus Reiter
0c74d93939 Fix man page difference on Linux. 2020-09-27 23:02:19 +02:00
Markus Reiter
08be729af0 Support all cask options in brew install. 2020-09-27 22:54:57 +02:00
Markus Reiter
f54b458cda Allow installing casks with brew install. 2020-09-27 22:53:32 +02:00
Jonathan Chang
e082da45b8
Merge pull request #8754 from jonchang/refactor-git-cmds
dev-cmd/pr-pull: refactor and add tests
2020-09-21 18:58:52 +10:00
Issy Long
bb0fc2764e
dev-cmd/typecheck: Make an --update switch for automatic updates
- This was suggested in https://github.com/Homebrew/brew/pull/8741#discussion_r490949486.
2020-09-21 08:58:58 +01:00
Jonathan Chang
04687aef93 dev-cmd/pr-pull: don't assume a master branch 2020-09-20 13:21:27 +10:00
Issy Long
33a16e599a
Merge pull request #8741 from issyl0/cleanup-files-yaml
dev-cmd/typecheck: Programmatically delete old files from `sorbet/files.yaml`
2020-09-18 13:03:10 +01:00
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
nandahkrishna
cf293d0ef5
livecheck: progress bar for JSON output
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
Co-authored-by: Dustin Rodrigues <dust.rod@gmail.com>
2020-09-18 02:40:51 +05:30
Jonathan Chang
4315a2647f pr-pull: implement autosquash option 2020-09-17 17:27:38 +10:00
Seeker
626e861c73 bump-cask-pr: add --online switch for brew cask audit 2020-09-16 10:56:54 -07:00
Seeker
7d29054cf2 bump-formula-pr: add --online switch for brew audit 2020-09-16 10:27:11 -07: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