From: Ian Jackson Subject: Re: [PATCH OSSTEST v2] Add libvirt build and test jobs. Date: Mon, 14 Apr 2014 12:14:32 +0100 Message-ID: <21323.49944.229088.911680@mariner.uk.xensource.com> References: <1395924982-22346-1-git-send-email-ian.campbell@citrix.com> <1395925359.22909.126.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1395925359.22909.126.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Jim Fehlig , Dario Faggioli , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org (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. > 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. Ian.