Project

General

Profile

Actions

Feature #1063

open

repository auto-update should be called on opening activity

Added by Eike Bernhardt almost 16 years ago. Updated about 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2008-04-15
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

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?


Files

autofetch_commits_for_activity.patch (839 Bytes) autofetch_commits_for_activity.patch Luca Pireddu, 2008-05-07 17:53
redmine-autoupdate.diff (842 Bytes) redmine-autoupdate.diff Eike Bernhardt, 2008-05-21 18:24
redmine-autoupdate-v2.patch (945 Bytes) redmine-autoupdate-v2.patch Eike Bernhardt, 2008-05-22 10:17

Related issues

Related to Redmine - Feature #1274: Add option to make auto-fetch changesets fetch when activity/issues are viewedNew2008-05-21

Actions
Actions #1

Updated by Luca Pireddu almost 16 years ago

I would also like to see this feature. Maybe a patch like this would be sufficient?

Actions #2

Updated by Eike Bernhardt almost 16 years ago

One small thing seems to be missing - when you want to use "Overall activity", no project is selected - so Herve Harster is Nil.

Attached is a changed patch, which checks if Herve Harster is set - not really nice, since no fetching of source changes happens then - but this is enough for me.

Actions #3

Updated by Thomas Löber almost 16 years ago

Or you could call Repository.fetch_changesets in case @project is nil.

Actions #4

Updated by Eike Bernhardt almost 16 years ago

Thats even better .. see redmine-autoupdate-v2.patch - works for me.

Actions #5

Updated by Nick Phillips over 14 years ago

The patch works for me, as far as it goes, but it really needs to work through subprojects too...

Actions #6

Updated by Dipan Mehta about 11 years ago

+1. This must be integrated.

Actions

Also available in: Atom PDF