Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [git] configuring Hudson build job for multiple Git repositories

Well I guess that depends on your definition of "cumbersome" :)  If someone wants to contribute a fix they generally need to clone the entire repository to their local desktop. So what's a reasonable amount of data we can expect someone to transfer to their desktop to work on the project? For example the current Eclipse Platform repositories range from 20MB to 200MB in total size. Now these have 10+ years of history in them so that's probably larger than typical for their LOC. I think these sizes are ok, but if you had repositories of 500+ MB I think it would become more painful to use.

On the flip side, having code changes that span multiple repositories is a pain to work with. You lose the ability to capture the entire set of changes in a single URL, the ability to easily cherry-pick/transfer to other branches, etc. After a couple of years of heavy Git use I'm definitely in the "less repositories is better" camp.

John



Matthew Heitz <mheitz@xxxxxxxxxx>
Sent by: git-bounces@xxxxxxxxxxx

07/30/2012 01:40 PM

Please respond to
"Git related discussions,        specifcally migration help for projects at Eclipse.org"        <git@xxxxxxxxxxx>

To
"Git related discussions,        specifcally migration help for projects at Eclipse.org" <git@xxxxxxxxxxx>
cc
Subject
Re: [git] configuring Hudson build job for multiple Git repositories





John,

The new version of the wiki page says very large repositories may be cumbersome to work with.  What's your definition of "very large"?


-Matt

--------------
Matt Heitz
Developer, Eclipse EGL Development Tools and IBM Rational Business Developer

http://www.eclipse.org/edt/
http://www.ibm.com/developerworks/rational/products/rbde/






From:        
John Arthorne <John_Arthorne@xxxxxxxxxx>
To:        
"Git related discussions,        specifcally migration help for projects at Eclipse.org" <git@xxxxxxxxxxx>,
Date:        
07/30/2012 12:57 PM
Subject:        
Re: [git] configuring Hudson build job for multiple Git repositories
Sent by:        
git-bounces@xxxxxxxxxxx




This is off your topic, but I think the suggestion on that wiki page of having one Git repository per plugin is far too fine-grained. There are trade-offs either way and I suspect opinions differ. I have added more information to the wiki page on what those trade-offs are, to help people make more informed decisions.


John



Matthew Heitz <mheitz@xxxxxxxxxx>
Sent by: git-bounces@xxxxxxxxxxx

07/30/2012 10:49 AM

Please respond to
"Git related discussions,        specifcally migration help for projects at Eclipse.org"        <git@xxxxxxxxxxx>


To
git@xxxxxxxxxxx
cc
Subject
[git] configuring Hudson build job for multiple Git repositories









Hi,


I need some help configuring Hudson to build my project after its migration from CVS to Git.


We migrated from one CVS repository to several Git repositories, thanks to statements like "Typically, one Git repository (.git) is created for each logical unit, or grouping of code -- a plugin, a connector, a component, and so on." in
http://wiki.eclipse.org/Git/Migrating_to_Git .  I want the code from all of the Git repos to be compiled together by one Hudson job, but I haven't succeeded yet.

Hudson's build config page allows you to specify as many Git repos as you'd like, but I just read in the Hudson Book
http://wiki.eclipse.org/The_Hudson_Book that "Providing multiple repositories only makes sense when they are clones or instances off the same repository, since they will be used for merging together the content prior to the build."  That's not what I'm trying to do.  Each repository contains a distinct set of plugins.

In order for my build to work, the files from all repos must be extracted to the same directory in the Hudson workspace.  But Hudson is removing the previous contents of the directory each time it fetches files from a repo.  I end up with only the files from the last repo.


I tried telling Hudson to put each repo's files into a different place, but then javac couldn't find them.


I appreciate any help you can give me.


-Matt

--------------
Matt Heitz
Developer, Eclipse EGL Development Tools and IBM Rational Business Developer

http://www.eclipse.org/edt/
http://www.ibm.com/developerworks/rational/products/rbde/

_______________________________________________
git mailing list
git@xxxxxxxxxxx

http://dev.eclipse.org/mailman/listinfo/git
_______________________________________________
git mailing list
git@xxxxxxxxxxx

http://dev.eclipse.org/mailman/listinfo/git
_______________________________________________
git mailing list
git@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/git


Back to the top