Changes between Version 8 and Version 9 of TracCvsntIntegrationPlugin
- Timestamp:
- Feb 15, 2017, 9:13:45 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracCvsntIntegrationPlugin
v8 v9 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = CVSNT Plugin forTrac3 = Integrate CVSNT with Trac 4 4 5 5 == Description 6 6 7 This experimental plugin integrates CVSNT and Trac. CVSNT is a version of CVS for Windows.7 This experimental plugin integrates CVSNT and Trac. [wikipedia:CVSNT CVSNT] is a version of CVS for Windows and licensed under GPL. 8 8 9 9 This plugin 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. … … 38 38 a. Copy `CvsntLoginfo.py`, `ProjectConfig.py` and `loginfo_script.py` to your machine, probably the CVSNT root folder is an appropriate place. 39 39 a. Edit the string constants in `ProjectConfig.py` to match your configuration. 40 a. 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 a. Modify the CVSNT loginfo hook so it will call python to run `loginfo_script.py`. Note that the hook runs in an empty environment, so you require full path names. 41 41 1. Trac plugin set-up: 42 a. In `CvsntPlugin.py` modify the string constant at the begin ing of the `CvsntRepository` class to match the database file in `loginfo_script.py`.42 a. In `CvsntPlugin.py` modify the string constant at the beginning of the `CvsntRepository` class to match the database file in `loginfo_script.py`. 43 43 a. Build and install the egg. 44 44 a. Make sure the !CvsntPlugin is enabled and also the Trac !CommitTicketUpdater and !CommitTicketReferenceMacro. 45 45 a. In Trac add a repository. You now get a new type cvsnt. The directory should be the root of your CVSNT repository. 46 46 47 You should be all set now . Commit a file and see what happens.47 You should be all set now to commit a file to CVSNT. 48 48 49 49 == Recent Changes