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

Re: [PATCH 2/2] ci: disable Homebrew's auto cleanup

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 3, 2019, 16:58 UTC
Message-ID
<xmqq1rz72gyb.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20190703130434.GR21574@szeder.dev>
SZEDER Gábor <szeder.dev@gmail.com> writes:
Show 15 quoted lines
> On Wed, Jul 03, 2019 at 02:26:21PM +0200, Thomas Braun wrote:
>> Am 03.07.2019 um 12:47 schrieb SZEDER Gábor:
>> > Lately Homebrew learned to automagically clean up information about
>> > outdated packages during other 'brew' commands, which might be useful
>> > for the avarage user, but is a waste of time in CI build jobs, because
>> > the next build jobs will start from the exact same image containing
>> > the same outdated packages anyway.
>> > 
>> > Export HOMEBREW_NO_AUTO_UPDATE=1 to disable this auto cleanup feature,
>> 
>> The patch below adds HOMEBREW_NO_INSTALL_CLEANUP so maybe you meant
>> HOMEBREW_NO_INSTALL_CLEANUP here as well?
>
> Thanks, good catch.  Apparently copy-pasted the wrong env var from the
> patch to the commit message...
Applied an obvious rewording manually while queuing.
Thanks.
commit af8ed04778781f2013d26cc450173190fb5876d6
Author: SZEDER Gábor <szeder.dev@gmail.com>
Date:   Wed Jul 3 12:47:48 2019 +0200
    ci: disable Homebrew's auto cleanup
    
    Lately Homebrew learned to automagically clean up information about
    outdated packages during other 'brew' commands, which might be useful
    for the avarage user, but is a waste of time in CI build jobs, because
    the next build jobs will start from the exact same image containing
    the same outdated packages anyway.
    
    Export HOMEBREW_NO_INSTALL_CLEANUP=1 to disable this auto cleanup feature,
    shaving off about 20-30s from the time needed to install dependencies
    in our macOS build jobs on Travis CI.
    
    Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Previous: SZEDER GáborNext: SZEDER Gábor
Message 13 of 18 in “Travis not looking so good”
  1. Johannes SchindelinMay 30, 2019
  2. brian m. carlsonJun 1, 2019
  3. SZEDER GáborJun 2, 2019
  4. Taylor BlauJun 26, 2019
  5. SZEDER GáborJun 27, 2019
  6. Junio C HamanoJun 27, 2019
  7. SZEDER GáborJun 29, 2019
  8. 1/2 ci: don't update HomebrewSZEDER Gábor, Jul 3, 2019
  9. 2/2 ci: disable Homebrew's auto cleanupSZEDER Gábor, Jul 3, 2019
  10. Johannes SchindelinJul 3, 2019
  11. Thomas BraunJul 3, 2019
  12. SZEDER GáborJul 3, 2019
  13. Junio C HamanoJul 3, 2019
  14. ci/lib.sh: update a comment about installed P4 and Git-LFS versionsSZEDER Gábor, Jul 6, 2019
  15. ci/lib.sh: update a comment about installed P4 and Git-LFS versionsSZEDER Gábor, Jul 6, 2019
  16. Johannes SchindelinJul 8, 2019
  17. Taylor BlauJul 9, 2019
  18. Junio C HamanoJul 10, 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.