Patch #31987

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

Added by Kuniharu AKAHANE 3 months ago. Updated 3 months ago.

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

0%

Category:SCM
Target version:Candidate for next major release

Description

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
    1. Refs # <- forgot to write issue_id and/or comment.
    2. Refs #xxxxx <- wrong issue_id
    3. <- 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. )

changesets.rake.patch Magnifier (2.04 KB) Kuniharu AKAHANE, 2019-08-31 07:19


Related issues

Related to Redmine - Feature #1273: Need a way to re-sync repository history New 2008-05-21

History

#1 Updated by Kuniharu AKAHANE 3 months ago

  • Copied from Patch #31498: Add redmine_plugin_migration generator added

#2 Updated by Go MAEDA 3 months ago

  • Subject changed from Add rake task which synchronize all revisions in repositories related with all active projects. to Add rake task which synchronize all revisions in repositories related with all active projects
  • Assignee deleted (Go MAEDA)
  • Target version changed from 4.1.0 to Candidate for next major release

Removing the assignee and the target version for now :)

#3 Updated by Kuniharu AKAHANE 3 months ago

oh, my mistakes.
Could you delete issue relation, please?

#4 Updated by Go MAEDA 3 months ago

  • Copied from deleted (Patch #31498: Add redmine_plugin_migration generator)

#5 Updated by Kuniharu AKAHANE 3 months ago

Thanks again.

#6 Updated by Go MAEDA 2 months ago

  • Related to Feature #1273: Need a way to re-sync repository history added

Also available in: Atom PDF