36 | | 1. CVSNT hook set-up: |
37 | | |
38 | | 1.1 Copy CvsntLoginfo.py, ProjectConfig.py and loginfo_script.py to your machine (probably the CVSNT root folder is an appropriate place). |
39 | | |
40 | | 1.2 Edit the string constants in ProjectConfig.py to match your configuration. |
41 | | |
42 | | 1.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). |
43 | | |
44 | | |
45 | | |
46 | | 2. Trac plugin set-up: |
47 | | |
48 | | 2.1 In CvsntPlugin.py modify the string constant at the begin of the CvsntRepository class to match the database file in loginfo_script.py. |
49 | | |
50 | | 2.2 Build and install the egg. |
51 | | |
52 | | 2.3 Make sure the CvsntPlugin is enabled and also the Trac CommitTicketUpdater and CommitTicketReferenceMacro. |
53 | | |
54 | | 2.4 In Trac add a repository. You now get a new type cvsnt. The directory should be the root of your CVSNT repository. |
55 | | |
| 36 | 1. CVSNT hook set-up: |
| 37 | a. Copy `CvsntLoginfo.py`, `ProjectConfig.py` and `loginfo_script.py` to your machine (probably the CVSNT root folder is an appropriate place). |
| 38 | a. Edit the string constants in `ProjectConfig.py` to match your configuration. |
| 39 | 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 | 1. Trac plugin set-up: |
| 41 | a. In `CvsntPlugin.py` modify the string constant at the begining of the `CvsntRepository` class to match the database file in `loginfo_script.py`. |
| 42 | a. Build and install the egg. |
| 43 | a. Make sure the !CvsntPlugin is enabled and also the Trac !CommitTicketUpdater and !CommitTicketReferenceMacro. |
| 44 | a. In Trac add a repository. You now get a new type cvsnt. The directory should be the root of your CVSNT repository. |