ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

AJAX Loading of commit information (Feature #669)


Added by Ben Cooksley at 2011-10-19 07:44 pm. Updated at 2012-04-03 06:42 pm.


Status:Open Start date:2011-10-19
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Remote issue URL: Affected version:

Description

Currently, when browsing Git repositories, if a particular directory has a large number of files, it can take some time to load the repository browser. The following attached patch is a suggested improvement to this, changing two things:

1) The use of a cache in the Git SCM backend, so repeated operations are fast
2) Loads the revision information seperately (when it is not cached)

The patch is currently only for Git - but the changes to make other backends support it as well should be fairly trivial.


file - AJAX'ification patch (9.2 kB) Ben Cooksley, 2011-10-19 07:44 pm


History

Updated by Toshi MARUYAMA at 2011-10-19 10:35 pm

Ben Cooksley wrote:

The patch is currently only for Git

Browsing performance problem is on only git.
Mercurial uses extension, so there is no problem.
I will rebase this patch on Redmine trunk.

Updated by John Daily Jr at 2012-01-06 12:42 am

This patch definitely increase load time for repository view. There is an expected delay between the page loading and displaying revision, age, author or commit details. On refresh after a period of time (i found it to be the original load time) those details are displayed.

(BTW im using CP 2.6)

Thanks!!

Updated by John Daily Jr at 2012-01-09 09:45 pm

I meant it decreases load time

John Daily Jr wrote:

This patch definitely increase load time for repository view. There is an expected delay between the page loading and displaying revision, age, author or commit details. On refresh after a period of time (i found it to be the original load time) those details are displayed.

(BTW im using CP 2.6)

Thanks!!

Updated by Ben Cooksley at 2012-01-10 01:36 am

Not a problem.

Folks, what is happening with regards to getting this reviewed and merged?

Updated by John Daily Jr at 2012-04-03 06:42 pm

I haven't had a chance to try this on CP 3.0, i'll update if I have any issues when i get around to it.

Also available in: Atom PDF