Jonathan Chang
2e4b6c09f1
Merge pull request #10320 from jonchang/fix-mirror-in-os-resource-blocks
...
rubocops: permit `mirror` in OS-specific resources
2021-01-14 17:46:16 +11:00
BrewTestBot
2e11080c8f
Update RBI files for tapioca.
2021-01-14 06:21:40 +00:00
BrewTestBot
b0da94b989
brew vendor-gems: commit updates.
2021-01-14 06:20:53 +00:00
dependabot[bot]
e8c5b63c09
build(deps): bump tapioca from 0.4.11 to 0.4.12 in /Library/Homebrew
...
Bumps [tapioca](https://github.com/Shopify/tapioca ) from 0.4.11 to 0.4.12.
- [Release notes](https://github.com/Shopify/tapioca/releases )
- [Commits](https://github.com/Shopify/tapioca/compare/v0.4.11...v0.4.12 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-14 06:18:49 +00:00
Jonathan Chang
641afdd2de
rubocops: permit mirror
in OS-specific resources
2021-01-14 17:04:40 +11:00
Seeker
7a5a8baac5
patch: delete legacy code
...
SoftwareSpec#add_legacy_patches and Patch#normalize_legacy_patches
were added almost 6 years ago; let's delete them
See commit 665b14c4a44c272b46b8559836e9fdbeee5d8a46
```
$ grep -r 'normalize_legacy_patches' Library/Homebrew
./software_spec.rb: list = Patch.normalize_legacy_patches(list)
./patch.rb: def self.normalize_legacy_patches(list)
```
```
$ grep -r 'add_legacy_patches' Library/Homebrew
./software_spec.rb: def add_legacy_patches(list)
```
2021-01-13 18:40:46 -08:00
BrewTestBot
7592f568f1
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2021-01-14 01:32:44 +00:00
Seeker
663b972f44
Merge pull request #10306 from SeekingMeaning/git-repo-pwd
...
utils/git_repository: use `Pathname.pwd` if no `repo` specified
2.7.4
2021-01-13 16:14:27 -08:00
Rylan Polster
da811373d3
Add named_args DSL for commands
2021-01-13 17:09:42 -05:00
Rylan Polster
701989968d
Merge pull request #10268 from Rylan12/completions-opt-out
...
completions: make opt-in only
2021-01-13 16:08:30 -05:00
Seeker
4f02c1c8a8
utils/git_repository: use Pathname.pwd
if no repo
specified
2021-01-13 13:02:37 -08:00
Misty De Meo
9f4105f325
Merge pull request #10312 from mistydemeo/allow_overwriting_symlinks_from_the_same_formula
...
Keg: allow overwriting same-formula conflicts
2021-01-13 12:45:26 -08:00
Misty De Meo
a2e0da89e4
Keg: only instantiate Keg.for if target exists
2021-01-13 12:18:49 -08:00
Mike McQuaid
66f0a35587
keg: remove trailing whitespace.
2021-01-13 12:18:49 -08:00
Mike McQuaid
e01fa7d2ae
keg: tweak retry comment.
2021-01-13 12:18:49 -08:00
Misty De Meo
53fe6b518f
Keg: allow overwriting same-formula conflicts
...
This is weird. We're seeing some installs where formulae
have no opt prefix and no linked keg record, *but* still
ended up linked into the prefix. Upgrades will blow up in
this case because the old symlinks won't get deleted and
Homebrew will report a nonsensical error message about
not being able to link over another link from the same
formula!
Since the optpath is either missing or pointing to the
wrong destination at this point, the checks for conflict
linking above will have failed. We should instead be safe
to simply blow away these conflicting symlinks and replace
them with the new targets.
Fixes https://github.com/Homebrew/homebrew-core/issues/68866 .
2021-01-13 12:18:49 -08:00
Misty De Meo
8cf9a52b29
Merge pull request #10316 from Homebrew/fix_rubocop_warning_in_default_branch
...
Popen spec: ensure Rubocop is happy
2021-01-13 12:18:11 -08:00
Misty De Meo
847897fdac
Popen spec: ensure Rubocop is happy
...
These were introduced in #10305 but only started going red
after that PR was merged.
2021-01-13 11:21:10 -08:00
Misty De Meo
c197e9a27d
Merge pull request #10315 from mistydemeo/cask_is_unavailable_hotfix
...
Cask tests: temporarily disable broken test
2021-01-13 11:14:33 -08:00
Seeker
be6dd72c16
Merge pull request #10305 from SeekingMeaning/safe-popen-tests
...
utils/popen: add `safe` argument to `popen_read` and `popen_write`
2021-01-13 10:51:46 -08:00
Misty De Meo
79aff82c39
Cask: skip test that is currently broken in master
2021-01-13 10:42:46 -08:00
Seeker
c72b375a57
Merge pull request #10269 from SeekingMeaning/style-cc-shim
...
shims/super/cc: fix most style errors
2021-01-13 09:07:55 -08:00
Rylan Polster
4b8477ba70
Completions, Settings: move to Homebrew namespace
2021-01-13 11:20:28 -05:00
Sam Ford
7bbd091fb1
Livecheck: Use let instead of constants in tests
2021-01-13 09:35:56 -05:00
Sam Ford
6c4041c026
Livecheck: Do not convert URL symbol to string
2021-01-13 09:35:54 -05:00
Sam Ford
ec93e91909
Merge pull request #10208 from samford/livecheck-skip-archived-stable-urls
...
Livecheck: Skip archived stable URLs in formulae
2021-01-13 08:42:58 -05:00
Mike McQuaid
4520b3a52b
Merge pull request #10311 from Homebrew/dependabot/bundler/Library/Homebrew/tapioca-0.4.11
...
build(deps): bump tapioca from 0.4.10 to 0.4.11 in /Library/Homebrew
2021-01-13 11:02:06 +00:00
Markus Reiter
759fc12089
Merge pull request #10304 from reitermarkus/cask-config-keys
...
Ignore invalid keys when reading existing `Cask::Config`.
2021-01-13 11:31:57 +01:00
BrewTestBot
2c3bc08c04
Update RBI files for tapioca.
2021-01-13 10:22:22 +00:00
BrewTestBot
95d7e5730e
brew vendor-gems: commit updates.
2021-01-13 10:21:24 +00:00
Jonathan Chang
71f7ef0058
Merge pull request #10300 from jonchang/rubocop-v1-api
...
rubocops: migrate to rubocop v1 API
2021-01-13 21:20:55 +11:00
dependabot[bot]
250b3dc361
build(deps): bump tapioca from 0.4.10 to 0.4.11 in /Library/Homebrew
...
Bumps [tapioca](https://github.com/Shopify/tapioca ) from 0.4.10 to 0.4.11.
- [Release notes](https://github.com/Shopify/tapioca/releases )
- [Commits](https://github.com/Shopify/tapioca/compare/v0.4.10...v0.4.11 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-13 10:19:10 +00:00
Mike McQuaid
4dac964043
Merge pull request #10310 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.6206
...
build(deps): bump sorbet from 0.5.6205 to 0.5.6206 in /Library/Homebrew
2021-01-13 10:15:22 +00:00
Markus Reiter
b1000952b1
Make LazyObject
type-checkable.
2021-01-13 10:46:28 +01:00
Markus Reiter
028e733e79
Merge pull request #10260 from reitermarkus/audit-livecheck
...
Improve audit for `livecheck` in casks.
2021-01-13 08:46:57 +01:00
Markus Reiter
9922ad382f
Ignore invalid keys when reading existing Cask::Config
.
2021-01-13 08:30:50 +01:00
Markus Reiter
92b58666ef
Improve audit for livecheck
in casks.
2021-01-13 08:12:11 +01:00
Seeker
82901036f9
Merge pull request #10298 from SeekingMeaning/ast
...
utils/ast: move helper functions from `FormulaAST` to `AST`
2021-01-12 22:32:23 -08:00
BrewTestBot
473e10db94
brew vendor-gems: commit updates.
2021-01-13 06:18:58 +00:00
dependabot[bot]
37de7e6775
build(deps): bump sorbet from 0.5.6205 to 0.5.6206 in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.6205 to 0.5.6206.
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-13 06:16:49 +00:00
Sam Ford
12e5f4dce1
Livecheck: Refactor #skip_conditions into a module
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-01-12 18:34:33 -05:00
Sam Ford
aae91cacae
Livecheck: Skip Internet Archive stable URLs
2021-01-12 18:04:26 -05:00
Sam Ford
f36d1a7fb6
Livecheck: Skip Google Code Archive stable URLs
2021-01-12 18:04:26 -05:00
Sam Ford
84e058f6ca
Livecheck: Refactor memoized helpers
2021-01-12 18:04:26 -05:00
Seeker
b58571a90b
shims/super/cc: add CXX_REGEX
constant
2021-01-12 13:49:36 -08:00
Seeker
0f2ed88f9f
shims/super/cc: require English
2021-01-12 13:49:33 -08:00
Seeker
99a7e2192c
Merge pull request #10296 from SeekingMeaning/utils-named-subject
...
test/utils/*: use `described_class` or named `subject`
2021-01-12 13:38:55 -08:00
Rylan Polster
eb3a662841
completions: clarify that only external tap completions are affected
...
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2021-01-12 16:31:24 -05:00
Rylan Polster
f1f3fdc315
settings: add module for managing git config settings
2021-01-12 16:27:25 -05:00
Seeker
eefe5bb295
git_repository: add safe
argument to git_head
/git_short_head
2021-01-12 10:29:27 -08:00