56 Commits

Author SHA1 Message Date
Mike McQuaid
29ed4d216a
Revert "Remove HOMEBREW_BOTTLE_DOMAIN" 2021-07-29 21:15:40 +01:00
Mike McQuaid
5d8b5ceb22
Remove HOMEBREW_BOTTLE_DOMAIN
It no longer works under GitHub Packages and `HOMEBREW_ARTIFACT_DOMAIN`
must be used instead.
2021-07-27 14:12:17 +01:00
yahavi
0335d8c0bc Fix code review comments + disable authorization on redirections 2021-07-26 19:07:23 +03:00
yahavi
b8954030e3 Add support for private registry 2021-07-25 10:50:12 +03:00
Connor Mann
989e3cd2fa
Update HOMEBREW_NO_INSTALL_UPGRADE description 2021-06-11 13:48:25 -04:00
Connor Mann
b6cb3d2b6a
Add HOMEBREW_NO_INSTALL_UPGRADE 2021-06-10 15:06:12 -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
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
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
Bo Anderson
5660a1bf13
brew.sh: HOMEBREW_SIMULATE_MACOS_ON_LINUX implies HOMEBREW_FORCE_HOMEBREW_ON_LINUX 2021-03-05 12:22:27 +00:00
Bo Anderson
abb2b26a93
Add HOMEBREW_SIMULATE_MACOS_ON_LINUX 2021-03-05 12:21:45 +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
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
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
641f134274
Apply Mike's suggestions 2021-02-23 11:31:43 -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
b0bd15fb41
pr-upload: Upload bottles to Archive.org
--archive-item specifies the item identifier.
HOMEBREW_ARCHIVE_KEY=access:secret specifies the S3 key.
2021-02-22 17:21:43 -08:00
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
Mike McQuaid
b85cd133d0
env_config: auto update updates more commands.
e.g. `brew bundle` so let's not claim to list them all.
2021-02-16 09:35:02 +00:00
Mike McQuaid
d0fa752c69
env_config: update HOMEBREW_BOOTSNAP description.
Note that it is a no-op when using portable ruby.
2021-02-02 15:56:16 +00:00
Mike McQuaid
3b0e8b7cf0
Document HOMEBREW_{,NO_}BOOTSNAP variables. 2021-02-02 12:34:15 +00:00
EricFromCanada
6fc116318e fixes for grammar and wording 2021-01-26 16:19:47 -05:00
EricFromCanada
2ed324ebc0 use backticks around suggested input, flags, and binaries 2021-01-26 16:19:47 -05:00
Mike McQuaid
74fb058c7e
More deprecations
More deprecations, disabling and removal for Homebrew 2.7.0.
2020-12-18 14:17:37 +00:00
Mike McQuaid
5757777a6e
Add HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS environment variable
This allows customisation of how often the periodic cleanups are done.
2020-12-09 10:36:02 +00:00
Markus Reiter
0424940496 Add types for ENV extensions. 2020-11-23 02:06:37 +01:00
EricFromCanada
72bc057014 manpage: fixes for formatting 2020-11-16 08:02:50 -05:00
EricFromCanada
f784b7107f manpage: fixes for grammar 2020-11-16 07:56:50 -05:00
Markus Reiter
da9289eff0 Add more type signatures. 2020-11-13 12:26:36 +01:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Markus Reiter
d36df37099 Replace custom stubs with sorbet-runtime-stub. 2020-10-09 16:45:13 +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
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
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
Mike McQuaid
fb4d08a49a Fix brew style 2020-09-11 10:29:22 +01:00
Markus Reiter
e0202e3ba9 Re-add HOMEBREW_DEBUG environment variable. 2020-09-03 20:16:16 +02: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
Markus Reiter
f98223ba1a Document EnvConfig. 2020-08-26 03:13:58 +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
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
William Ma
72b0859b8c Remove invalid HOMEBREW_CASK_OPTS options 2020-08-05 12:22:12 -04:00
William Ma
907d4d7f74 Add shared methods for uninstalling, reinstalling casks 2020-08-05 11:04:40 -04:00
Markus Reiter
b1ca2f7e3c Add shared method for upgrading casks. 2020-08-05 13:55:04 +02:00
lionellloh
7ed33959f9 description for HOMEBREW_FORBIDDEN_LICENSES 2020-07-09 17:42:08 +08:00
Lionell Loh Jian An
5e99ecfbdb
Apply suggestions from code review
Code review changes

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-07-08 23:55:48 +08:00
Lionell
4013da3128 license-bl: new blacklist env var 2020-07-07 21:34:48 +08:00