Merge pull request #5726 from Homebrew/linuxbrew-core

Use Homebrew/linuxbrew-core
This commit is contained in:
Mike McQuaid 2019-02-25 19:06:31 +00:00 committed by GitHub
commit cd6a518a22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 7 deletions

View File

@ -25,7 +25,7 @@ git_init_if_necessary() {
then
CORE_OFFICIAL_REMOTE="https://github.com/Homebrew/homebrew-core"
else
CORE_OFFICIAL_REMOTE="https://github.com/Linuxbrew/homebrew-core"
CORE_OFFICIAL_REMOTE="https://github.com/Homebrew/linuxbrew-core"
fi
safe_cd "$HOMEBREW_REPOSITORY"

View File

@ -2,6 +2,6 @@ class CoreTap < Tap
# @private
def initialize
super "Homebrew", "core"
@full_name = "Linuxbrew/homebrew-core" unless ENV["HOMEBREW_FORCE_HOMEBREW_ON_LINUX"]
@full_name = "Homebrew/linuxbrew-core" unless ENV["HOMEBREW_FORCE_HOMEBREW_ON_LINUX"]
end
end

View File

@ -10,10 +10,13 @@ describe "brew pull", :integration_test do
.and not_to_output.to_stdout
.and be_a_failure
expect { brew "pull", "1" }
.to output(/Fetching patch/).to_stdout
.and output(/Current branch is new\-branch/).to_stderr
.and be_a_failure
# Needs Homebrew/homebrew-core
if OS.mac?
expect { brew "pull", "1" }
.to output(/Fetching patch/).to_stdout
.and output(/Current branch is new\-branch/).to_stderr
.and be_a_failure
end
expect { brew "pull", "--bump", "https://api.github.com/repos/Homebrew/homebrew-core/pulls/122" }
.to output(/Fetching patch/).to_stdout

View File

@ -83,7 +83,7 @@ eval $(~/.linuxbrew/bin/brew shellenv)
## Linuxbrew Community
- [@Linuxbrew on Twitter](https://twitter.com/Linuxbrew)
- [Linuxbrew/core on GitHub](https://github.com/Linuxbrew/homebrew-core)
- [Homebrew/linuxbrew-core on GitHub](https://github.com/Homebrew/linuxbrew-core)
- [Linuxbrew category](https://discourse.brew.sh/c/linuxbrew) of [Homebrew's Discourse](https://discourse.brew.sh)
## Sponsors