Re: [Lxr-dev] Tag "head" in its timeline (was: /bin/true as a zombie)
Brought to you by:
ajlittoz
From: Per K. G. <pe...@if...> - 2001-08-02 06:42:31
|
* Malcolm Box | >I have been thinking about this as well. The ideal situation would be | >if it was a way to index every revision of every file. It would then | >be possible to select which version of a file to view, independently | > from the version tags. | I'm not convinced this would work well on heavily used repositories - | many of the versions checked in will have little or no lasting value, | so indexing them would simply eat up space with no benefit. Since a | release is automatically something that people care about (else it | wouldn't have been a release), simply indexing the releases seems to | me to make more sense. The linux code testbed for the lxr is atypical | here, since the indexer is not running off the real Linux development | repository. So all versions of the files in the CVS repository are | created by importing releases, resulting in all versions needing to be | indexed. This is certainly not true of other users of the lxr who run | it against a live development repository. That is true. What we should probably do is to have some sort of utility that can remove unwanted revisions from the database. I think it should be up to the user to decide how and when this deletion should be done. One option could be to keep all revisions newer than the last version for instance. One of my motives for this is to enable lxr to implement (or merge in) the features of both cvsweb and bonsai. Per Kristian |