Patch #1783
openautomatic repository creation
0%
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
Related issues
Updated by Nicolas Chuche about 16 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