Edgewall Software
Modify

Opened 17 years ago

Last modified 10 years ago

#6807 new enhancement

Option to skip revisions with lots of added files

Reported by: moisei Owned by:
Priority: normal Milestone: next-major-releases
Component: version control/changeset view Version:
Severity: normal Keywords: performance
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

On the real production systems with several millions LOC, it should be possible to skip the revisions that contain initial import of the sources into svn. Such a revisions could contain thousands of files and to trac it takes a hours to process such a revision, probably because of the indexing or code diff calculation.

The request is to have an option to skip such a revision, i.e. either make them invisible to trac somehow, or make trac know to take the special care of such a cases. Ideally, trac could detect such a revisions by itself and proceed according to some config. The huge revisions could be detected by the size of the revision file, for example.

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 17 years ago

Component: generalchangeset view
Milestone: 0.12
Owner: changed from Jonas Borgström to Christian Boos
Summary: Option to skip certain svn revisionsOption to skip revisions with lots of added files

With Trac 0.11, the TracFineGrainedPermissions (authz_policy style) should allow you to block some specific revisions.

Could you please have a try of this approach?

For the auto-detection part, there's already two settings that you can tweak, see TracIni#changeset-section (max_diff_…).

However, if the expensive changeset consists of only ADDed files, then this won't help. It might be worth adding a max_added_files entry, and once the number of added files is above that limit, we only show the parent folders, and not every added files.

comment:2 by Christian Boos, 14 years ago

Keywords: performance added

comment:3 by Ryan J Ollos, 10 years ago

Owner: Christian Boos removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.