Changes between Initial Version and Version 1 of TracCvsntIntegrationPlugin


Ignore:
Timestamp:
Oct 5, 2011, 7:50:54 PM (13 years ago)
Author:
j98789@hotmail.com
Comment:

New hack TracCvsntIntegrationPlugin, created by j98789

Legend:

Unmodified
Added
Removed
Modified
  • TracCvsntIntegrationPlugin

    v1 v1  
     1[[PageOutline(2-5,Contents,pullout)]]
     2
     3= CVSNT Plugin for Trac =
     4
     5== Description ==
     6
     7This experimental plugin is my attempt to integrate CVSNT and Trac. My configuration is CVSNT v2.0.51c and the latest Trac 0.13 trunk on the same WinXP machine.
     8
     9It consists of a loginfo hook script for CVSNT and a plugin for Trac. The loginfo hook script creates a changeset database dedicated for this integration. Then it calls trac-admin to add the changeset. The Trac plugin provides a CVSNT repository that gets the change info from this new database.
     10
     11The changesets appear in the Timeline and Tickets get updated (of course depending on the commit log message).
     12
     13The CVSNT repository does not (yet) support the source browser.
     14
     15== Bugs/Feature Requests ==
     16
     17Existing bugs and feature requests for TracCvsntIntegrationPlugin are
     18[report:9?COMPONENT=TracCvsntIntegrationPlugin here].
     19
     20If you have any issues, create a
     21[http://trac-hacks.org/newticket?component=TracCvsntIntegrationPlugin&owner=j98789 new ticket].
     22
     23== Download ==
     24
     25Download the zipped source from [download:traccvsntintegrationplugin here].
     26
     27== Source ==
     28
     29You can check out TracCvsntIntegrationPlugin from [http://trac-hacks.org/svn/traccvsntintegrationplugin here] using Subversion, or [source:traccvsntintegrationplugin browse the source] with Trac.
     30
     31== Example ==
     32
     331. CVSNT hook set-up:
     34
     351.1 Copy CvsntLoginfo.py and loginfo_script.py to your machine (probably the CVSNT root folder is an appropriate place).
     36
     371.2 Edit the string constants at the top of loginfo_script.py to match your configuration.
     38
     391.3 Modify the CVSNT loginfo hook so it will call python to run loginfo_script.py (not that the hook runs in an empty environment so you require full path names).
     40
     41
     42
     432. Trac plugin set-up:
     44
     452.1 In CvsntPlugin.py modify the string constant at the begin of the CvsntRepository class to match the database file in loginfo_script.py.
     46
     472.2 Build and install the egg.
     48
     492.3 Make sure the CvsntPlugin is enabled and also the Trac CommitTicketUpdater and CommitTicketReferenceMacro.
     50
     512.4 In Trac add a repository. You now get a new type cvsnt. The directory should be the root of your CVSNT repository.
     52
     53
     54You should be all set now. Commit a file and see what happens.
     55
     56== Recent Changes ==
     57
     58[[ChangeLog(traccvsntintegrationplugin, 3)]]
     59
     60== Author/Contributors ==
     61
     62'''Author:''' [wiki:j98789] [[BR]]
     63'''Maintainer:''' [wiki:j98789] [[BR]]
     64'''Contributors:'''