Re: [openstack-dev] [Infra][all] Synchronizing local Git and Gerrit repositories

2014-10-30 Thread Ricardo Carrillo Cruz
Code review is a vital part of the Openstack CI workflow, and as such the git repos managed by Openstack CI Gerrit are the authorative sources. It looks to me you don't want to have Gerrit to be the authorative git server to avoid doing code reviews in experiments or to share code among

Re: [openstack-dev] [Infra][all] Synchronizing local Git and Gerrit repositories

2014-10-30 Thread Ondrej Wisniewski
Hi Stefano and Dolph, since me and my team joined the OpenStack developer community just recently, I really appreciate your comments and suggestions. After all, we are here to learn. The current workflow we've set up might be a consequence of a different development model we were used to.

Re: [openstack-dev] [Infra][all] Synchronizing local Git and Gerrit repositories

2014-10-30 Thread Ondrej Wisniewski
Thanks Ricardo for your suggestion about GitLab. I am looking into this. Ondrej /On 10/30/2014 09:20 AM, Ricardo Carrillo Cruz wrote:// / Code review is a vital part of the Openstack CI workflow, and as such the git repos managed by Openstack CI Gerrit are the authorative sources. It looks to

Re: [openstack-dev] [Infra][all] Synchronizing local Git and Gerrit repositories

2014-10-30 Thread Dolph Mathews
On Thursday, October 30, 2014, Ondrej Wisniewski ondrej.wisniew...@dektech.com.au wrote: Hi Stefano and Dolph, since me and my team joined the OpenStack developer community just recently, I really appreciate your comments and suggestions. After all, we are here to learn. The current

Re: [openstack-dev] [Infra][all] Synchronizing local Git and Gerrit repositories

2014-10-29 Thread Ondrej Wisniewski
Hi Ricardo, thanks a lot for your help and detailed instructions. It will surely come in handy when I will need to do something like that. I am looking also into this possibility. But the actual reason I need to sync our central developer repo with the Gerrit repo is a problem when the

Re: [openstack-dev] [Infra][all] Synchronizing local Git and Gerrit repositories

2014-10-29 Thread Dolph Mathews
On Wed, Oct 29, 2014 at 4:20 AM, Ondrej Wisniewski ondrej.wisniew...@dektech.com.au wrote: Hi Ricardo, thanks a lot for your help and detailed instructions. It will surely come in handy when I will need to do something like that. I am looking also into this possibility. But the actual

Re: [openstack-dev] [Infra][all] Synchronizing local Git and Gerrit repositories

2014-10-29 Thread Ondrej Wisniewski
Hi Dolph, I guess it sounds complicated but in the end our setup is really not much different from the community workflow, a least this is the intention. What I am trying to achieve is a possibility for the team of developers to share code among each other by using a central Git repository.

Re: [openstack-dev] [Infra][all] Synchronizing local Git and Gerrit repositories

2014-10-29 Thread Stefano Maffulli
On 10/29/2014 07:02 AM, Ondrej Wisniewski wrote: If I understand correctly, we cannot use the OpenStack community Git servers as our central Git repository since developers cannot push to them. And we don't want to go through Gerrit and the code review procedure just to share a bit of code

Re: [openstack-dev] [Infra][all] Synchronizing local Git and Gerrit repositories

2014-10-27 Thread ZZelle
Hi Ondrej, Could you clarify your needs? If you allow your devs to commit code on your local gerrit, then your repo will differ from OpenStack one and you might have merge troubles when you will resync your repo with OpenStack one How will you handle them? Cédric/ZZelle On Mon, Oct 27,

Re: [openstack-dev] [Infra][all] Synchronizing local Git and Gerrit repositories

2014-10-27 Thread Ondrej Wisniewski
Hi Cédric, I have basically two internal OpenStack mirrors (bare Git repositories). One is to share code contributions among the dev team members, the other is handled by Gerrit and this is where the devs send code for review. Both should be updated periodically from the upstream servers.

[openstack-dev] [Infra][all] Synchronizing local Git and Gerrit repositories

2014-10-24 Thread Ondrej Wisniewski
Hi, I am trying to set up an OpenStack development workflow in our company. We have an internal Git repository mirror of all OpenStack projects we are working on. It is periodically updated from the upstream OpenStack community servers. This is used to share the code among developers.

Re: [openstack-dev] [Infra][all] Synchronizing local Git and Gerrit repositories

2014-10-24 Thread Ricardo Carrillo Cruz
Hi Ondrej The replication between Gerrit and git mirrors is done by the Gerrit replication mechanism. If you look at this line in the gerrit manifest: http://git.openstack.org/cgit/openstack-infra/system-config/tree/modules/gerrit/manifests/init.pp#n255 you will see that it deploys a