Cross project atomic commits

365 views
Skip to first unread message

Wink Saville

unread,
Feb 17, 2012, 5:52:12 PM2/17/12
to repo-d...@googlegroups.com, android-git-discuss
What is the status of cross project atomic commits? This is
one of the solutions to reduce the number of build breakages and
syncing to bad builds. It also seems to be necessary for an
effective presubmit queue.

-- Wink

Martin Fick

unread,
Feb 17, 2012, 6:15:55 PM2/17/12
to repo-d...@googlegroups.com, Wink Saville
removed
"android-git-discuss" <android-g...@google.com>

As far as Gerrit is concerned, here are the in progress
changes:

https://gerrit-
review.googlesource.com/#/q/status:open+project:gerrit+branch:master+topic:cross-
repo-dependencies,n,z

Good progress was being made, but it still needs some work,

-Martin

--
Employee of Qualcomm Innovation Center, Inc. which is a
member of Code Aurora Forum

Åsmund Østvold

unread,
Feb 20, 2012, 3:53:58 AM2/20/12
to repo-d...@googlegroups.com, Wink Saville, Martin Fick
I am investigating Gerrit and I am unsure about what a "project" in your terminological.  So my question is:

Will a API change that require more then one git repository to change be possible to approved as one change(set)?

My goal is to be able to do automatic code review (+1) and verification with builds and integration tests in our Jenkins CI environment.  I was hoping that the git-repo tool would enable the needed behavior.  I do not need cross git-repo manifest file automation. 

Is this possible before the blow change is implemented. If not, will it be possible after the below change is implemented?

Asmund
 
PS. Dyslectic mistakes may be present in the text. 



Magnus Bäck

unread,
Feb 20, 2012, 11:08:38 PM2/20/12
to repo-d...@googlegroups.com
On Mon, Feb 20, 2012 at 3:53 EST,
Åsmund Østvold <asm...@gmail.com> wrote:

> I am investigating Gerrit and I am unsure about what a
> "project" in your terminological.

project == Git repository

> So my question is:
>
> Will a API change that require more then one git repository to
> change be possible to approved as one change(set)?

This is currently not possible. Sorry.

> My goal is to be able to do automatic code review (+1) and
> verification with builds and integration tests in our Jenkins CI
> environment.  I was hoping that the git-repo tool would enable
> the needed behavior.  I do not need cross git-repo manifest
> file automation.
>
> Is this possible before the blow change is implemented. If
> not, will it be possible after the below change is
> implemented?

I believe so, but I haven't looked into the details of this patch
series.

--
Magnus Bäck
ba...@google.com

Martin Fick

unread,
Feb 22, 2012, 11:44:21 PM2/22/12
to Åsmund Østvold, repo-d...@googlegroups.com, Wink Saville

"Åsmund Østvold" <asm...@gmail.com> wrote:

>I am investigating Gerrit and I am unsure about what a "project" in
>your terminological. So my question is:
>
>Will a API change that require more then one git repository to change
>be possible to approved as one change(set)?
>
>My goal is to be able to do automatic code review (+1) and verification
>with builds and integration tests in our Jenkins CI environment. I was
>hoping that the git-repo tool would enable the needed behavior. I do
>not need cross git-repo manifest file automation.
>
>Is this possible before the blow change is implemented. If not, will it be
>possible after the below change is implemented?
>

To better understand what will and what will not be possible you should search the mailing list for the cross repo dependency threads started by the author of that change since December. It is not a simple yes or no answer.

Employee of Qualcomm Innovation Center,Inc. which is a member of Code Aurora Forum

Åsmund Østvold

unread,
Feb 23, 2012, 3:37:09 AM2/23/12
to Martin Fick, repo-d...@googlegroups.com, Wink Saville
Thank you Martin

That thread seems to require at least two cops of coffee and some time.

Asmund
Reply all
Reply to author
Forward
0 new messages