Hi,My organization has been using Gerrit for a few years now, and we're very happy with it!We recently decided to publish our repositories on GitHub, so we configured Gerrit's replication plugin to automatically push submitted commits to GitHub. This part works like a charm. To be sure that our users wouldn't push to GitHub by mistake and mess up the replication, we've also limited their access by granting them the GitHub "Read" permission only.Now, we would like our users to be able to update and/or close GitHub Issues that are being opened on these repositories. However, from what I understand of GitHub's documentation, this requires that a user is granted the "Write" permission. We would like to allow all our users to update and/or close GitHub Issues, but doing so we'd also grant them permissions to push to GitHub repositories, at the risk of breaking the replication from Gerrit.
I've quickly scanned this group's topics and couldn't find a similar story. I also looked into Gerrit's GitHub plugin, but it doesn't appear to handle GitHub's Issues (at least not the current version – I'm unsure what the its-github plugin is about).Does anybody have experience with this kind of setup? What would be your suggestion(s)?Many thanks in advance!Charly
--
--
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.
Now, we would like our users to be able to update and/or close GitHub Issues that are being opened on these repositories. However, from what I understand of GitHub's documentation, this requires that a user is granted the "Write" permission. We would like to allow all our users to update and/or close GitHub Issues, but doing so we'd also grant them permissions to push to GitHub repositories, at the risk of breaking the replication from Gerrit.Have you asked at a GitHub discussion group?This looks like a GitHub access rights question.
From our experience with GerritHub.io, typically GitHub users want to keep the ability to push to GitHub as well, even if the repos are configured for replication from Gerrit.This may create some problem with the replication going out-of-sync :-(As long as they know what they are doing (I doubt it happens very often), it should not be a problem.P.S. Should you want to go this (dangerous) way, fasten your seat belts and disable force-push from Gerrit replication config. Bear in mind as well that you wouldn't be able to replicate force pushes and branch deletion.Good luck :-)