プロジェクト

全般

プロフィール

Vote #63053

未完了

repository auto-update should be called on opening activity

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

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
-
開始日:
2008/04/15
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
0
issue_org_id:
1063
author_id:
812
assigned_to_id:
0
comments:
6
status_id:
1
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

Hello,

I'm using redmine with a remote svn repository, and I do get automatic repository updates on visiting the "Repository" page - but only there.

When just looking at the "Activity" page for a project, no auto-update is performed - so I don't see new changes in the repository.

So maybe '@@project.repository.fetch_changesets if Setting.autofetch_changesets?@' should be added to the ProjectsController.activity function, too?


journals

I would also like to see this feature. Maybe a patch like this would be sufficient?
--------------------------------------------------------------------------------
One small thing seems to be missing - when you want to use "Overall activity", no project is selected - so @project is Nil.

Attached is a changed patch, which checks if @project is set - not really nice, since no fetching of source changes happens then - but this is enough for me.
--------------------------------------------------------------------------------
Or you could call @Repository.fetch_changesets@ in case @@project@ is @nil@.
--------------------------------------------------------------------------------
Thats even better .. see redmine-autoupdate-v2.patch - works for me.
--------------------------------------------------------------------------------
The patch works for me, as far as it goes, but it really needs to work through subprojects too...
--------------------------------------------------------------------------------
+1. This must be integrated.
--------------------------------------------------------------------------------


related_issues

relates,New,1274,Add option to make auto-fetch changesets fetch when activity/issues are viewed

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

  • カテゴリSCM_3 にセット

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

いいね!0
いいね!0