Discussion:
Can gerrit identify dependency between commits across repos?
Gaurav Negi
2014-05-12 19:20:09 UTC
Permalink
Dear Gerrit experts,
Can you please share your knowledge if gerrit has any way of identifying
dependencies between various commits in different repos?

e.g. in a multi GIT repositories based project, a developer pushes multiple
commits that are dependent on each other but are in different repositories?

Thanks
-Gaurav
--
--
To unsubscribe, email repo-discuss+***@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Edwin Kempin
2014-05-12 19:37:42 UTC
Permalink
Post by Gaurav Negi
Dear Gerrit experts,
Can you please share your knowledge if gerrit has any way of
identifying dependencies between various commits in different repos?
Gerrit doesn't support cross repo dependencies yet. There is an open change
about this [1] and the Google team wants to work on atomic submit across
repositories [2].

[1] https://gerrit-review.googlesource.com/55243
[2]
https://docs.google.com/presentation/d/1qG1eAiDmyozZBiVE6R4AVqaZQGRjSUldsDkvFW8AMzA/mobilepresent#slide=id.g1d6bea5f2_0134
Post by Gaurav Negi
e.g. in a multi GIT repositories based project, a developer pushes
multiple commits that are dependent on each other but are in different
repositories?
Post by Gaurav Negi
Thanks
-Gaurav
--
--
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups
"Repo and Gerrit Discussion" group.
Post by Gaurav Negi
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
To unsubscribe, email repo-discuss+***@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Gaurav Negi
2014-05-12 20:03:00 UTC
Permalink
Thank you so much Edwin.

Any plan to merge this commit
https://gerrit-review.googlesource.com/#/c/55243/ and making it available
in newer version of Gerrit?

Please let me know.

Thanks
-Gaurav
Post by Edwin Kempin
Post by Gaurav Negi
Dear Gerrit experts,
Can you please share your knowledge if gerrit has any way of
identifying dependencies between various commits in different repos?
Gerrit doesn't support cross repo dependencies yet. There is an open
change about this [1] and the Google team wants to work on atomic submit
across repositories [2].
[1] https://gerrit-review.googlesource.com/55243
[2]
https://docs.google.com/presentation/d/1qG1eAiDmyozZBiVE6R4AVqaZQGRjSUldsDkvFW8AMzA/mobilepresent#slide=id.g1d6bea5f2_0134
Post by Gaurav Negi
e.g. in a multi GIT repositories based project, a developer pushes
multiple commits that are dependent on each other but are in different
repositories?
Post by Gaurav Negi
Thanks
-Gaurav
--
--
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google
Groups "Repo and Gerrit Discussion" group.
Post by Gaurav Negi
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
--
To unsubscribe, email repo-discuss+***@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Zalán Blénessy
2014-05-13 11:28:45 UTC
Permalink
We have thousands of repos @ Axis and have chosen a slightly different
(more implicit) was of correlating reviews:

At any given time we assume that two or more reviews with the SAME
Change-Id OR Issue-Id towards the SAME target branch are correlated and
need to be CI tested together.
This algorithm has been working quite neatly for our Jenkins CI thus far so
I'm considering it would be a nice (configurable) complement to
https://gerrit-review.googlesource.com/55243 (I might implement it if time
permits).

//Z
Post by Edwin Kempin
Post by Gaurav Negi
Dear Gerrit experts,
Can you please share your knowledge if gerrit has any way of
identifying dependencies between various commits in different repos?
Gerrit doesn't support cross repo dependencies yet. There is an open
change about this [1] and the Google team wants to work on atomic submit
across repositories [2].
[1] https://gerrit-review.googlesource.com/55243
[2]
https://docs.google.com/presentation/d/1qG1eAiDmyozZBiVE6R4AVqaZQGRjSUldsDkvFW8AMzA/mobilepresent#slide=id.g1d6bea5f2_0134
Post by Gaurav Negi
e.g. in a multi GIT repositories based project, a developer pushes
multiple commits that are dependent on each other but are in different
repositories?
Post by Gaurav Negi
Thanks
-Gaurav
--
--
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google
Groups "Repo and Gerrit Discussion" group.
Post by Gaurav Negi
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
--
To unsubscribe, email repo-discuss+***@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Vikas Tr
2014-09-04 10:16:41 UTC
Permalink
Zalan,
Can you please explain how did you do this? We too need to implement this
at our place.

Thanks
Vikas
Post by Zalán Blénessy
At any given time we assume that two or more reviews with the SAME
Change-Id OR Issue-Id towards the SAME target branch are correlated and
need to be CI tested together.
This algorithm has been working quite neatly for our Jenkins CI thus far
so I'm considering it would be a nice (configurable) complement to
https://gerrit-review.googlesource.com/55243 (I might implement it if
time permits).
//Z
Post by Edwin Kempin
Post by Gaurav Negi
Dear Gerrit experts,
Can you please share your knowledge if gerrit has any way of
identifying dependencies between various commits in different repos?
Gerrit doesn't support cross repo dependencies yet. There is an open
change about this [1] and the Google team wants to work on atomic submit
across repositories [2].
[1] https://gerrit-review.googlesource.com/55243
[2]
https://docs.google.com/presentation/d/1qG1eAiDmyozZBiVE6R4AVqaZQGRjSUldsDkvFW8AMzA/mobilepresent#slide=id.g1d6bea5f2_0134
Post by Gaurav Negi
e.g. in a multi GIT repositories based project, a developer pushes
multiple commits that are dependent on each other but are in different
repositories?
Post by Gaurav Negi
Thanks
-Gaurav
--
--
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google
Groups "Repo and Gerrit Discussion" group.
Post by Gaurav Negi
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
--
To unsubscribe, email repo-discuss+***@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...