threads / discuss / 15293

Announce: gitbuilder, an autobuilder for git-based projects

Subject: Announce: gitbuilder, an autobuilder for git-based projects

## tl;dr

4 messages between Aug 31, 2008 and Aug 31, 2008.

replies: 3people: 3as markdown or json

Avery Pennarun· Aug 31, 2008, 03:07 UTC · lore
Hi all,

I recently made the first public release of gitbuilder, a set of relatively simple scripts for automatically building your favourite git-hosted project, optionally running unit tests, and reporting pass/fail results. In case of failures, it automatically uses "git rev-list --bisect" to try to track down the first commit that started failing. It's also smart about branches; it knows how to build each commit only once, no matter how many branches include it, thus greatly simplifying future bisections.

You can also get an RSS feed of the autobuilder results in case you want live updates as things happen.

To find the scripts, see here: http://github.com/apenwarr/gitbuilder/

And to see a sample autobuilder for git.git that I've been running at work, check this out: http://versabanq.com/demo/gitbuild/

(Note: the autobuilder you'll find here fails to build the html, todo, and man branches (unsurprisingly) and also had some trouble with the 1.5.4 series because I don't have msgfmt installed. I can fix these up on my end, but I suppose it's illustrative to look at the output as-is and see how the bisection gets displayed :))

I plan to leave this copy of the autobuilder up as a sample. If there are other interesting (more experimental?) git.git repositories I should fetch from and add to the autobuilder, please feel free to let me know.

I set up the same autobuilder tool for a couple of our projects at work, which have more interesting output since our developers are somewhat less careful to make sure the tests pass before committing. git.git is a bit boring to look at because Junio is apparently so good at his job.

Does anyone else find this useful? :)
Have fun,
Avery
Junio C Hamano· Aug 31, 2008, 03:29 UTC · re: Avery Pennarun · lore

Re: Announce: gitbuilder, an autobuilder for git-based projects

"Avery Pennarun" <apenwarr@gmail.com> writes:
Show 5 quoted lines
> I set up the same autobuilder tool for a couple of our projects at
> work, which have more interesting output since our developers are
> somewhat less careful to make sure the tests pass before committing.
> git.git is a bit boring to look at because Junio is apparently so good
> at his job.

Thanks for the compliments, but it is easy for the integrator to be "so good". I only have to apply patches and if the result or the result of merging that to 'next' does not pass the test, I just reject it to have the original submitter handle the fallouts ;-).

It is quite a different story for leaf level developers.
Jakub Narebski· Aug 31, 2008, 09:25 UTC · re: Avery Pennarun · lore

Re: Announce: gitbuilder, an autobuilder for git-based projects

"Avery Pennarun" <apenwarr@gmail.com> writes:
Show 16 quoted lines
> Hi all,
> 
> I recently made the first public release of gitbuilder, a set of
> relatively simple scripts for automatically building your favourite
> git-hosted project, optionally running unit tests, and reporting
> pass/fail results.  In case of failures, it automatically uses "git
> rev-list --bisect" to try to track down the first commit that started
> failing.  It's also smart about branches; it knows how to build each
> commit only once, no matter how many branches include it, thus greatly
> simplifying future bisections.
> 
> You can also get an RSS feed of the autobuilder results in case you
> want live updates as things happen.
> 
> To find the scripts, see here:
> http://github.com/apenwarr/gitbuilder/
[...]

Thanks. I have added it to Git Wiki: http://git.or.cz/gitwiki/InterfacesFrontendsAndTools#head-f02930f5bac8c11ea580ec2d0ee91322fc108e94

Please check if the information is correct.

P.S. Should I add it as one of possible tools to Git User's Survey 2008 (to be started at 1 September)?

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Avery Pennarun· Aug 31, 2008, 18:35 UTC · re: Jakub Narebski · lore

Re: Announce: gitbuilder, an autobuilder for git-based projects

On Sun, Aug 31, 2008 at 5:25 AM, Jakub Narebski <jnareb@gmail.com> wrote:
Show 7 quoted lines
> "Avery Pennarun" <apenwarr@gmail.com> writes:
>> Gitbuilder blah blah
>
> Thanks.  I have added it to Git Wiki:
> http://git.or.cz/gitwiki/InterfacesFrontendsAndTools#head-f02930f5bac8c11ea580ec2d0ee91322fc108e94
>
> Please check if the information is correct.
Thanks!
> P.S. Should I add it as one of possible tools to Git User's Survey 2008
> (to be started at 1 September)?

Well, on the one hand, it's free advertising. On the other hand, as a project that only started about a week ago, it's unlikely to get a lot of survey responses. Whatever you think is best.

Have fun,
Avery

← back to recent threads