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
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
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
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
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
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
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
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
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
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
Rylan Polster
f5cd15fa18
add odeprecated comments
2020-08-27 16:47:19 -04:00
Maxim Belkin
669ae5c077
dev-cmd/sh.rb: fix usage banner
2020-08-27 19:52:40 +00:00
Maxim Belkin
ee5a2017c7
dev-cmd/sh.rb: update usage banner
2020-08-27 18:39:05 +00:00
rmnull
649e02ba3d
patchelf.rb writing in ELFShim
2020-08-27 22:50:34 +05:30
nandahkrishna
4e0cc48b65
livecheck: changes made and tests added
2020-08-27 22:46:06 +05:30
Mike McQuaid
483fbb7fe4
dev-cmd/sh: tweak named args syntax.
2020-08-27 16:45:38 +00:00
Maxim Belkin
28c43f1afc
dev-cmd/sh.rb: non-interactive mode
2020-08-27 16:45:38 +00:00
nandahkrishna
c9f0642d45
livecheck migration: create Homebrew::Livecheck
...
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-27 21:26:58 +05:30
Mike McQuaid
ff8d30df74
Merge pull request #8255 from nandahkrishna/migrate-livecheck-strategy
...
livecheck migration: add strategies
2020-08-27 16:12:38 +01:00
Rylan Polster
689d7eb8f0
disable!, deprecate!: add reason
2020-08-27 10:42:57 -04:00
nandahkrishna
f520301180
livecheck migration: add strategies
...
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-27 20:00:30 +05:30
Jonathan Chang
180d523979
brew vendor-gems: commit updates.
2020-08-27 23:29:08 +10:00
dependabot-preview[bot]
6a0a1992f5
Bump patchelf from 1.2.0 to 1.3.0 in /Library/Homebrew
...
Bumps [patchelf](https://github.com/david942j/patchelf.rb ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/david942j/patchelf.rb/releases )
- [Commits](https://github.com/david942j/patchelf.rb/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-27 23:29:08 +10:00
Mike McQuaid
6f311852d6
Fix unvendored RubyGems
...
- Avoid caching RubyGems in GitHub Actions `tests.yml` to catch this in
future.
- Run `brew doctor` in GitHub Actions `tests.yml` after installing
RubyGems to catch this in future.
- Ignore relevant RubyGems (and fix outdated comments)
- Never auto-`require` RubyGems that aren't vendored.
- Update `bundler/setup.rb`.
2020-08-27 14:03:03 +01:00
Mike McQuaid
1a2f144297
Merge pull request #8503 from Homebrew/dependabot/bundler/Library/Homebrew/tapioca-0.4.4
...
Bump tapioca from 0.4.3 to 0.4.4 in /Library/Homebrew
2020-08-27 10:16:13 +01:00
Mike McQuaid
68a2c2b286
Merge pull request #8504 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-0.5.5880
...
Bump sorbet-runtime from 0.5.5877 to 0.5.5880 in /Library/Homebrew
2020-08-27 10:15:57 +01:00
Mike McQuaid
bfc0cba1c3
Merge pull request #8506 from Homebrew/tapioca-update
...
sorbet: update RBI files using Tapioca.
2020-08-27 10:03:57 +01:00
dependabot-preview[bot]
02a2bda0cf
Bump sorbet-runtime from 0.5.5877 to 0.5.5880 in /Library/Homebrew
...
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet ) from 0.5.5877 to 0.5.5880.
- [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-27 08:40:14 +00:00
dependabot-preview[bot]
4453933964
Bump tapioca from 0.4.3 to 0.4.4 in /Library/Homebrew
...
Bumps [tapioca](https://github.com/Shopify/tapioca ) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/Shopify/tapioca/releases )
- [Commits](https://github.com/Shopify/tapioca/compare/v0.4.3...v0.4.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-27 08:39:59 +00:00
BrewTestBot
6e3c272e44
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-27 08:14:10 +00:00