[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH OSSTEST v2] Add libvirt build and test jobs.



On Mon, 2014-04-14 at 12:14 +0100, Ian Jackson wrote:
> (Sorry for dropping this mail and not replying earlier...)
> 
> Ian Campbell writes ("Re: [PATCH OSSTEST v2] Add libvirt build and test 
> jobs."):
> > One wrinkle is that the submodule clone does not use the git cache,
> > because it uses a URL contained in the libvirt git tree:
> >         libvirt# cat .gitmodules 
> >         [submodule "gnulib"]
> >             path = .gnulib
> >             url = git://git.sv.gnu.org/gnulib.git
> 
> Hrm, that's annoying.
> 
> > It doesn't look like gnulib is especially large/slow to clone
> > (especially compared with some of the other repos we clone).
> 
> I still think it would be best to fix this.  Using the cache also
> gives us the option to continue if the upstream isn't reachable.

True.

> > If this behaviour is intolerable then it might be possible to induce
> > things to use the cache with suitable pullInsteadOf options
> > in .gitconfig and/or .git/config. Maybe.
> 
> Perhaps the git clone runes in build_clone could automatically edit
> the submodule configuration.

This makes the tree dirty from git's PoV. Is that acceptable? (I suspect
not).

I'll investigate the pullInsteadOf option.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.