[haiku-commits] Re: haiku: hrev46704 - build/jam

  • From: Matt Madia <mattmadia@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 18 Jan 2014 16:36:09 -0500

On Sat, Jan 18, 2014 at 4:05 PM, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
> On 01/18/2014 09:48 PM, Matt Madia wrote:
>>
>> The nightlies are built by a simple bash script, regulated by cron. It
>> is an all-or-nothing operation that depends on x86_gcc2, x86 and
>> x86_64 to be built properly. No repositories are uploaded from this
>> script.
>>
>> Buildbot will create and upload the repositories as part of the
>> x86_gcc2, x86, and x86_64 compilation-test builds.
>>
>> At the time it was set up, I thought it was better to have
>> repositories for as many revisions as possible (as opposed to just one
>> per successful nightly image).
>
> Doesn't that also mean there's a race condition? If someone commits something 
> just after the nightly script has pulled, buildbot might not build a 
> repository for the nightly revision.

Yes, that is a possibility.

> However it is done, the nightly images and the repository should use the 
> exact same package files (not just package files built from the same 
> revision).
>
> I think the simplest way to achieve that is to have the nightly script also 
> build the repository. I don't think it is necessary to have repositories for 
> additional revisions. People who built their own images can just add 
> additional packages via their UserBuildConfig, so they don't need the 
> repository anyway.

That works for me.  Is it worthwhile for the buildslaves to continue
building the repositories (without uploading them)?

--mmadia

Other related posts: