git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v1] travis-ci: ask homebrew for the its path instead of hardcoding it

From
stefan.naewe@atlas-elektronik.com <stefan.naewe@atlas-elektronik.com>
Date
Sep 21, 2016, 09:31 UTC
Message-ID
<83e3049c-34ea-4440-7b4d-061cb98ba2dd@atlas-elektronik.com>
In-Reply-To
<20160921084518.13091-1-larsxschneider@gmail.com>
In the Subject: s/the //
Am 21.09.2016 um 10:45 schrieb larsxschneider@gmail.com:
> From: Lars Schneider <larsxschneider@gmail.com>
> 
> The TravisCI macOS build is broken because homebrew (a macOS depedency
s/depedency/dependency/
Show 41 quoted lines
> manager) changed its internal directory structure [1]. This is a problem
> because we modify the Perforce dependencies in the homebrew repository
> before installing them.
> 
> Fix it by asking homebrew for its path instead of hardcoding it.
> 
> [1] https://github.com/Homebrew/brew/commit/0a09ae30f8b6117ad699b4a0439010738989c547
> 
> Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
> ---
> 
> Hi Junio,
> 
> the problem affects all branches (pu, next, master, maint):
> https://travis-ci.org/git/git/branches
> 
> Is it possible for this fix to graduate more quickly?
> 
> Thanks,
> Lars
> 
>  .travis.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index 477c3d2..37a1e1f 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -78,7 +78,7 @@ before_install:
>          FORMULA=$1
>          SHA=$(brew fetch --force $FORMULA 2>&1 | grep ^SHA256: | cut -d ' ' -f 2)
>          sed -E -i.bak "s/sha256 \"[0-9a-f]{64}\"/sha256 \"$SHA\"/g" \
> -          /usr/local/Library/Taps/homebrew/homebrew-binary/$FORMULA.rb
> +          "$(brew --repository homebrew/homebrew-binary)/$FORMULA.rb"
>        }
>        brew update --quiet
>        brew tap homebrew/binary --quiet
> --
> 2.10.0
> 
> 
-- 
----------------------------------------------------------------
/dev/random says: If winning isn't important then why keep score?
python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')" 
GPG Key fingerprint = 2DF5 E01B 09C3 7501 BCA9  9666 829B 49C5 9221 27AF
Previous: larsxschneider@gmail.comNext: Lars Schneider
Message 2 of 5 in “travis-ci: ask homebrew for the its path instead of hardcoding it”
  1. travis-ci: ask homebrew for the its path instead of hardcoding itlarsxschneider@gmail.com, Sep 21, 2016
  2. stefan.naewe@atlas-elektronik.comSep 21, 2016
  3. Lars SchneiderSep 21, 2016
  4. Junio C HamanoSep 21, 2016
  5. Lars SchneiderSep 22, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.