Update on Gerrit deployment

Paul Sokolovsky paul.sokolovsky at linaro.org
Tue Aug 23 12:46:54 UTC 2011


Hello,

Some time passed since last update on Gerrit deployment, that's
because work on complete AOSP mirroring to out tree took longer than
expected. All in all, following was done:

Revamped branching in our toolchain/* components, freed room for
upstream branches, mirrored them.

Mirrored AOSP kernel components. That was something I was putting
off until latest, knowing that it would bring enough burden, like
increasing storage space, increasing sync time, etc. Until last I wasn't
sure if they should mirrored, but something which turned scale is
recent talk about possibility to provide image for consumer phones from
Google (for which we may want to hack kernels as provided by AOSP).
Other point was just having complete AOSP mirror, and writing that
question off forever, freeing space for other work. So, I proceeded
with doing it, which soon led to OutOfMemory in Gerrit, so it's
probably good that it got uncovered during deployment, than later.
Thanks to IS, memory and Gerrit size were increased, and kernel imports
finished successfully.

That means that we have complete mirror of upstream AOSP tree, and out
tree is a proper superset of AOSP. The only workitem left is setting up
automated upstream syncing via cron (so far I've been doing this
manually), and we have nice tree set up with upstream at our fingertips
(without having availability issues during builds, etc.), and at the
same time, have all freedom to do any stuff on top of it (branching,
tagging, etc.)

I also updated Linaro Gerrit howto:
https://wiki.linaro.org/Platform/Android/Gerrit , which now should have
all info to have one started quickly with Gerrit, and cover all aspects
of Gerrit setup (like upstream mirroring and permission settings). I'd
appreciate review of that and letting me know if something is missing
there.


Finally few points we can continue with to elaborate our usage of
Gerrit:

1. Set up branch policy (naming, etc.) and enforce it on Gerrit level.
This may require revamping branching in other toolchain/* components
(upstreamed not from AOSP), but in the end we'll get really robust
development setup.

2. Turn off review bypass option which was available during transition
process. I guess Android team if comfortable by now with new process
(there're more than 80 patches passed thru review by now!), so once
11.08 release is out, it would be good time to do that.


-- 
Best Regards,
Paul

Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog



More information about the linaro-dev mailing list