Re: Git with Hudson

Previous thread: Re: git-fast-export and tags without a tagger by Junio C Hamano on Thursday, December 18, 2008 - 12:15 pm. (7 messages)

Next thread: [topgit] shared topic branch by Fabien Thomas on Thursday, December 18, 2008 - 1:02 pm. (4 messages)
From: Indy Nagpal
Date: Thursday, December 18, 2008 - 12:23 pm

Hi

Currently we use Subversion as our VCS. This ties into our CI process  
that uses Hudson.

I've been using git svn with great success over the last few months  
and a few our developers have also started using it. We now almost  
ready to switch our repository from SVN to Git.

However, before we do that I wanted to check if anyone has had any  
experience/feedback in integrating Git with Hudson CI server?

Thanks

Indy

PS: Apologies if this is posted a couple of times to the list. Gmail  
is refusing to send the email to the mailing list address, so trying  
to send it in a couple of different ways

-- 
Indiver Nagpal
Straker Interactive


--

From: Stephen Haberman
Date: Thursday, December 18, 2008 - 3:07 pm

We tried using the Hudson git plugin that you can download from the
Hudson site and ended up with problems--whether we had too many branches
or something, the plugin has some funny "figure out what needs to be
built" logic that issued near-constant git rev-list commands. To the
point where our own "git fetch" calls would get starved for 20-30
seconds.

We eventually wrote our own Hudson git plugin that is simpler and
doesn't do any funny rev-listing/walking. It just stores last hash
built and rebuilds once that doesn't match the branch tip. Once that
was in place, it worked great.

I've got permission to publish it if you're interested--just haven't
yet.

- Stephen

--

From: Tim Visher
Date: Thursday, December 18, 2008 - 6:58 pm

On Thu, Dec 18, 2008 at 5:07 PM, Stephen Haberman

I'm interested!  Please publish away!

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail
--

From: Stephen Haberman
Date: Monday, December 22, 2008 - 8:00 pm

Here's the "git2" Hudson plugin that worked well for us:

http://github.com/stephenh/hudson-git2

There is a git.hpi file checked into the target directory so that you
don't have to build it yourself.

- Stephen

--

From: R. Tyler Ballance
Date: Wednesday, December 24, 2008 - 1:59 pm

I decided that I'd check this out, as the existing Git plugin chokes on
our git-rev-list(1) on our enormous Git repository.

Correct me if I'm wrong, but did you actually upload or check in the
target/ directory? Your .markdown references target/git.hpi as well, but
I can't seem to find it :-/


Cheers
--=20
-R. Tyler Ballance
Slide, Inc.
From: Stephen Haberman
Date: Wednesday, December 24, 2008 - 2:04 pm

Ack, sorry, just added it.

- Stephen

--

From: Jean-Baptiste Quenot
Date: Monday, December 22, 2008 - 2:34 am

Good idea!  I'm also affected by this problem, although the
git-rev-list is not an issue anymore since version 0.5.  Simplifying
the checkout() is still in my plans though, so your contribution comes
at the right moment.  Once the code will be made available we'll be
able to take the best of the two Git plugins and merge them into one.

WDYT?
-- 
Jean-Baptiste Quenot
http://jbq.caraldi.com/
--

From: Dilip M
Date: Thursday, December 18, 2008 - 9:58 pm

On Fri, Dec 19, 2008 at 12:53 AM, <indy@strakersoftware.com> wrote:
On Fri, Dec 19, 2008 at 3:37 AM, <stephen@exigencecorp.com> wrote:

indy> However, before we do that I wanted to check if anyone has had any
indy> experience/feedback in integrating Git with Hudson CI server?

We want to try it in futrure when GIT will be used for some projects. It
will be nice to share the knowledge on hudson tool. :)

B.W, what version of hudson you are using? Java version? TOMCAT
version?

It is stable?  Have you seen something like "(appears to be stuck)
entries"...

stephen> We eventually wrote our own Hudson git plugin that is simpler and
stephen> doesn't do any funny rev-listing/walking. It just stores last hash
stephen> built and rebuilds once that doesn't match the branch tip. Once that
stephen> was in place, it worked great.

I am eager to have it..please publish.

-dm
--

Previous thread: Re: git-fast-export and tags without a tagger by Junio C Hamano on Thursday, December 18, 2008 - 12:15 pm. (7 messages)

Next thread: [topgit] shared topic branch by Fabien Thomas on Thursday, December 18, 2008 - 1:02 pm. (4 messages)