プロジェクト

全般

プロフィール

Vote #77817

未完了

Automatically link a project to several repositories

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
SCM extra_46
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
46
version_id:
0
issue_org_id:
23868
author_id:
88801
assigned_to_id:
0
comments:
4
status_id:
1
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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


journals

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

--------------------------------------------------------------------------------
+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

--------------------------------------------------------------------------------


related_issues

relates,New,18479,Can't use reposman.rb to create both git and svn repositories

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0