Bo Anderson
5202f712c0
os/mac/keg: print stderr on codesign failure
2021-02-11 12:38:40 +00:00
Mike McQuaid
3bcd919a70
Merge pull request #10578 from MikeMcQuaid/formula_bottle_hash
...
formula: add bottle_hash method.
2021-02-10 15:39:44 +00:00
Michka Popoff
e0a9ec9b1e
Merge pull request #10569 from iMichka/gcc2
...
linux: use preferred_gcc instead of gcc
2021-02-10 12:20:28 +01:00
Mike McQuaid
04804c6db5
formula: add bottle_hash method.
...
Extract this method from `#to_hash` so it can be used in `brew bundle`.
2021-02-10 10:36:40 +00:00
Mike McQuaid
5048dcf7ec
Merge pull request #10545 from Bo98/describe_java
...
system_config: remove describe_java
2021-02-10 10:34:08 +00:00
BrewTestBot
805e9fbaf3
Update RBI files for activesupport.
2021-02-10 06:01:38 +00:00
BrewTestBot
1533ab6b66
brew vendor-gems: commit updates.
2021-02-10 06:00:45 +00:00
dependabot[bot]
7f7e22fe65
build(deps): bump activesupport from 6.1.1 to 6.1.2 in /Library/Homebrew
...
Bumps [activesupport](https://github.com/rails/rails ) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/rails/rails/releases )
- [Changelog](https://github.com/rails/rails/blob/v6.1.2/activesupport/CHANGELOG.md )
- [Commits](https://github.com/rails/rails/compare/v6.1.1...v6.1.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-10 05:58:32 +00:00
Bo Anderson
8ff7b58cba
system_config: remove describe_java
2021-02-09 20:58:30 +00:00
Michka Popoff
0a292c7041
linux: use preferred_gcc instead of gcc
2021-02-09 21:48:48 +01:00
Gibson Fahnestock
0f48498ad8
fix(tap): set clone remote name to origin explicitly
...
Git now allows setting a different default remote name than `origin`
when you do a fresh clone by running:
```shell
git config --global clone.defaultRemoteName notorigin
```
This causes `brew tap <tap_name> && brew update` to fail, as it clones
with a different remote name in the `tap` and then expects the remote to
be `origin` in the `update`.
Fix this by explicitly setting the origin remote in the clone command.
2021-02-09 15:29:54 +00:00
BrewTestBot
ca65767f20
Update RBI files for bootsnap.
2021-02-09 06:04:34 +00:00
BrewTestBot
10f93ab6e3
brew vendor-gems: commit updates.
2021-02-09 06:03:44 +00:00
dependabot[bot]
024f053cdd
build(deps): bump bootsnap from 1.7.1 to 1.7.2 in /Library/Homebrew
...
Bumps [bootsnap](https://github.com/Shopify/bootsnap ) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/Shopify/bootsnap/releases )
- [Changelog](https://github.com/Shopify/bootsnap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.7.1...v1.7.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-09 06:01:24 +00:00
Rylan Polster
455af85235
Merge pull request #10547 from Rylan12/prepare-bottle-syntax-deprecations
...
Prepare deprecations for the old bottle syntax
2021-02-08 19:13:37 -05:00
nandahkrishna
15f936a22a
dev-cmd/update-maintainers: implement suggestions from code review
2021-02-08 23:33:26 +05:30
nandahkrishna
90632ce274
dev-cmd/update-maintainers: modify Linux maintainer wording in README
2021-02-08 23:33:25 +05:30
nandahkrishna
0474fe6093
dev-cmd/update-maintainers: add tests
2021-02-08 23:33:25 +05:30
nandahkrishna
6026c7c74d
brew update-maintainers
: dev-cmd to update maintainers in README
2021-02-08 23:33:25 +05:30
Michka Popoff
066ef6b43e
Merge pull request #10512 from iMichka/gcc5
...
compilers: prefer gcc 5 on linux
2021-02-08 17:23:47 +01:00
Dawid Dziurla
c5e3437122
Merge pull request #10561 from iMichka/conflicts
...
on_os block: allow to contain conflicts_with
2021-02-08 16:42:03 +01:00
Dawid Dziurla
3eb47725f9
Merge pull request #10568 from mindfulmonk/patch-1
...
Add workflow scope to github.rb
2021-02-08 15:25:56 +01:00
Rylan Polster
78f54b060c
Merge pull request #10540 from cdalvaro/feature/brew_info_add_full_token_for_casks
...
Add full_token and tap entries to cask json output
2021-02-08 07:54:57 -05:00
Marcus Maxwell
f1ef1afd21
Add workflow scope to github.rb
2021-02-08 12:30:19 +00:00
Michka Popoff
865fb15ad7
on_os block: allow to contain conflicts_with
...
Some conflicts are os-specific.
2021-02-08 13:27:04 +01:00
Michka Popoff
221983dbcf
compilers: prefer gcc 5 on linux
...
Fixes #10170 by preferring gcc@5 on linux
This makes sure ENV.cc and ENV.cxx is correctly set:
If a formula does not explicitely depend on a brewed gcc,
ENV.cc is set to gcc-5 (system gcc-5 or brewed gcc-5) with this change,
even if other gcc versions are installed on the system.
2021-02-08 13:26:50 +01:00
Carlos Álvaro
65d5c11f15
Update list_spec.rb for cask full_name
2021-02-08 13:20:41 +01:00
Carlos Álvaro
ce7ab823ed
Replace test for checking formulae tap
...
As suggested by @Rylan12, integration tests are super slow.
Co-Authored-By: Rylan Polster <rslpolster@gmail.com>
2021-02-08 13:20:41 +01:00
Carlos Álvaro
aebf4c9100
Safe access to tap attributes
...
Prevent calling name tap attribute when the tap is nil
Co-Authored-By: Rylan Polster <rslpolster@gmail.com>
2021-02-08 13:20:41 +01:00
Carlos Álvaro
7ca79553f0
Add test to check --json=v2 format
2021-02-08 13:20:41 +01:00
Carlos Álvaro
a20b601120
Add tap to formula json output
2021-02-08 13:20:40 +01:00
Carlos Álvaro
84d80cf0bf
Add tap to cask json output
2021-02-08 13:20:40 +01:00
Carlos Álvaro
4f5f3824c6
Add full_token to cask json output
2021-02-08 13:20:40 +01:00
Mike McQuaid
39b3bcdce4
Undeprecate ENV.O1/ENV.O0
...
These are still used in Homebrew/homebrew-core. The others are either
- default (Os on macOS, O2 on Linux)
- less reliable than the default (O3)
While we're here, also remove an outdated `ncurses_define` comment.
2021-02-08 11:11:21 +00:00
Max Nordlund
fee42c4d5f
Fix typo
2021-02-06 23:10:24 +01:00
Rylan Polster
f68a3961c7
Prepare deprecations for the old bottle syntax
2021-02-06 14:27:03 -05:00
BrewTestBot
6837ffd753
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2021-02-06 00:55:51 +00:00
Sam Ford
0d1aa33f81
Merge pull request #10525 from samford/livecheck-check-stable-before-head
...
livecheck: check stable before head by default
2021-02-05 19:30:10 -05:00
Misty De Meo
c6dc42fd9d
Utils: fix *_stdout_or_stderr helpers
...
Several calls to ohai and puts were directly changed into calls to
these new functions, but they don't share arity or an API.
The base functions allow arbitrary number of arguments, allowing for
multiline printing that covers both a title and a longer message.
2021-02-05 10:13:44 -08:00
Mike McQuaid
cdbc1d43a6
homebrew_bootsnap: fail more gracefully.
...
If `bootsnap` isn't available then print out an error message rather
than failing all of Homebrew.
2021-02-05 15:43:55 +00:00
Mike McQuaid
4e5a48df8d
brew vendor-gems: commit updates.
2021-02-05 15:07:52 +00:00
Mike McQuaid
72cb6ffd12
utils: import {ohai,puts}_stdout_or_stderr
...
Fixes #10536
2021-02-05 15:03:31 +00:00
Issy Long
984eb3f878
Merge pull request #10535 from issyl0/utils-github-error-if-no-creds-are-detected-and-scopes-are-required
...
utils/github: Provide a better error message when users don't have any GitHub credentials set
2021-02-05 14:19:28 +00:00
Issy Long
f71ea65ee0
utils/github: Say "macOS keychain" in MissingAuthenticationError
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-02-05 13:52:32 +00:00
Mike McQuaid
4c8fe984c6
Merge pull request #10533 from Bo98/arm-devtools
...
os/mac/diagnostic: always require dev tools on Apple Silicon
2021-02-05 13:42:46 +00:00
Issy Long
9394fe2b52
utils/github: Use constant everywhere for "create a PAT" message
...
- This way if we ever change this messaging, we only have to do so once.
2021-02-05 12:45:11 +00:00
Issy Long
ccb6d5e834
utils/github: Handle users not having any GitHub credentials
...
- When running `brew request-bottle`, users who don't have credentials
in the macOS keychain (ie, Linux users) or `HOMEBREW_GITHUB_API_TOKEN`
receive "Error: Not Found" from the GitHub API returning a 404.
- This is cryptic and confusing for newcomers to Linux maintenance, and
potentially confusing to other folks using `open_api` where
credentials are expected yet unset.
- This adds a new `MissingAuthenticationError` to handle the case where
the GitHub API returns 404 and there are no creds yet API scopes are
required.
Before:
```
issyl0@sky:/home/linuxbrew/.linuxbrew/Homebrew$ brew request-bottle hello
==> Dispatching request to Homebrew/linuxbrew-core for hello
Error: Not Found
```
After:
```
issyl0@sky:/home/linuxbrew/.linuxbrew/Homebrew$ brew request-bottle hello
==> Dispatching request to Homebrew/linuxbrew-core for hello
Error: No GitHub credentials found in Keychain or environment.
Create a GitHub personal access token:
https://github.com/settings/tokens/new?scopes=gist,public_repo&description=Homebrew
echo 'export HOMEBREW_GITHUB_API_TOKEN=your_token_here' >> ~/.profile
```
2021-02-05 12:44:46 +00:00
Bo Anderson
ec3e078bcb
os/mac/diagnostic: always require dev tools on Apple Silicon
2021-02-05 12:26:28 +00:00
Mike McQuaid
e98a913783
Merge pull request #10501 from MikeMcQuaid/update-stderr
...
cmd/update-report: output to stderr when not a TTY.
2021-02-05 12:15:30 +00:00
Mike McQuaid
ebc7cc36a0
Merge pull request #10530 from Homebrew/dependabot/bundler/Library/Homebrew/codecov-0.4.3
...
build(deps): bump codecov from 0.4.2 to 0.4.3 in /Library/Homebrew
2021-02-05 09:31:49 +00:00