17311 Commits

Author SHA1 Message Date
Mike McQuaid
575f76a3fa
Merge pull request #7074 from dawidd6/log-homebrew-path
log: use user path
2020-02-25 08:43:38 +00:00
Issy Long
6d5f6ce96c
Revert "pull: use homebrew remote if HOMEBREW_FORCE_HOMEBREW_ON_LINUX"
- This reverts commit 9fb1876101a1abac8e3bfcc9f4f6fadbf0921c7c and commit
f8863c8a3bbef32dc65c9b95a57b54d7fc26c27e.
- The `JENKINS_HOME` envvar appears to be unset on the Linux Jenkins
master that holds the BinTray credentials.
- It's bed time, we're too tired to be fixing forward!
2020-02-24 22:56:33 +00:00
Dawid Dziurla
f8863c8a3b
pull: fix remote on jenkins 2020-02-24 23:26:28 +01:00
EricFromCanada
6f5cd0e7fe bump-formula-pr: support add multiple mirror URLs with --mirror 2020-02-24 13:07:46 -05:00
EricFromCanada
a24477dad6 bump-formula-pr: fix output when listing guesses 2020-02-24 13:07:46 -05:00
EricFromCanada
7ec2ffda93 bump-formula-pr: warn when removing mirrors 2020-02-24 13:07:46 -05:00
EricFromCanada
0132b905bf bump-formula-pr: automatically mirror Apache & GNU projects 2020-02-24 13:07:46 -05:00
EricFromCanada
50cc9db0f2 bump-formula-pr: also infer mirrors when a checksum is provided 2020-02-24 13:07:46 -05:00
EricFromCanada
29006396dd audit: check apache.org URLs 2020-02-24 13:07:46 -05:00
Mike McQuaid
670227bdc8
Merge pull request #7070 from dawidd6/pull-on-linux
pull: use `homebrew` remote if HOMEBREW_FORCE_HOMEBREW_ON_LINUX
2020-02-24 17:13:41 +00:00
Mike McQuaid
09f2ef8905
Merge pull request #7072 from SeekingMeaning/patch-2
Add ghc@8.6 to binary formula URLs whitelist
2020-02-24 17:13:22 +00:00
Dawid Dziurla
f11ddb9aab
log: use user path
Without this, one can't use a custom pager, if it's present in
non-standard PATH, like for example Homebrew on Linux prefix.
2020-02-24 13:26:42 +01:00
Mike McQuaid
5974714453
pull: add more docs comment context. 2020-02-24 11:41:29 +00:00
Mike McQuaid
ba52e7f932
rubocop/urls: remove deleted ghc@8.2. 2020-02-24 11:40:46 +00:00
Dawid Dziurla
9fb1876101
pull: use homebrew remote if HOMEBREW_FORCE_HOMEBREW_ON_LINUX 2020-02-23 21:49:23 +01:00
Caleb Xu
fa5faf3895 extract: handle versioned formulae names
Turn the output versioned formula from the form "name@version" to
"name-version", then following by appending the specific version
after it.

This solution ensures that separate extracted versions of a formulae
can exist alongside each other (e.g. 'python-2@2.7.17' and
'python-2@2.7.16').
2020-02-23 14:32:13 -05:00
Seeker
f60e2a0c4a
Add ghc@8.6 to binary formula URLs whitelist 2020-02-23 11:09:02 -08:00
Seeker
090a52a715
Fix detecting version from URL 2020-02-23 10:23:35 -08:00
Mike McQuaid
8f98b2bcc4
analytics: tweak behaviour.
- Use separate method for `not_this_run?` so we can still set the
  analytics message as seen when set.
- Clarify when analytics message is printed that we haven't sent any
  analytics yet.
2020-02-22 17:13:51 +00:00
Markus Reiter
5ebc478727
Merge pull request #7058 from reitermarkus/cask-formula-dependencies
Ensure formula dependencies for casks are linked.
2020-02-21 18:21:58 +01:00
Markus Reiter
19db7bb14b Ensure formula dependencies for casks are linked. 2020-02-21 17:36:55 +01:00
EricFromCanada
897f2bc225 tap-info: drop commands' brew(cask) naming requirement 2020-02-21 11:15:17 -05:00
EricFromCanada
bbdb72c5d5 tap-info: list cask tokens in JSON output 2020-02-21 11:14:52 -05:00
Mike McQuaid
d80f88ef99
Merge pull request #7052 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-0.80.0
build: bump rubocop from 0.79.0 to 0.80.0 in /Library/Homebrew
2020-02-19 12:18:16 +00:00
Mike McQuaid
02cc419a23
utils/bottles: delegate methods. 2020-02-19 11:54:42 +00:00
Mike McQuaid
dfa22680df
Autofix rubocop checks. 2020-02-19 11:24:12 +00:00
Mike McQuaid
6ce083d294
rubocop.yml: enable new checks. 2020-02-19 11:24:11 +00:00
Mike McQuaid
20e0aa2a51
Merge pull request #7053 from MikeMcQuaid/tap-shallow-docs
tap: update docs to note non-shallow default.
2020-02-19 11:14:46 +00:00
Mike McQuaid
dd0b1bd2dc
brew vendor-gems: commit updates. 2020-02-19 11:05:29 +00:00
Mike McQuaid
e9419e48e5
tap: update docs to note non-shallow default.
Also, while we're here, `rsync` and `git` are not acronyms.
2020-02-19 10:56:44 +00:00
dependabot-preview[bot]
486d3c44e3
build: bump rubocop from 0.79.0 to 0.80.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.79.0 to 0.80.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.79.0...v0.80.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-19 05:26:01 +00:00
Mike McQuaid
e7130bfc26
Merge pull request #7043 from forivall/feat/casks-in-tap-info
feat: expose casks in tap.to_hash for tap-info --json
2020-02-18 13:19:18 +00:00
Michka Popoff
c46a30b575 brew: remove most traces of python@2 2020-02-17 22:38:24 +01:00
Mike McQuaid
7ca8a52f01
Merge pull request #7046 from MikeMcQuaid/set_git_name_email
test: set Git name and email.
2020-02-17 20:29:39 +00:00
Mike McQuaid
f31e01c3ad
test: set Git name and email.
Extract the code from `bottle.rb` into `utils/git.rb` and ensure it's
run before we run tests.

Should resolve issues like in
https://github.com/Homebrew/homebrew-core/pull/50328
2020-02-17 19:40:44 +00:00
Mike McQuaid
1c267fbf40
Merge pull request #7044 from jonchang/prettier-args
formula: don't emit standard args for cmake and go
2020-02-17 12:43:53 +00:00
Jonathan Chang
2c94fca110 formula: don't emit standard args for cmake and go 2020-02-17 14:42:43 +11:00
Emily Marigold Klassen
2c86e7e127 feat: expose casks in tap.to_hash for tap-info --json 2020-02-16 15:59:37 -08:00
ImgBotApp
06841497bb [ImgBot] Optimize images
/Library/Homebrew/test/support/fixtures/test.svg -- 0.26kb -> 0.25kb (1.52%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-02-16 14:17:57 -08:00
Sam Ford
486a557cf5
rubocop/lines: add protobuf to whitelist 2020-02-16 09:34:09 -05:00
Issy Long
2a36f61c19
missing_formula: TexLive is only blacklisted on macOS
- In Homebrew/linuxbrew-core, [we have a Linux-only formula for
  `texlive`](https://github.com/Homebrew/linuxbrew-core/tree/master/Formula/texlive.rb).
- When running `brew audit --strict texlive` on Linux, we got the
  following messaging:

  ```
  $ brew audit --strict texlive
  texlive:
    * 'texlive' is blacklisted from homebrew/core.
    Error: 1 problem in 1 formula detected
  ```

- Looking at where this comes from leads to the missing formula
  messaging to install `mactex` via Homebrew Cask. The 'blacklisted in
  homebrew/core' messaging only applies to macOS where Casks are an option
  for users, so let's not surface the audit for `texlive` on Linux.
2020-02-15 19:51:48 +00:00
Mike McQuaid
4d00a7bfe5
Merge pull request #7037 from issyl0/tap-new-github-actions-ci
dev-cmd/tap-new: Set up GitHub Actions CI instead of Azure
2020-02-15 19:28:13 +00:00
Issy Long
b3abf3d7c9
dev-cmd/tap-new: Set up GitHub Actions CI instead of Azure
- We recently removed Azure as a supported CI provider
  (Homebrew/homebrew-test-bot PR 325), so `brew test-bot` won't run on
  Azure any more.
- Homebrew CI is moving towards GitHub Actions as the standard.
2020-02-15 17:39:33 +00:00
Mike McQuaid
64c1ca3adb
brew vendor-gems: commit updates. 2020-02-15 17:14:02 +00:00
dependabot-preview[bot]
bd96d29ae9
build: bump rubocop-rspec from 1.38.0 to 1.38.1 in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 1.38.0 to 1.38.1.
- [Release notes](https://github.com/rubocop-hq/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rspec/compare/v1.38.0...v1.38.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-15 15:26:49 +00:00
Markus Reiter
cb4316df97
Merge pull request #6922 from danielbayley/rmdir
Make rmdir: recursive
2020-02-15 09:58:26 +01:00
Issy Long
1ab843ba47
bump-formula-pr: Only delete Linux bottle line if it exists
- We have some Linux-only formulae that don't have bottles.
- Previously, bumping a Linux-only formula that didn't have a bottle
  line - eg, `adoptopenjdk` which is `bottle :unneeded` - would fail:

```
Error: inreplace failed
/app/linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/adoptopenjdk.rb:

expected replacement of /^    sha256 ".+" => :x86_64_linux\n/m with "\2"
```
2020-02-14 22:41:31 +00:00
Mike McQuaid
ac97c8545a
cmd/upgrade, reinstall: don't install on dry-run.
Fixes #7033.
2020-02-14 12:18:55 +00:00
Issy Long
1df8584d13
bump-formula-pr: Determine Linux-only formulae with depends_on :linux
- We used to use `# tag "linux"` in Homebrew/linuxbrew-core for the ~50
  Linux-only formulae. As of
  6578a4aa86,
  we're using `depends_on :linux` to have a consistent syntax between
  Linux and macOS.
- Therefore, we have to change the search string for Linux-only formulae
  that determines whether or not `brew bump-formula-pr` deletes the bottle
  line.
2020-02-13 21:28:12 +00:00
Mike McQuaid
1b2bb2380e
Merge pull request #7025 from dawidd6/deps-tree-consistent
deps: give consistent results
2020-02-13 09:43:19 +00:00