Sammy Gillespie <
sammygi...@gmail.com> wrote:
> As part of a larger system I'm looking to mirror the android source
> repo so that we can save on bandwidth internally etc.
> I currently have a gerrit server set up with the gitiles plugin (which
> I'm more than willing to edit to meet my needs), so it makes sense to
> integrate it into this.
> However I'm trying to work out if there's a sensible way to do this
> that I just can't spot.
> Currently the simplest concept would be to just "repo sync" into my
> gerrit's git repository. Then flush gerrit's caches when done. Do this
> regularly enough and all works fine. But this is where I run into
> problems.
> Gerrit decides that all the symlinked .repo projects are, themselves,
> their own project. So I have twice as many projects as expected, and a
> bunch are .repo projects. Is there a nice way to make gerrit ignore
> these?
gits therefore aren't bare. They should be. You should also consider