プロジェクト

全般

プロフィール

Vote #80287

未完了

Add rake task which synchronize all revisions in repositories related with all active projects

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

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
32
issue_org_id:
31987
author_id:
21945
assigned_to_id:
0
comments:
8
status_id:
1
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

Hi, there.

Thank you JPL and all who contributed to improving Redmine such an excellent software.

I wrote a rake task patch changesets.rake .
This rake task synchronize all revisions in repositories which related with all active projects.
It is useful when some user mistake to write commit-comment for repository.

  • Use Case ## Refs # <- forgot to write issue_id and/or comment. ## Refs #xxxxx <- wrong issue_id ## <- forgot to write commit

I know Redmine has a feature to add a reference between issue and commit on web pages.
But it does not cover all case, and a bunch of mistakes by a thousand of users on a hundred repositories.
Also when i disconnect and reconnect between active project and repository, those additional reference above will be lost.

Even i fix wrong comments on repository, but it will not sync to redmine repository tab and issue reference.
So, i think it would be nice if i have a synchronize rake task.

( @kou assisted me for writing this patch. Thanks @kou. )


journals

--------------------------------------------------------------------------------
Removing the assignee and the target version for now :)
--------------------------------------------------------------------------------
oh, my mistakes.
Could you delete issue relation, please?
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Thanks again.
--------------------------------------------------------------------------------
I re-upload the patch.
Fix a bug: Repository history synchronize will be ignored when issue keywords count in changeset N to 0.
--------------------------------------------------------------------------------
Updated the patch.

* Renamed existing @redmine:fetch_changesets@ to @redmine:changesets:fetch@ in order to improve consistency
* Added Copyright header
* Fixed RuboCop offences
--------------------------------------------------------------------------------

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


related_issues

relates,New,7959,Patch for repository revision update (reload)

Admin Redmine さんがほぼ4年前に更新

  • カテゴリSCM_3 にセット
  • 対象バージョンCandidate for next major release_32 にセット

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

いいね!0
いいね!0