http://projects.andriylesyuk.com/http://projects.andriylesyuk.com/plugin_assets/andriy_lesyuk/images/s-andy.ico2011-06-21T15:17:07ZProjectsSCM Creator (+Github) - Feature #1793: Allow the creation of non-local repositories http://projects.andriylesyuk.com/issues/1793?journal_id=8272011-06-21T15:17:07ZAndriy Lesyuks-andy@andriylesyuk.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Incomplete</i></li></ul><p>Thank you very much for your nice feedback, Stef! <span class="wiking smiley smiley-smiley" title=":)"></span></p>
<p>Unfortunately it’s not such easy as it may seem to be... <span class="wiking smiley smiley-sad" title=":("></span></p>
<p>Actually <code>reposman.rb</code> also creates <ins>local</ins> repositories (it just runs on the server where repositories get created and adds repositories to remote Redmine). To do the opposite I will need to create a Web service for creating repos remotely...</p>
<p>SCM Creator is like a <code>reposman.rb</code> integrated into Redmine. To create repos on remote server the SCM creator will need to contact some service (e.g. web service) and provide parameters for creating a repo, then get a result and register remote repo if success.</p>
<p>So the web service (or similar) should be used... And the questions is: will users be ready to install such service (saying authenticated with keys like Redmine does for repo registration)? This can be a security issue, some Git hosts may not run web server etc... For example, you - how do you like such solution?</p>
<p>Anyway it’s a good idea to think about... So not closing the issue...</p> SCM Creator (+Github) - Feature #1793: Allow the creation of non-local repositories http://projects.andriylesyuk.com/issues/1793?journal_id=11932011-11-07T10:17:46ZAndriy Lesyuks-andy@andriylesyuk.com
<ul></ul><p>Maybe it’s possible to use SSH client... Saying config can have:</p>
<pre><code class="yaml syntaxhl"><span class="CodeRay"> <span class="key">git</span>:
<span class="key">path</span>: <span class="string"><span class="content">/var/lib/git</span></span>
<span class="key">git</span>: <span class="string"><span class="content">/usr/bin/git</span></span>
<span class="key">ssh</span>:
<span class="key">host</span>: <span class="string"><span class="content">subversion.andriylesyuk.com</span></span>
<span class="key">port</span>: <span class="string"><span class="content">22</span></span>
<span class="key">key</span>: <span class="string"><span class="content">/usr/share/redmine/config/subversion_rsa.pub</span></span>
<span class="key">username</span>: <span class="string"><span class="content">s-andy</span></span>
<span class="key">password</span>: <span class="string"><span class="content">test</span></span>
</span></code></pre>
<p>Then SCM Creator connects to the remove host and generally does the same...</p> SCM Creator (+Github) - Feature #1793: Allow the creation of non-local repositories http://projects.andriylesyuk.com/issues/1793?journal_id=11942011-11-07T10:21:21ZAndriy Lesyuks-andy@andriylesyuk.com
<ul></ul><p><a class="external" href="http://net-ssh.github.com/ssh/v2/api/index.html">http://net-ssh.github.com/ssh/v2/api/index.html</a></p> SCM Creator (+Github) - Feature #1793: Allow the creation of non-local repositories http://projects.andriylesyuk.com/issues/1793?journal_id=15102012-04-06T10:32:48ZTerence Miller
<ul></ul><p>Hi Andriy, you solutin is very good i think because ist gerneral an will work for all protocols straight forward. <br />Another way would be to support scm own remote admin tools, like svnadmin which will work from 1.7 also from remote machines. Dunno if the other scms also have such tooling embedded.<br />Anyway if scm managment is completly done by the redine server it would be fat easiert to setup and maintain. No redmine specific reposman & cron setup on scmk server beyond the scm config itsel will be needed.<br />I am voting for this great ehancemen in any way<br />Tx for contributing!</p> SCM Creator (+Github) - Feature #1793: Allow the creation of non-local repositories http://projects.andriylesyuk.com/issues/1793?journal_id=16832012-06-20T16:26:17ZTerence Miller
<ul></ul><p>any updates on this?</p> SCM Creator (+Github) - Feature #1793: Allow the creation of non-local repositories http://projects.andriylesyuk.com/issues/1793?journal_id=23522013-09-19T12:34:33ZTerence Miller
<ul></ul><p>Is this supported with new version?</p> SCM Creator (+Github) - Feature #1793: Allow the creation of non-local repositories http://projects.andriylesyuk.com/issues/1793?journal_id=23532013-09-19T13:33:33ZAndriy Lesyuks-andy@andriylesyuk.com
<ul></ul><p><a class="user active" href="http://projects.andriylesyuk.com/users/cforce">Terence Miller</a> wrote:</p>
<blockquote>
<p>Is this supported with new version?</p>
</blockquote>
<p>Not yet, sorry.</p> SCM Creator (+Github) - Feature #1793: Allow the creation of non-local repositories http://projects.andriylesyuk.com/issues/1793?journal_id=24882014-03-10T10:38:40ZMilos Kozak
<ul></ul><p>Hello, you are right with the webservice, but what about gitolite, gitosis or even gitlab? These three are the most often used ones for SSH based GIT management, so I find it worthy to consider them as the remote “webservice” in order to create remote repository..</p>
<p>I see that it limits such functionality to git only, but <span class="wiking smiley smiley-laughing" title=":D"></span></p>
<p>If you had some time I would be happy to donate for this GIT feature!</p>