Edgewall Software

Ticket #6807 (new enhancement)

Opened 10 months ago

Last modified 10 months ago

Option to skip revisions with lots of added files

Reported by: moisei Owned by: cboos
Priority: normal Milestone: 0.13
Component: version control/changeset view Version:
Severity: normal Keywords:
Cc:

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

Change History

Changed 10 months ago by cboos

  • owner changed from jonas to cboos
  • summary changed from Option to skip certain svn revisions to Option to skip revisions with lots of added files
  • component changed from general to changeset view
  • milestone set to 0.12

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.

Add/Change #6807 (Option to skip revisions with lots of added files)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cboos. Next status will be 'new'
The owner will change from cboos to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.