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

Re: [PATCH] travis-ci: make the OSX build jobs' 'brew update' more quiet

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 4, 2019, 18:26 UTC
Message-ID
<xmqqk1ifv296.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20190202163421.19686-1-szeder.dev@gmail.com>
SZEDER Gábor <szeder.dev@gmail.com> writes:
Show 8 quoted lines
> Before installing the necessary dependencies, our OSX build jobs run
> 'brew update --quiet'.  This is problematic for two reasons:
>
>   - This '--quiet' flag apparently broke overnight, resulting in
>     errored builds:
> ...
>     I belive that this breakage will be noticed and fixed soon-ish, so
>     we could probably just wait a bit for this issue to solve itself,

Yuck. Well, an external influence that can break the automated build job overnight should be capable of fixing it overnight ;-)

Show 12 quoted lines
>     but:
>
>   - 'brew update --quiet' wasn't really quiet in the first place, as
>     it listed over about 2000 lines worth of available packages that
>     we absolutely don't care about, see e.g. one of the latest
>     'master' builds:
>
>       https://travis-ci.org/git/git/jobs/486134962#L113
>
> So drop this '--quiet' option and redirect 'brew update's standard
> output to /dev/null to make it really quiet, thereby making the OSX
> builds work again despite the above mentioned breakage.
Sounds good.
>     There is no conflict with Dscho's Azure Pipelines patch series; the
>     patch contexts overlap a bit, but the auto-merging results look good
>     to me.
Thanks for extra careful.

If this is truly urgent, I could merge this to 'maint' and merge the result upwards to 'pu' and it would hide the issue on my four integration branches. But one thing that makes me wonder is if we can (or want to) do anything to help other people who test build with pull requests. I guess they need to rebase on top of whatever commit that has this fix? That sounds more like a tail wagging a dog, though. I dunno.

Show 16 quoted lines
>  ci/install-dependencies.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh
> index 06c3546e1e..5968efdbbe 100755
> --- a/ci/install-dependencies.sh
> +++ b/ci/install-dependencies.sh
> @@ -34,7 +34,7 @@ linux-clang|linux-gcc)
>  	popd
>  	;;
>  osx-clang|osx-gcc)
> -	brew update --quiet
> +	brew update >/dev/null
>  	# Uncomment this if you want to run perf tests:
>  	# brew install gnu-time
>  	brew install git-lfs gettext
Previous: Johannes SchindelinNext: SZEDER Gábor
Message 5 of 9 in “travis-ci: make the OSX build jobs' 'brew update' more quiet”
  1. travis-ci: make the OSX build jobs' 'brew update' more quietSZEDER Gábor, Feb 2, 2019
  2. Johannes SchindelinFeb 4, 2019
  3. SZEDER GáborFeb 4, 2019
  4. Johannes SchindelinFeb 5, 2019
  5. Junio C HamanoFeb 4, 2019
  6. SZEDER GáborFeb 4, 2019
  7. Johannes SchindelinFeb 5, 2019
  8. Junio C HamanoFeb 5, 2019
  9. Johannes SchindelinFeb 6, 2019

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.