On Fri, Apr 1, 2011 at 2:54 PM, Barry <dive...@gmail.com> wrote:

> Hello everyone,
>
> We just started using git, and have an issue with our continuous
> integration builds.  We use CruiseControl, and have one git repository
> that consists of many applications that are individually built.  Right
> now, when any change is made to a branch all applications that are
> building in CruiseControl are built and the modification list contains
> all changes for the branch.  The behavior that we are used to is if a
> change is made in an application, CruiseControl will only build that
> application (not all apps from that branch) and report only the
> modifications to that app (not all changes on the branch).  Is it
> possible to do this with git?
>
> Our repo essentially looks like:
> Basedir/app1
>                /app2
>                /app3
>                /internal/app4
>                /internal/app5
>                /partner/external/app6
>                /partner/external/app7
>
> So we have a number of applications that make up our repository, but
> they are not all at the same directory level.  And our CruiseControl
> will build app1, app2, app3, app4, and so on.  We treat each app as
> its own project and would like to map that into CruiseControl so that
> a change in app2 will only build app2 and not show modifications that
> were made in app4.
>
> Thanks for taking the time to read this and for any help you may be
> able to provide,
> Barry
>
>
I'm not familiar with setting up CruiseControl, but in general the svn-style
organization of "one repo with subdirs for projects"  doesn't work too well
with git -- to put it simply, git doesn't care about directories, and svn
only cares about directories.

Your apps can live in separate repositories and make use of submodules
(kinda like svn:external). It's a bit more setup, and it might be hard to do
so as a "big transition at once" type of thing, but I highly doubt that
you'll want to keep the central-repo layout as you go forward.

You should note that I am speaking from ignorance here -- I've never been a
fan of the single repo anyhow, and I haven't tried, nor would I try to use
git like that. Someone else who knows more about that than I might come in
and actually give you advice as to your desired setup, or just getting
CruiseControl to play nice with it.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to