Project

General

Profile

Actions

Patch #1783

open

automatic repository creation

Added by pietro abate over 15 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2008-08-13
Due date:
% Done:

0%

Estimated time:

Description

Hello everybody. This is my first patch. Be nice. I'm a ruby, rails and redmine newbie.

The patch attached (generated from git following [1]) adds the ability for the
project manager to decide weather to specify an external repository, or to
have one automatically created for him/her on the hosting site.

I've added a new script repomangen that works exactly as repoman, but ideally
for all kind of scm.

In the process I think I've also found a bug in app/controllers/sys_controller.rb
but since I'm not really sure that it's really a bug I'm bundling everything together.

I think this patch still needs some love, but I'd love to see it upstream, or at least
for testing, in John Goerzen git repo.

Comments are welcome.

[1]http://www.redmine.org/wiki/1/RedmineGitTracking


Files

autorepo.diff (17.4 KB) autorepo.diff pietro abate, 2008-08-13 16:42

Related issues

Related to Redmine - Patch #986: Clone remote git repositoryClosed2008-04-03

Actions
Related to Redmine - Feature #6892: Automatic repository creation.New2010-11-15

Actions
Actions #1

Updated by Nicolas Chuche over 15 years ago

The patch attached (generated from git following [1]) adds the ability for the
project manager to decide weather to specify an external repository, or to
have one automatically created for him/her on the hosting site.

Done in trunk. In reposman of trunk if you add a project without a repository reposman will create it else reposman do nothing. There's no autocreate button for the moment to keep it simple (an empty repository cost almost nothing in space).

There's no way for the moment to specify the kind of repository you want. I'm not sure that's many people are interested in such feature and I would like to work on other part for the moment (like accessing distant git repository through a local clone made by redmine)

I've added a new script repomangen that works exactly as repoman, but ideally
for all kind of scm.

I've worked on something like that, it's commited in trunk. Git is handled natively and you can use external script for other SCM.

In the process I think I've also found a bug in app/controllers/sys_controller.rb
but since I'm not really sure that it's really a bug I'm bundling everything together.

Yes, fixed in trunk.

I think this patch still needs some love, but I'd love to see it upstream, or at least
for testing, in John Goerzen git repo.

Comments are welcome.

[1]http://www.redmine.org/wiki/1/RedmineGitTracking

Actions

Also available in: Atom PDF