Changes between Version 2 and Version 3 of TighterSubversionIntegration
- Timestamp:
- Nov 24, 2004, 3:09:02 PM (20 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TighterSubversionIntegration
v2 v3 3 3 == Motivation == 4 4 5 Trac is not a versioning system, but it allows developers to use one effectively. 5 Trac is not a versioning system, but it allows developers to use 6 one effectively. 6 7 7 Nevertheless, Trac has its own versioning needs for its data. 8 That would be useful for managing attachments. 9 That's also true for the Wiki page content in the current Trac 10 and that would be true for any Trac object in the the TracObjectModelProposal. 8 Nevertheless, Trac has its own versioning needs for its data: 9 * Wiki content versioning (for Wiki pages, ticket descriptions,... 10 actually the TracObjectModelProposal shows that there 11 would be a wiki content for any Trac object) 12 * Versioning attachments. 11 13 12 If one takes for granted the underlying versioning system, 13 why not use it for that task instead of having to implement 14 Currently, it is done that way: 15 * Each edit of a wiki page corresponds to a new database 16 record with the full content of the page 17 * Attachments are put on the file system, and repeated upload 18 leads to a new copy with a version number appended 19 20 If one takes for granted the presence of an 21 underlying versioning system (currently Subversion, but 22 there's discussion about other systems in VersioningSystemBackend), 23 why not use this one for that task instead of having to implement 14 24 an ad-hoc versioning scheme? 15 25 16 26 That would: 17 * provide better diffs than what we have now27 * provide better (smaller) diffs than what we have now 18 28 * need a smaller memory footprint (each version of each wiki page 19 29 would not have to be stored in its full extent, only the diffs) … … 21 31 * enable the users to directly interact with the Trac content, 22 32 instead of having only the Trac web interface: 23 * theycould edit the wiki content with a text editor,33 * users could edit the wiki content with a text editor, 24 34 as they would do with a normal repository file 25 * they could do some refactorings on the Wiki content (renamings,26 fixing some pervasive typographical error, etc. )27 * they could directly add attachments to Trac object35 * users could do some refactorings on the Wiki contenT: renamings, 36 fixing some pervasive typographical error, etc. (see #566) 37 * users could directly add attachments to Trac objects 28 38 29 39 Another feature that would be possible is to redirect a Wiki page … … 36 46 This Wiki redirection would be quite simple to implement: 37 47 the content would be a TracLinks pointing to a specific file 38 in the repository. Actually, that's similar to the TicketAliases idea (See ticket #xxx). 48 in the repository. 49 Actually, that's similar to the TicketAliases idea (See #976). 39 50 40 51 The same for attachments: any file from the repository could be