Feature #23868
open
Automatically link a project to several repositories
Added by Vincent Robert about 8 years ago.
Updated about 6 years ago.
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
I have just seen I am not the first trying to do this: #18479
- Related to Defect #18479: Can't use reposman.rb to create both git and svn repositories added
+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.
- 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