23537 Commits

Author SHA1 Message Date
Rylan Polster
6162799d63 style: check deprecate! reason 2020-08-31 10:11:08 -04:00
Dustin Rodrigues
13f0b4706f pypi: add pulumi to the blocklist 2020-08-31 10:09:00 -04:00
Mike McQuaid
8db3471ff7
Merge pull request #8180 from nandahkrishna/migrate-livecheck
livecheck migration: add `brew livecheck` developer command
2020-08-31 13:05:50 +01:00
Claudia
246db8a134
Capture stdout during popen_write
Fix tests and fulfill intended semantics by having `popen_write`
transparently capture standard output.
2020-08-31 14:04:49 +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
Mike McQuaid
44c826eae1
Merge pull request #8544 from nandahkrishna/remove-livecheck-test
livecheck: remove test for livecheck_formulae
2020-08-31 12:33:30 +01:00
nandahkrishna
8151016531
livecheck: remove test for livecheck_formulae 2020-08-31 16:37:37 +05:30
Mike McQuaid
eb09a09b66
Merge pull request #8500 from scpeters/upgrade_check_already_broken_dependents
upgrade: check for already broken dependents
2.4.15
2020-08-31 08:27:26 +01:00
Mike McQuaid
d6d0e3208c
Merge pull request #8531 from SeekingMeaning/formulary/bottle-formula-path
formulary: use formula path when loading from bottle
2020-08-31 08:23:08 +01:00
Mike McQuaid
205d4b5a0d
Merge pull request #8529 from maxim-belkin/remove-unsupported-taps
docs/Interesting-Taps-and-Forks.md: remove unsupported taps
2020-08-31 08:22:10 +01:00
Mike McQuaid
854a139a79
Merge pull request #8533 from Rylan12/deprecate-date-issue
style: fix deprecation date check
2020-08-31 08:16:57 +01:00
Mike McQuaid
30e177f563
Merge pull request #8254 from nandahkrishna/migrate-livecheck-module
livecheck migration: create Homebrew::Livecheck
2020-08-31 08:09:58 +01:00
Markus Reiter
c0f64882f1 Split check_style_impl into run_rubocop and run_shellcheck. 2020-08-31 02:44:05 +02:00
Claudia
772032f18a
Add failing tests for popen_write
When using `popen_write`, the expectation is to return the
standard output of the child process.

This expectation is evident in how `safe_popen_write` is written:

```
  def self.safe_popen_write(*args, **options, &block)
    output = popen_write(*args, **options, &block)
    return output if $CHILD_STATUS.success?

    raise ErrorDuringExecution.new(args, status: $CHILD_STATUS, output: [[:stdout, output]])
  end
```

However, no code has been written to actually *obtain* that output
from the child process. The side effects of that are described in
issue #8244. [1]

[1]: https://github.com/Homebrew/brew/issues/8244

The newly-added tests reveal that `popen_write` only returns the
number 4 instead of the expected standard output.

For example, given a file `foo` with the content `Foo\n`, one test
calls `popen_write` with `cat foo -` and an input of `Bar`.
The expected output would be `Foo\nBar\n` but the actual output is
the number 4 (which is what Ruby’s `IO#write` method returns).
2020-08-30 22:29:46 +02:00
Markus Reiter
7eb1a0969c
Merge pull request #8539 from claui/fix-8538
Print meaningful message on missing formula
2020-08-30 18:15:46 +02:00
Claudia
7d09ddc3b5
Print meaningful message on missing formula
Add an import statement needed for `MissingFormula` to be found.

Fixes #8538.

Reported-by: Nate Whetsell <nathan.whetsell@gmail.com>
2020-08-30 17:43:54 +02:00
Steve Peters
24e7f55a4c Create check_broken_dependents method 2020-08-30 01:24:42 -07:00
Markus Reiter
a39aae887e
Merge pull request #8496 from reitermarkus/debug-git
Properly fix Git error in tests.
2020-08-29 22:13:25 +02:00
Markus Reiter
0129247391 Refuse to install Git if HOMEBREW_TEST_GENERIC_OS is set. 2020-08-29 21:45:51 +02:00
Markus Reiter
bb1be7ef9d Call clear_available_cache before and after Git specs. 2020-08-29 21:42:24 +02:00
Markus Reiter
747223e272
Merge pull request #8534 from reitermarkus/cask-conflict-warning
Don't output warning to `stdout`.
2020-08-29 21:05:28 +02:00
Markus Reiter
46a93ee7bb Don't output warning to stdout. 2020-08-29 20:24:08 +02:00
Rylan Polster
b1c374b729 style: fix deprecation date check 2020-08-29 10:57:07 -04:00
Seeker
687c87d74d formulary: use formula path when installing bottle 2020-08-28 20:23:47 -07:00
Maxim Belkin
d72bdd7efe
docs/Interesting-Taps-and-Forks.md: remove unsupported taps 2020-08-28 17:51:13 -05:00
Nanda H Krishna
3cab6042d8
livecheck: update URL in test
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2020-08-29 03:23:10 +05:30
nandahkrishna
062156365b
livecheck: modified test 2020-08-29 02:18:18 +05:30
Shaun Jackman
9bbd866fc6
Merge pull request #8524 from rmNULL/prb-writing-for-devs
enable patchelf.rb writing for devs.
2020-08-28 13:07:58 -07:00
rmnull
0dcfdbe0eb
enable patchelf.rb writing for devs. 2020-08-29 00:45:25 +05:30
nandahkrishna
2550af57df
livecheck: changes made and improved test 2020-08-29 00:32:34 +05:30
Dawid Dziurla
257e4cc7ac
Merge pull request #8526 from SeekingMeaning/version/to_str
version: allow implicitly converting tokens to strings
2020-08-28 20:49:43 +02:00
Seeker
4377a08b6e version: allow implicitly converting tokens to strings 2020-08-28 10:25:52 -07:00
Seeker
3d62ed7853 pull, pr-pull: use opt_or_installed_prefix_keg 2020-08-28 09:59:07 -07:00
Mike McQuaid
49fa3cc75d
Merge pull request #8521 from Homebrew/tapioca-update
sorbet: update RBI files using Tapioca.
2020-08-28 16:12:35 +01:00
Maxim Belkin
5035e59fd3
Merge pull request #8102 from maxim-belkin/feature-template/shorter-titles
feature and issue templates: change warning formatting
2020-08-28 09:38:17 -05:00
BrewTestBot
f2e425f27c sorbet: update RBI files using Tapioca.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
2020-08-28 12:11:13 +00:00
Mike McQuaid
37d6a798f3
Merge pull request #8519 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.5881
Bump sorbet from 0.5.5880 to 0.5.5881 in /Library/Homebrew
2020-08-28 10:02:35 +01:00
dependabot-preview[bot]
f1f662cccc
Bump sorbet from 0.5.5880 to 0.5.5881 in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.5880 to 0.5.5881.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-28 08:39:08 +00:00
Mike McQuaid
fa6e0965ec
Merge pull request #8518 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-0.5.5881
Bump sorbet-runtime from 0.5.5880 to 0.5.5881 in /Library/Homebrew
2020-08-28 09:38:01 +01:00
Mike McQuaid
dcc5310c78
Merge pull request #8516 from Homebrew/dependabot/bundler/Library/Homebrew/parallel_tests-3.2.0
Bump parallel_tests from 3.1.0 to 3.2.0 in /Library/Homebrew
2020-08-28 09:37:44 +01:00
Mike McQuaid
fcacd46a43
Merge pull request #8482 from maxim-belkin/non-interactive-sh
dev-cmd/sh.rb: non-interactive mode
2020-08-28 09:37:37 +01:00
Mike McQuaid
fa39db0192
Merge pull request #8517 from Rylan12/metafiles-copy-licenses-with-hyphen
metafiles: copy license files with hyphens
2.4.14
2020-08-28 08:40:21 +01:00
Mike McQuaid
fa436561d7
Merge pull request #8512 from Rylan12/disable-deprecation-reason
disable!, deprecate!: add reason
2020-08-28 08:40:05 +01:00
Mike McQuaid
309027088c
Merge pull request #8515 from Homebrew/tapioca-update
sorbet: update RBI files using Tapioca.
2020-08-28 08:39:18 +01:00
Mike McQuaid
cd075dd45a dev-cmd/sh: rename SCRIPT argument. 2020-08-28 08:37:15 +01:00
Mike McQuaid
f908b355b2
Merge pull request #7213 from rmNULL/linux-shelless-elftools
Use patchelf.rb to set interpreter instead of patchelf. First step towards shelless elftools
2020-08-28 08:31:39 +01:00
dependabot-preview[bot]
e4ae7dba05
Bump sorbet-runtime from 0.5.5880 to 0.5.5881 in /Library/Homebrew
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) from 0.5.5880 to 0.5.5881.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-28 06:36:15 +00:00
Rylan Polster
c92c78d1af metafiles: copy license files with hyphens 2020-08-28 01:30:58 -04:00
dependabot-preview[bot]
7434756b31
Bump parallel_tests from 3.1.0 to 3.2.0 in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v3.1.0...v3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-28 01:35:31 +00:00
BrewTestBot
360968285c sorbet: update RBI files using Tapioca.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
2020-08-28 00:20:10 +00:00