I'll post here to keep the voting thread clean:

Shallow clones mitigate somewhat the initial clone time. Shallow
clones can be used with submodules ( 
http://stackoverflow.com/questions/2144406/git-shallow-submodules
), not sure they can be used with subtrees.

About using TeamCity, how would it work when you want to write some
integration tests involving two projects?

About merging repositories: with DVCS it's generally recommended to
keep one repository per project (see
http://stackoverflow.com/questions/2732020/git-repository-layout-for-server-with-multiple-projects/2732038#2732038
, 
http://kiln.stackexchange.com/questions/500/should-i-use-more-than-one-repository
). Linus recommended the KDE team to split their repository into one
repo per project and integrating using submodules, when they were
migrating from SVN to git: http://lwn.net/Articles/246381/
If each project is in its own repository, it's easy to create as many
integration repositories as we need, while at the same time keeping
each project independent.

I agree about merging some projects though, e.g. Pagination into Core.

--
Mauricio


On Jun 21, 2:05 am, "Henrik Feldt" <[email protected]> wrote:
> It does take a LOT of time initially. The histories are big. I tried.
>
> Perhaps another angle could be team city's 'build dependency' concept?
>
>
>
>
>
>
>
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of hammett
> Sent: den 21 juni 2011 00:20
> To: [email protected]
> Subject: Re: Problem with Windsor null reference exception
>
> This seems like the easiest way to solve it.
>
> On Mon, Jun 20, 2011 at 1:46 PM, Mauricio Scheffer 
> <[email protected]> wrote:
> > +1 to this. I wouldn't put the code back together in a single repository.
> > Instead, try creating a super-project / super-repository explicitly
> > for integration purposes, with git submodules (or subtree merging
> >http://progit.org/book/ch6-7.html) pointing to the individual project
> > repositories.
> > --
> > Mauricio
>
> > On Mon, Jun 20, 2011 at 5:02 PM, Sebastien Lambla <[email protected]> 
> > wrote:
>
> >> I'd say that one of the issues here is breaking changes being
> >> introduced across versions. Even if you reintegrated those
> >> components, things would still break for users in the same unexpected way.
>
> >> Isn't it an integration testing automation problem rather than a code
> >> split one?
>
> >> -----Original Message-----
> >> From: [email protected]
> >> [mailto:[email protected]] On Behalf Of hammett
> >> Sent: 20 June 2011 17:03
> >> To: [email protected]
> >> Subject: Re: Problem with Windsor null reference exception
>
> >> I guess this testifies that the separation of codebases brought up
> >> some pain for users. I'd say that we need to bring them back together..
>
> >> On Mon, Jun 20, 2011 at 1:45 AM, Berke Sokhan <[email protected]>
> >> wrote:
> >> > I also tried to gather all Castle projects to one solution to see
> >> > what is failing but w/o success.
>
> >> > Got all sources from git/castleproject source and
> >> > git/haf/castle.facilities.nhibernate built them. But NH facility
> >> > uses Windsor 2.5.1, and I dont want to downgrade to it. I already
> >> > spent too much time try to integrate the new nh facility. I also
> >> > noticed old NHIntegration facility uses an old version of Castle.
>
> >> > So may I ask you guys, to achive session-per-call/tx-per-call
> >> > nhibernate WCF application server (that is not using IIS or
> >> > httpbinding), excluding nhfacilities and including wcf facility...
>
> >> > Can you guide me to a best practice?
>
> >> > 2011/6/18 Henrik Feldt <[email protected]>
>
> >> >> Hmm, I don’t know how to fix this properly...
>
> >> >> The only work-around so far for me is to downgrade Windsor to 2.5.1.
> >> >> That works. I suggested that some of the improvements from v3
> >> >> might be back-ported to change some of the bits in Windsor and
> >> >> make it go away.
>
> >> >> Henrik
>
> >> >> From: [email protected]
> >> >> [mailto:[email protected]] On Behalf Of Berke
> >> >> Sokhan
> >> >> Sent: den 16 juni 2011 14:11
> >> >> To: [email protected]
>
> >> >> Subject: Re: Problem with Windsor null reference exception
>
> >> >> My stack looks same with Henrik:
>
> >> >>    at System.Collections.ObjectModel.Collection`1.Add(T item)
> >> >>    at
> >> >> Castle.Facilities.AutoTx.TransactionalComponentInspector.AddInterc
> >> >> ept
> >> >> or(ComponentModel
> >> >> model) in
> >> >> d:\Builds\Castle.Transactions-beta\src\Castle.Facilities.AutoTx\Tr
> >> >> ans actionalComponentInspector.cs:line
> >> >> 78
> >> >>    at
> >> >> Castle.Facilities.AutoTx.TransactionalComponentInspector.ProcessMo
> >> >> del
> >> >> (IKernel
> >> >> kernel, ComponentModel model) in
> >> >> d:\Builds\Castle.Transactions-beta\src\Castle.Facilities.AutoTx\Tr
> >> >> ans actionalComponentInspector.cs:line
> >> >> 46
> >> >>    at
> >> >> Castle.MicroKernel.ModelBuilder.DefaultComponentModelBuilder.Build
> >> >> Mod el(String key, Type service, Type classType, IDictionary
> >> >> extendedProperties) in
> >> >> e:\OSS.Code\Castle.Windsor\src\Castle.Windsor\MicroKernel\ModelBui
> >> >> lde r\DefaultComponentModelBuilder.cs:line
> >> >> 67
> >> >>    at
> >> >> Castle.MicroKernel.Registration.ComponentRegistration`1.Castle.Mic
> >> >> roK ernel.Registration.IRegistration.Register(IKernel
> >> >> kernel) in
> >> >> e:\OSS.Code\Castle.Windsor\src\Castle.Windsor\MicroKernel\Registra
> >> >> tio
> >> >> n\ComponentRegistration.cs:line
> >> >> 904
> >> >>    at Castle.MicroKernel.DefaultKernel.Register(IRegistration[]
> >> >> registrations) in
> >> >> e:\OSS.Code\Castle.Windsor\src\Castle.Windsor\MicroKernel\DefaultK
> >> >> ern
> >> >> el.cs:line
> >> >> 595
> >> >>    at
> >> >> Castle.MicroKernel.Registration.BasedOnDescriptor.TryRegister(Type
> >> >> type, IKernel kernel) in
> >> >> e:\OSS.Code\Castle.Windsor\src\Castle.Windsor\MicroKernel\Registra
> >> >> tio
> >> >> n\BasedOnDescriptor.cs:line
> >> >> 208
> >> >>    at
> >> >> Castle.MicroKernel.Registration.FromDescriptor.Castle.MicroKernel.
> >> >> Reg istration.IRegistration.Register(IKernel
> >> >> kernel) in
> >> >> e:\OSS.Code\Castle.Windsor\src\Castle.Windsor\MicroKernel\Registra
> >> >> tio
> >> >> n\FromDescriptor.cs:line
> >> >> 96
> >> >>    at
> >> >> Castle.MicroKernel.Registration.BasedOnDescriptor.Castle.MicroKernel.
> >> >> Registration.IRegistration.Register(IKernel
> >> >> kernel) in
> >> >> e:\OSS.Code\Castle.Windsor\src\Castle.Windsor\MicroKernel\Registra
> >> >> tio
> >> >> n\BasedOnDescriptor.cs:line
> >> >> 325
> >> >>    at Castle.MicroKernel.DefaultKernel.Register(IRegistration[]
> >> >> registrations) in
> >> >> e:\OSS.Code\Castle.Windsor\src\Castle.Windsor\MicroKernel\DefaultK
> >> >> ern
> >> >> el.cs:line
> >> >> 595
> >> >>    at Castle.Windsor.WindsorContainer.Register(IRegistration[]
> >> >> registrations) in
> >> >> e:\OSS.Code\Castle.Windsor\src\Castle.Windsor\Windsor\WindsorConta
> >> >> ine
> >> >> r.cs:line
> >> >> 689
> >> >>    at PayFlex.Vpos.Server.Container.Bootstrapper.Initialize() in
> >> >> D:\SVN
> >> >> Repositories\iPayVPOS\trunk\PayFlex.Vpos\PayFlex.Vpos.Server.Conta
> >> >> ine
> >> >> r\Bootstrapper.cs:line
> >> >> 32
> >> >>    at PayFlex.Vpos.Server.Application.Program.Main() in D:\SVN
> >> >> Repositories\iPayVPOS\trunk\PayFlex.Vpos\PayFlex.Vpos.Server.Appli
> >> >> cat
> >> >> ion\Program.cs:line
> >> >> 19
> >> >>    at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly,
> >> >> String[] args)
> >> >>    at System.AppDomain.ExecuteAssembly(String assemblyFile,
> >> >> Evidence assemblySecurity, String[] args)
> >> >>    at
> >> >> Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
> >> >>    at System.Threading.ThreadHelper.ThreadStart_Context(Object
> >> >> state)
> >> >>    at System.Threading.ExecutionContext.Run(ExecutionContext
> >> >> executionContext, ContextCallback callback, Object state, Boolean
> >> >> ignoreSyncCtx)
> >> >>    at System.Threading.ExecutionContext.Run(ExecutionContext
> >> >> executionContext, ContextCallback callback, Object state)
> >> >>    at System.Threading.ThreadHelper.ThreadStart()
>
> >> >> I am using Henrik's version of Transactions/AutoTx lib coming with
> >> >> new NH Facility.
>
> >> >> And I get this exception when registering some POCO service class
> >> >> which have "Transactional" attribute on it (removing attr.
> >> >> prevents exception, but nh facility need it to open injected session).
>
> >> >> My early impression was AutoTx has some bug in inspecting
> >> >> attributes, maybe a null check before adding to interceptors
> >> >> collection obviously ...
>
> >> >> Will look at source and try to point exact location.
>
> >> >> 2011/6/16 Krzysztof Koźmic <[email protected]>
>
> >> >> If you can reproduce it in a way that points to some reasonable
> >> >> bug in Windsor or elsewhere...
>
> >> >> I looked at it when Henrik originally reported it but other than
> >> >> "that's bizarre it can't be happening" I didn't find any good
> >> >> explanation for that.
>
> >> >> Krzysztof
>
> >> >> On 16/06/2011 8:47 AM, Berke Sokhan wrote:
>
> >> >> Any news on this one? I am getting it too.
>
> >> >> Without a resolution to this, whole new Castle.Facilities.AutoTx /
> >> >> Castle.Services.Transactions / Castle.Facilities.NHibernate
> >> >> trilogy become useless :(
>
> >> >> 2011/5/6 Henrik <[email protected]>
>
> >> >> I was wondering if I could get some help debugging this exception?
>
> >> >> TearDown : System.NullReferenceException : Object reference not
> >> >> set to an instance of an object.
> >> >>    at System.Collections.ObjectModel.Collection`1.Add(T item)
>
> >> >>    at
>
> >> >> Castle.Facilities.AutoTx.TxComponentInspector.AddInterceptor(Compo
> >> >> nen
> >> >> tModel
> >> >> model)
> >> >>    at
> >> >> Castle.Facilities.AutoTx.TxComponentInspector.ProcessModel(IKernel
> >> >> kernel, ComponentModel model)
>
> >> >>    at
>
> >> >> Castle.MicroKernel.ModelBuilder.DefaultComponentModelBuilder.Build
> >> >> Mod el(String key, Type service, Type classType, IDictionary
> >> >> extendedProperties)
> >> >>    at
>
> >> >> Castle.MicroKernel.Registration.ComponentRegistration`1.Castle.Mic
> >> >> roK ernel.Registration.IRegistration.Register(IKernel
> >> >> kernel)
>
> >> >>    at Castle.MicroKernel.DefaultKernel.Register(IRegistration[]
> >> >> registrations)
> >> >>    at Castle.Windsor.WindsorContainer.Register(IRegistration[]
> >> >> registrations)
> >> >>    NHibernateFacility_ValidationError_OnSave.cs(75,0): at
> >> >> Castle.Facilities.NHibernate.Tests.Container..ctor()
> >> >>    NHibernateFacility_ValidationError_OnSave.cs(48,0): at
>
> >> >> Castle.Facilities.NHibernate.Tests.NHibernateFacility_ValidationEr
> >> >> ror
> >> >> _OnSave.SetUp()
> >> >>    --TearDown
> >> >>    NHibernateFacility_ValidationError_OnSave.cs(54,0): at
>
> >> >> Castle.Facilities.NHibernate.Tests.NHibernateFacility_ValidationEr
> >> >> ror
> >> >> _OnSave.TearDown()
>
> >> >> A repro is here:
>
> >> >>https://github.com/haf/Castle.Facilities.NHibernate/commit/bc2257c
> >> >> d4e
> >> >> 0992f1d2bde70de14da383910927b9...
>
> read more »

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en.

Reply via email to