On Monday, May 06, 2013 at 20:57 EDT,
Arun Kumar Bevara <
arun....@gmail.com> wrote:
> Thanks all, for the info. To provide more granularity about the
> request, we have various levels of Build & Integration teams and here
> is the scenario in P4 that we are looking to emulate in Git\Gerrit
>
> Integration team1 works on module 1 and verifies the sanity of a day's
> check-ins from developer by building and testing. Once determined
> good, they label it and pass it on to the next team
> Team 2 gets such deliveries (labels) from various sub integration
> teams and builds everything together to verify all modules together
> work well and create their own label and pass it on to the next
> integration team.
>
> In P4 this is straightforward since a label can be used to tag what
> was tested and built and pass on to the next team.
>
> Is there any way to do this using Gerrit?
As we've said, use Git tags for this.
http://git-scm.com/book/en/Git-Basics-Tagging
I don't know your particular situation, but instead of replicating your
Perforce setup in Git, see if you can optimize it by removing the integration
teams or at least limiting the scope of what they need to do. I'm sure
a lot of what they're going could be replaced by automated tests run on
every commit (preferably before they're even submitted). I've worked
like what you're describing and it's inefficient, doesn't scale, and
leads to people not taking responsibility for what they're doing.
Such a change in how you work doesn't really have much to do with Git
or Gerrit (although it might be easier to implement than with Perforce),
but if you're going to make such a major disruptive change anyway it
might be easier to slip in other changes at the same time.
--
Magnus Bäck
ba...@google.com