Project

General

Profile

Actions

Feature #2214

open

Autocreate repositories

Added by Pau Garcia i Quiles over 15 years ago. Updated over 11 years ago.

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

0%

Estimated time:
Resolution:

Description

It should be possible to automatically and immediately create repositories for projects. The current method (reposman.rb being run every so often by cron) is far from perfect.

In the project's Settings -> Repository tab there is a 'select' to choose a SCM.

Currently:
  • When the SCM is chosen (git, svn, bazaar, etc), the "repository_field_tags" method in app/helpers/repositories_helper.rb is called and creates the fields each SCM need.
  • User fills in the location of the repository (which should have been created manually) and clicks "Create"
Proposal:
  • When the SCM is chosen, show two radiobuttons: "Automatically create repository" and "Manually specify repository location" (see attached screenshot)
  • Add a "Default location for repositories" text entry to Administration -> Settings -> Repositories. This would be the directory where repositories are automatically created.
  • If user chooses "Automatically create repository", call reposman.rb and create the repository immediately in the default repository location
  • If user chooses "Manually specify repository location", do what is currently being done: call the "repository_field_tags" method in app/helpers/repositories_helper.rb, creates the fields each SCM needs, the user fills in the repository location.

Files

redmine_autocreate_repos_1.jpeg (29.6 KB) redmine_autocreate_repos_1.jpeg Pau Garcia i Quiles, 2008-11-19 11:08
redmine_autocreate_repos_2.jpeg (34.5 KB) redmine_autocreate_repos_2.jpeg Pau Garcia i Quiles, 2008-11-19 11:08
redmine_autocreate_repos_3.jpeg (45.6 KB) redmine_autocreate_repos_3.jpeg Pau Garcia i Quiles, 2008-11-19 11:08

Related issues

Related to Redmine - Feature #1833: Repository & Project ManagementNew2008-08-29

Actions
Actions

Also available in: Atom PDF