Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: stevefal on August 26, 2013, 01:04:54 AM

Title: Hourly builds
Post by: stevefal on August 26, 2013, 01:04:54 AM
So many commits, so many cameras - wouldn't it be nice if hourly builds were available for anyone to test?

If I dedicated a machine to the task, anyone interested in writing a script to buildall and push bins to a branch every hour?
Title: Re: Hourly builds
Post by: Marsu42 on August 26, 2013, 02:46:47 PM
Quote from: stevefal on August 26, 2013, 01:04:54 AM
So many commits, so many cameras - wouldn't it be nice if hourly builds were available for anyone to test?

I see that you might want to see this to get quick opinions for gui changes, but my 2ct is that anyone who cannot wait some hours for the nightly compile should probably learn to compile ml :-) But of course go ahead if you want to contribute some cpu cycles to global warming, it shouldn't be hard to modify the nightly build script accordingly, actually you could trigger a re-build for every commit and provide a "ml-latest.zip".

If even more alpha builds are made available, ml should probably think again about also providing "point" releases again which are selected because they happen to contain only a smaller amount of work in progress - the advice for people who want ml on a new camera to "just use the last nightly build" imho isn't an ideal one.
Title: Re: Hourly builds
Post by: nanomad on August 26, 2013, 03:20:32 PM
ML development hardly happens at the "hour" level. There are more chances of getting a broken build that way too.
Title: Re: Hourly builds
Post by: stevefal on August 26, 2013, 03:23:02 PM
My understanding is that not all cameras get nightly builds. If alphas were built nightly I'd be using those on my 5D3.
Title: Re: Hourly builds
Post by: Marsu42 on August 26, 2013, 03:24:57 PM
Quote from: nanomad on August 26, 2013, 03:20:32 PM
ML development hardly happens at the "hour" level. There are more chances of getting a broken build that way too.

Well, the nightly build also is just branched at a random point and could be broken the same way - and it'd get fixed only 24h later, while a hourly build would only take 1h to get the bugfix.

Another thought: Much of the ml development also happens in external repos that are only pulled now and then, so hourly builds would only catch the changes made by some devs.

Quote from: nanomad on August 26, 2013, 03:20:32 PM
ML development hardly happens at the "hour" level. There are more chances of getting a broken build that way too.

I think there's a really good reason not to deliver nightly builds of pre-alpha code - can you guess :-> ?
Title: Re: Hourly builds
Post by: nanomad on August 26, 2013, 03:34:50 PM
Quote from: stevefal on August 26, 2013, 03:23:02 PM
My understanding is that not all cameras get nightly builds. If alphas were built nightly I'd be using those on my 5D3.

They will come shortly. Worry not.
Title: Re: Hourly builds
Post by: stevefal on August 26, 2013, 07:50:30 PM
That's great. Then it's just a question of frequency. Maybe every N hours if there was a commit in that time. Of course N could = 24.