Feature #23868

Automatically link a project to several repositories

Added by Vincent Robert almost 6 years ago. Updated almost 4 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SCM extra
Target version:-
Resolution:

Description

Hi
I wanted to use the extra/svn/reposman.rb script in order to automatically generate both svn and git repositories on every new project.
But current scripts cancel the creation of every new repo as soon as one is already present.

I think these scripts (particularly the create_project_repository action in sys_controller) should check current repositories and let us create a new repository if the type (svn, git, etc.) is different.

Thank you


Related issues

Related to Redmine - Defect #18479: Can't use reposman.rb to create both git and svn reposito... New

History

#1 Updated by Vincent Robert almost 6 years ago

I have just seen I am not the first trying to do this: #18479

#2 Updated by Toshi MARUYAMA almost 6 years ago

  • Related to Defect #18479: Can't use reposman.rb to create both git and svn repositories added

#3 Updated by Anonymous almost 4 years ago

+1 Not just create, but
  • Maybe give a button to create a new linked local repository when adding it to a project, where Redmine would also automatically add users, who are listed in the project as participants with commit permissions issued via Redmine (have users linked). I think OpenProject actually had it implemented like that.
  • Also a button to remove the created repository upon un-link from the project which would erase the repo completely.
  • Enable the Redmine administrators to be able to manage the repositories from the Redmine website itself (giving more control by adding some sort of repo control panel), like reverts, branch merging and etc, ditching the need of using CLI, Turtoise SVN or anything else third party when unnecessary.
  • At some point maybe the ability to create the new and edit the existing files via Redmine itself like on GitLab.
  • Display Readme.md somewhere.

#4 Updated by Wim Bertels almost 4 years ago

  • both repos do get created
  • but only one gets registered in redmine (that is the problem)
    • in the repositories table
    • (unfortunately it also updates the tokens table which makes it more difficult)
    • registered: as you would do manually through the settings tab

Also available in: Atom PDF