{"thread":{"id":"4526","subject":"Setting up git server?","startedAt":"2006-06-15T23:19:04Z","lastAt":"2006-06-26T07:55:34Z","messageCount":2,"participants":["lamikr","Andreas Ericsson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"21861","messageId":"4491EAE8.6090009@cc.jyu.fi","threadId":"4526","inReplyTo":null,"subject":"Setting up git server?","fromName":"lamikr","fromEmail":"lamikr@cc.jyu.fi","sentAt":"2006-06-15T23:19:04Z","receivedAt":"2006-06-15T23:19:04Z","isPatch":false,"sender":{"key":"lamikr@cc.jyu.fi","avatar":null},"body":"Hi\n\nI have git-repo cloned from the linux-omap-2.6 that we have used as a\nbase for our h6300 development.\nEarlier we have kept our kernel in svn (sync between git-branches and\nsvn has happened about once in a month by using\ntraditional diff files...)\n\nI have now pulled the server to \"/repos/git/linux-omap-h6300-2.6\" and\nsetup the /etc/xinetd.d/git-daemon by using docs in\nhttp://www.kernel.org/pub/software/scm/git/docs/everyday.html\n\nHow can I now create the git url for this? For example something like\nthis: git://aragorn.kortex.jyu.fi/repos/git/linux-omap-h6300-2.6.git\n\nMika\n"},{"id":"22607","messageId":"449F92F6.7020108@op5.se","threadId":"4526","inReplyTo":"4491EAE8.6090009@cc.jyu.fi","subject":"Re: Setting up git server?","fromName":"Andreas Ericsson","fromEmail":"ae@op5.se","sentAt":"2006-06-26T07:55:34Z","receivedAt":"2006-06-26T07:55:34Z","isPatch":false,"sender":{"key":"ae@op5.se","avatar":"https://gravatar.com/avatar/426e89595c75a8f5252dd0c989e5fabe5bcac616e68557427ad9aef6b0ca342a?d=mp&s=160"},"body":"lamikr wrote:\n> Hi\n> \n> I have git-repo cloned from the linux-omap-2.6 that we have used as a\n> base for our h6300 development.\n> Earlier we have kept our kernel in svn (sync between git-branches and\n> svn has happened about once in a month by using\n> traditional diff files...)\n> \n> I have now pulled the server to \"/repos/git/linux-omap-h6300-2.6\" and\n> setup the /etc/xinetd.d/git-daemon by using docs in\n> http://www.kernel.org/pub/software/scm/git/docs/everyday.html\n> \n> How can I now create the git url for this? For example something like\n> this: git://aragorn.kortex.jyu.fi/repos/git/linux-omap-h6300-2.6.git\n> \n\n\nAssuming '/repos' is in your root directory, do\n\ntouch /repos/git/linux-omap-h6300-2.6.git/git-daemon-export-ok\n\nThis will mark the repo as allowed to export for the git-daemon, and \nthen you can tell people to pull from the url you mentioned.\n\nFor those that need push access you will need to setup ssh accounts. It \nis easier if they also pull over ssh+git, using a similar url but \nreplacing \"git://\" with \"ssh://\" (or \"git+ssh://\").\n\n-- \nAndreas Ericsson                   andreas.ericsson@op5.se\nOP5 AB                             www.op5.se\nTel: +46 8-230225                  Fax: +46 8-230231\n"}]}