Edgewall Software

Changes between Version 2 and Version 3 of TighterSubversionIntegration


Ignore:
Timestamp:
Nov 24, 2004, 3:09:02 PM (20 years ago)
Author:
cboos@…
Comment:

Explain better the current situation and needs

Legend:

Unmodified
Added
Removed
Modified
  • TighterSubversionIntegration

    v2 v3  
    33== Motivation ==
    44
    5 Trac is not a versioning system, but it allows developers to use one effectively.
     5Trac is not a versioning system, but it allows developers to use
     6one effectively.
    67
    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.
     8Nevertheless, 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.
    1113
    12 If one takes for granted the underlying versioning system,
    13 why not use it for that task instead of having to implement
     14Currently, 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
     20If one takes for granted the presence of an
     21underlying versioning system (currently Subversion, but
     22there's discussion about other systems in VersioningSystemBackend),
     23why not use this one for that task instead of having to implement
    1424an ad-hoc versioning scheme?
    1525
    1626That would:
    17  * provide better diffs than what we have now
     27 * provide better (smaller) diffs than what we have now
    1828 * need a smaller memory footprint (each version of each wiki page
    1929   would not have to be stored in its full extent, only the diffs)
     
    2131 * enable the users to directly interact with the Trac content,
    2232   instead of having only the Trac web interface:
    23    * they could edit the wiki content with a text editor,
     33   * users could edit the wiki content with a text editor,
    2434     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 object
     35   * 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
    2838
    2939Another feature that would be possible is to redirect a Wiki page
     
    3646This Wiki redirection would be quite simple to implement:
    3747the 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).
     48in the repository.
     49Actually, that's similar to the TicketAliases idea (See #976).
    3950
    4051The same for attachments: any file from the repository could be