Edgewall Software

Changes between Version 3 and Version 4 of TracDarcs/Cache


Ignore:
Timestamp:
Apr 22, 2009, 11:53:14 AM (15 years ago)
Author:
Christian Boos
Comment:

some reading notes

Legend:

Unmodified
Added
Removed
Modified
  • TracDarcs/Cache

    v3 v4  
    3939
    4040OTOH, if the consensum will be going with the IRepositoryChangeListener way proposed by cboos, I'll probably add the mentioned surrogate key to `darcs_changesets` anyway, to simplify TracDarcs's queries.
     41 - well, OK for the arguments about repository renaming, but I don't see how surrogate keys would help for repository additions/removals, so I think this IRepositoryChangeListener is needed anyway -- cboos
    4142
    4243== Nodes, a.k.a. the versioned tree ==
     
    8384        Column('content',type=blobtype)]
    8485}}}
     86''Tip: adding a `size` column would do wonders for enhancing browsing speed (i.e. `Darcs Node.get_content_length` would use that info if available, revert to the slower `len(self.get_content().read())` otherwise).''
    8587
    8688This could go within the `darcs_node_changes` table (see, same primary key), but for practical reason it's been kept on its own.