639 Commits

Author SHA1 Message Date
Mike McQuaid
02a344d432
Merge pull request #11368 from cnnrmnn/add-leaves-flags
Add leaves --installed-on-request and --installed-as-dependency flags
2021-05-13 13:33:29 +01:00
Rylan Polster
04ac61924b
cli/args: add new brew leaves args to rbi file
Also update the manpages with the new `brew leaves` options.
2021-05-12 11:49:46 -04:00
Mike McQuaid
b914411ac8
Delete Bintray code
Remove all code related to Bintray. It no longer works so there's no
point keeping it around.

Some of this could arguably be deprecated/disabled first/instead but:
I'm not sure I see the sense in keeping stuff around that's known to be
broken.
2021-05-12 13:37:18 +01:00
BrewTestBot
6d23fc2c4d
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-05-04 17:35:09 +00:00
Nanda H Krishna
2aff9ef1e6
Update manpages and completions 2021-05-04 18:33:22 +05:30
Gautham Goli
c1798a496a Fix shellcheck style errors on bash completion file 2021-05-02 14:58:39 +05:30
BrewTestBot
f385446353
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-04-29 18:58:20 +00:00
BrewTestBot
042ab7f890
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-04-27 14:08:20 +00:00
Mike McQuaid
c6a9227e08
More official Homebrew taps
Make `brew alias`, `brew autoupdate` and `brew command-not-found-init`
official commands. This means we:
- make sure we don't break their style with `brew style` changes
- autotap them when you run the command and they aren't installed
- include them in the manpage
2021-04-23 13:43:55 +01:00
Rylan Polster
844f15edec
Merge pull request #11182 from Rylan12/deprecate-brew-search-casks
search: properly deprecate `brew search --cask`
2021-04-19 20:06:59 -04:00
Rylan Polster
0a30cae9d1
search: properly deprecate brew search --cask 2021-04-19 08:25:19 -04:00
BrewTestBot
8706dda241
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-04-19 09:23:24 +00:00
BrewTestBot
73966f4cd5
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-04-17 12:21:10 +00:00
BrewTestBot
02f33834be
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-04-12 15:24:13 +00:00
Mike McQuaid
271474820f
Merge pull request #11075 from MikeMcQuaid/deprecate_disable_delete
Deprecate, disable, delete code for next major/minor version.
2021-04-09 10:09:51 +01:00
Mike McQuaid
d73351251c
Deprecate, disable, delete code for next major/minor version.
Do the usual dance for bumping our major/minor version.
2021-04-09 09:30:36 +01:00
Mike McQuaid
bf199cf271
Default Homebrew on Linux to use GitHub Packages. 2021-04-09 09:17:25 +01:00
Mike McQuaid
a2251a16ff
Default download to GitHub Packages
Now that all bottles (without existing `sha256` mismatches) have been
uploaded to GitHub Packages make it the default download location.

Will give this a few days testing before we make a tag and make this
default for everyone.

No migration has been done for Linuxbrew packages yet; those will be
done after we have fully migrated over Homebrew.
2021-04-08 11:33:03 +01:00
Mike McQuaid
0ec1f04e63
GitHub Packages CI upload fixes
- Add `--no-commit` option to `brew pr-pull` and pass to
  `brew pr-upload`
- Use `skopeo` from `PATH` if available (as it takes a while to build on
  CI)
2021-04-02 16:51:18 +01:00
BrewTestBot
1c5f446449
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-04-01 17:14:57 +00:00
Mike McQuaid
d8a2cf9efc
Write tabs to bottle JSON, optionally not bottle
- Write a subset of the tab required for bottles as an annotation.
- Add option on new bottle creation to skip writing tab into bottle
  and instead add it (and other useful metadata) to bottle JSON.
- Read formula information and tab from bottle JSON.
- Write prettier JSON to disk.
- Don't write `HEAD` to tab; this duplicates `HOMEBREW_VERSION`.
- Allow `brew bottle` to use `--json` to generate JSON files from a
  local bottle file.
2021-03-31 09:43:37 +01:00
BrewTestBot
ba2e1733a8
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-03-29 21:04:01 +00:00
BrewTestBot
591e9f6acb
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-03-29 11:47:11 +00:00
BrewTestBot
3c1b7dcdd3 Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-03-24 02:28:29 +00:00
Rylan Polster
2b8d19e0bd
audit: limit non-failure cask output 2021-03-22 22:16:54 -04:00
BrewTestBot
f6e5bb7ab6 Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-03-22 14:15:11 +00:00
BrewTestBot
0beb952530 Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-03-17 10:47:09 +00:00
Mike McQuaid
f391043418
README: update TSC, fix linting.
- Add the new TSC to the README, manpage
- Fix linting complaints about whitespace in the README
2021-03-16 08:51:13 +00:00
Mike McQuaid
8e646f6202
pr-upload: support uploading to GitHub Packages.
Use `oras` to create a package tagged with the current version.
2021-03-12 14:09:25 +00:00
Mike McQuaid
3f00d08544
dev-cmd/pr-upload: some refactoring
- make the description more generic/correct
- use "internet archive" over "archive"
- move some logic to a new `GitHubReleases` class (for consistency)
- remove some obvious comments
- extract out and move some constants
2021-03-11 14:49:56 +00:00
Bo Anderson
5660a1bf13
brew.sh: HOMEBREW_SIMULATE_MACOS_ON_LINUX implies HOMEBREW_FORCE_HOMEBREW_ON_LINUX 2021-03-05 12:22:27 +00:00
BrewTestBot
713a0692ae Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-03-04 15:13:05 +00:00
Mike McQuaid
fb1cf8f389
dev-cmd/tap-new: various tweaks.
- `--no-git` and `--branch` don't conflict as `--branch` is still used
  for the GitHub Actions branch even with `--no-git`
- fix some README markdown linting errors
- fix some YAML/GitHub Actions configuration linting errors
2021-03-01 13:40:08 +00:00
Bo Anderson
40f3fb9c55
Revert "Temporarily change default Bintray domain" 2021-03-01 00:19:38 +00:00
Bo Anderson
ff367939ce
Temporarily change default Bintray domain 2021-02-28 18:01:41 +00:00
BrewTestBot
9f19bde5bb Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-02-27 01:53:14 +00:00
BrewTestBot
19d50de8ca Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-02-26 18:08:09 +00:00
XuehaiPan
d2533ff2a6
software_spec: Add HOMEBREW_BOTTLE_DEFAULT_DOMAIN as a fallback option
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-02-26 11:23:33 +00:00
Mike McQuaid
ca47b47f77
Speedup brew --prefix <formula>
This case is _really_ slow even although it's something we encourage
people to run often and build systems often do. The `brew --prefix`
case is really fast because it's just in Bash so: let's pull the
`brew --prefix <formula>` case into Bash too.

This doesn't handle any edge-cases like `--installed` and the formula
detection is pretty simple.

Also, to make this behaviour consistent, never output `Cellar` paths
from the (Ruby) `brew --prefix`; we never want people relying on the
Cellar paths anyway, only output them if the formula wasn't installed
(where, arguably, using a Cellar path is even worse) and the speedup is
worth this deviation in behaviour.
2021-02-25 17:07:28 +00:00
BrewTestBot
0306fd4107 Update manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-02-25 16:24:22 +00:00
Mike McQuaid
f55b80a9a4
Revert "Enable HOMEBREW_BOOTSNAP for developers" 2021-02-25 11:06:50 +00:00
Mike McQuaid
3a73a7b2d3
Merge pull request #10680 from MikeMcQuaid/bootsnap-developers
Enable HOMEBREW_BOOTSNAP for developers
2021-02-24 13:46:56 +00:00
Shaun Jackman
be11a22d97
Update man pages 2021-02-23 11:31:53 -08:00
Mike McQuaid
22fb25d96d
Enable HOMEBREW_BOOTSNAP for developers
- Enable it by default if you've run a developer command or set
  `HOMEBREW_DEVELOPER`.
- Clarify the documentation that there's various configuration in which
  it doesn't work.

I've rolled this out of most of GitHub's developers with no ill effects
and we've enabled it in both CI and for various maintainers so it feels
appropriate to have a bigger rollout.
2021-02-23 09:35:21 +00:00
Shaun Jackman
7fd6d2166b
Update man pages 2021-02-22 17:58:13 -08:00
Shaun Jackman
2794641a28
Update man pages 2021-02-22 17:24:05 -08:00
Mike McQuaid
3929abcd04
Merge pull request #10640 from MikeMcQuaid/bottle_source_fallback_default
Make HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK default
2021-02-18 17:42:25 +00:00
Nanda H Krishna
53d840c969
Merge pull request #10635 from nandahkrishna/bump-cask-support
dev-cmd/bump: add cask support
2021-02-18 02:35:34 +05:30
Mike McQuaid
22e591e531
Make HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK default
- Remove `HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK` and make the behaviour
  the default. We mostly already do this since we added the need for
  the `--build-from-source` override on macOS. This allows us to
  delete some more code.
- Still fail and require `--build-from-source` when reinstalling or
  upgrading if failing on a formula-specific reason e.g. the CLT is
  not/no longer installed, you're using a non-default prefix.

Fixes #10623
2021-02-17 13:51:53 +00:00
nandahkrishna
24bb6040a7
dev-cmd/bump: add cask support 2021-02-17 00:42:07 +05:30