{"thread":{"id":"28261","subject":"Pointers to setup an internal git repository with access control","startedAt":"2011-08-30T12:01:44Z","lastAt":"2011-08-30T18:33:46Z","messageCount":5,"participants":["robert mena","Konstantin Khomoutov","Magnus Bäck"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"174545","messageId":"CAAZ43xZPsw2CnqOtb6wO7dRC1eMd0eweQ30w-wfzUHL5cqw=Yw@mail.gmail.com","threadId":"28261","inReplyTo":null,"subject":"Pointers to setup an internal git repository with access control","fromName":"robert mena","fromEmail":"robert.mena@gmail.com","sentAt":"2011-08-30T12:01:44Z","receivedAt":"2011-08-30T12:01:44Z","isPatch":false,"sender":{"key":"robert.mena@gmail.com","avatar":null},"body":"Hi,\n\nI am trying to migrate from SVN to git and so I am looking for tools\nthat help me create an interal repository.  I currently use SVN over\nHTTPS/Dav using the access.conf to be able to control which uses can\nread/write to the repos or given branches.\n\nIdeally I am looking for tools that enable me to do the same with git.\n\nRegards.\n"},{"id":"174549","messageId":"20110830162223.1cbf9f98.kostix@domain007.com","threadId":"28261","inReplyTo":"CAAZ43xZPsw2CnqOtb6wO7dRC1eMd0eweQ30w-wfzUHL5cqw=Yw@mail.gmail.com","subject":"Re: Pointers to setup an internal git repository with access control","fromName":"Konstantin Khomoutov","fromEmail":"flatworm@users.sourceforge.net","sentAt":"2011-08-30T12:22:23Z","receivedAt":"2011-08-30T12:22:23Z","isPatch":false,"sender":{"key":"flatworm@users.sourceforge.net","avatar":null},"body":"On Tue, 30 Aug 2011 08:01:44 -0400\nrobert mena <robert.mena@gmail.com> wrote:\n\n> I am trying to migrate from SVN to git and so I am looking for tools\n> that help me create an interal repository.  I currently use SVN over\n> HTTPS/Dav using the access.conf to be able to control which uses can\n> read/write to the repos or given branches.\n> \n> Ideally I am looking for tools that enable me to do the same with git.\nPossibly look at smart http protocol [1], [2].\n\nI may be wrong, but this access method cannot be used to implemet\naccess control with branch-level granularity.  If you really need this,\nuse gitolite [3].\n\n1. http://progit.org/2010/03/04/smart-http.html\n2. http://www.kernel.org/pub/software/scm/git/docs/git-http-backend.html\n3. https://github.com/sitaramc/gitolite\n"},{"id":"174548","messageId":"CAAZ43xYhFQzBVmjfnvRoboNPQ1OLtyq57=0ZL3B6p+dRWnJZ-g@mail.gmail.com","threadId":"28261","inReplyTo":"20110830162223.1cbf9f98.kostix@domain007.com","subject":"Re: Pointers to setup an internal git repository with access control","fromName":"robert mena","fromEmail":"robert.mena@gmail.com","sentAt":"2011-08-30T12:35:22Z","receivedAt":"2011-08-30T12:35:22Z","isPatch":false,"sender":{"key":"robert.mena@gmail.com","avatar":null},"body":"Hi,\n\nThanks for the reply.  I'll take a look.\n\nI don't have to use https+dav, it can be ssh as long as it is\nencrypted and I have some sort of access control.  The branches item\nis to be able to control who can merge/commit things back to, for\nexample, the trunk or whatever I call the \"live\" branch.\n\nThis way the devs can do what they want but the final merge to the\n\"live\" branch would be done after the Q&A approves.\n\nOn Tue, Aug 30, 2011 at 8:22 AM, Konstantin Khomoutov\n<flatworm@users.sourceforge.net> wrote:\n> On Tue, 30 Aug 2011 08:01:44 -0400\n> robert mena <robert.mena@gmail.com> wrote:\n>\n>> I am trying to migrate from SVN to git and so I am looking for tools\n>> that help me create an interal repository.  I currently use SVN over\n>> HTTPS/Dav using the access.conf to be able to control which uses can\n>> read/write to the repos or given branches.\n>>\n>> Ideally I am looking for tools that enable me to do the same with git.\n> Possibly look at smart http protocol [1], [2].\n>\n> I may be wrong, but this access method cannot be used to implemet\n> access control with branch-level granularity.  If you really need this,\n> use gitolite [3].\n>\n> 1. http://progit.org/2010/03/04/smart-http.html\n> 2. http://www.kernel.org/pub/software/scm/git/docs/git-http-backend.html\n> 3. https://github.com/sitaramc/gitolite\n>\n"},{"id":"174551","messageId":"20110830165937.188baae9.kostix@domain007.com","threadId":"28261","inReplyTo":"CAAZ43xYhFQzBVmjfnvRoboNPQ1OLtyq57=0ZL3B6p+dRWnJZ-g@mail.gmail.com","subject":"Re: Pointers to setup an internal git repository with access control","fromName":"Konstantin Khomoutov","fromEmail":"flatworm@users.sourceforge.net","sentAt":"2011-08-30T12:59:37Z","receivedAt":"2011-08-30T12:59:37Z","isPatch":false,"sender":{"key":"flatworm@users.sourceforge.net","avatar":null},"body":"On Tue, 30 Aug 2011 08:35:22 -0400\nrobert mena <robert.mena@gmail.com> wrote:\n\n[...]\n> I don't have to use https+dav, it can be ssh as long as it is\n> encrypted and I have some sort of access control.  The branches item\n> is to be able to control who can merge/commit things back to, for\n> example, the trunk or whatever I call the \"live\" branch.\n> \n> This way the devs can do what they want but the final merge to the\n> \"live\" branch would be done after the Q&A approves.\nGo for gitolite then.\n"},{"id":"174573","messageId":"20110830183346.GA14605@jpl.local","threadId":"28261","inReplyTo":"CAAZ43xZPsw2CnqOtb6wO7dRC1eMd0eweQ30w-wfzUHL5cqw=Yw@mail.gmail.com","subject":"Re: Pointers to setup an internal git repository with access control","fromName":"Magnus Bäck","fromEmail":"magnus.back@sonyericsson.com","sentAt":"2011-08-30T18:33:46Z","receivedAt":"2011-08-30T18:33:46Z","isPatch":false,"sender":{"key":"magnus.back@sonyericsson.com","avatar":null},"body":"On Tuesday, August 30, 2011 at 14:01 CEST,\n     robert mena <robert.mena@gmail.com> wrote:\n\n> I am trying to migrate from SVN to git and so I am looking for tools\n> that help me create an interal repository.  I currently use SVN over\n> HTTPS/Dav using the access.conf to be able to control which uses can\n> read/write to the repos or given branches.\n> \n> Ideally I am looking for tools that enable me to do the same with git.\n\nGerrit Code Review (http://code.google.com/p/gerrit/) provides\nbranch-level ACLs for both reading and writing.\n\n-- \nMagnus Bäck                   Opinions are my own and do not necessarily\nSW Configuration Manager      represent the ones of my employer, etc.\nSony Ericsson\n"}]}