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

Re: Reducing redundant build at Travis?

From
Lars Schneider <larsxschneider@gmail.com>
Date
Jul 26, 2017, 16:43 UTC
Message-ID
<3056CC17-DDD5-406C-AA22-56309DF09DC8@gmail.com>
In-Reply-To
<xmqqo9sdhh9o.fsf@gitster.mtv.corp.google.com>
Show 10 quoted lines
> On 21 Jul 2017, at 18:44, Junio C Hamano <gitster@pobox.com> wrote:
> 
> Lars Schneider <larsxschneider@gmail.com> writes:
> 
>> To answer your question: I don't see an easy solution to the problem.
> 
> That's OK.  Thanks for digging.
> 
> I am wondering if the attached would be acceptable as a minimum
> impact patch to address this issue.  

Your patch would still run a number of expensive operations for the same hashes (e.g. static analysis and documentation builds). I started to work on a patch that moves all TravisCI logic into scripts located in the `ci` folder. These scripts share a `lib-travisci.sh` for common functions such as `skip_branch_tip_with_tag ()` executed at the beginning of every script.

Does this sound sensible to you? I am a bit busy with non Git related work right now but I try to post the patch for you to review ASAP.

- Lars
Previous: Junio C HamanoNext: Junio C Hamano
Message 11 of 12 in “Reducing redundant build at Travis?”
  1. Junio C HamanoJul 12, 2017
  2. Lars SchneiderJul 13, 2017
  3. Junio C HamanoJul 13, 2017
  4. Jeff KingJul 14, 2017
  5. Junio C HamanoJul 14, 2017
  6. Jeff KingJul 14, 2017
  7. Lars SchneiderJul 20, 2017
  8. Junio C HamanoJul 20, 2017
  9. Lars SchneiderJul 21, 2017
  10. Junio C HamanoJul 21, 2017
  11. Lars SchneiderJul 26, 2017
  12. Junio C HamanoJul 26, 2017

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.