You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ make install DEST_DIR=/path/to/your-git-extensions-directory
40
36
```
41
-
42
-
43
-
Place the (extracted) **git-add-msg**, **trac-service**, and **config_sample.cfg** files in ``<your-git-extensions-directory>``, and add it to your (executable) path:
37
+
* add the path to `<your-git-extensions-directory>` to your **executable path**:
44
38
```bash
45
-
export PATH="$PATH:/path/to/<your-git-extensions-directory>"#Note: no trailing slash
39
+
export PATH="$PATH:/path/to/your-git-extensions-directory"#Note: no trailing slash
46
40
```
47
41
42
+
### To uninstall:
43
+
Manually remove the following files from `<your-git-extensions-directory>`:
44
+
```
45
+
git-add-msg-config.cfg
46
+
git-add-msg-config_sample.cfg
47
+
git-add-msg
48
+
git-add-msg-trac-service
49
+
```
48
50
- - -
49
51
## Configuration
50
52
#### All users:
51
-
(OPTIONAL) Copy and save ``config_sample.cfg``as``config.cfg``. This step can be skipped (refer to note below).
53
+
(OPTIONAL) Rename ``git-add-msg-config_sample.cfg``to``git-add-msg-config.cfg`` in `<your-git-extensions-directory>`. This step can be skipped (refer to note below).
52
54
53
-
**Note**: if a ``config.cfg`` file is **not** present, it will result in a warning message being displayed when the tool is run (this can be safely ignored).
55
+
**Note**: if a ``git-add-msg-config.cfg`` file is **not** present, it will result in a warning message being displayed when the tool is run (this can be safely ignored if not using Trac).
54
56
55
57
- - -
56
58
#### Trac users only:
57
-
(1.) Update ``config.cfg`` (copied from ``config_sample.cfg``) with your Trac settings by replacing the following values:
59
+
(1.) Update ``git-add-msg-config.cfg`` (copied from ``git-add-msg-config_sample.cfg`` in `<your-git-extensions-directory>`) with your Trac settings by replacing the following values:
58
60
```
59
-
repo="no_repo_specified" # replace <no_repo_specified> with the name of your Trac repository
61
+
repo="no_repo_specified" # replace <no_repo_specified> with the **name** of your Trac repository (found in Trac under 'Administration' > 'Manage Repositories' > 'Name')
60
62
username="no_username_specified" # (as above, but with your Trac login username)
61
63
password="no_password_specified"
62
64
host="no_host_specified"
@@ -92,11 +94,6 @@ git committing...
92
94
[master e10379d] #221: updated content
93
95
1 files changed, 1 insertions(+), 0 deletions(-)
94
96
Trac ticket successfully updated.
95
-
Do you wish to view the git status?
96
-
Yes (y)
97
-
No (n)
98
-
## selected 'n'
99
-
Exiting.
100
97
```
101
98
102
99
#### Trac users:
@@ -121,6 +118,7 @@ Copyright (c) 2015 Heini Fagerlund. Licensed under the [MIT license](http://open
121
118
122
119
- - -
123
120
## Changelog
121
+
* 0.3.1 - January 29, 2018. New feature: automated installation.
124
122
* 0.2.1 - January 29, 2018. Fixed display of changeset number in auto-generated Trac link.
125
123
* 0.2.0 - January 13, 2016. Deprecated (optional) git status check.
126
124
* 0.1.4 - December 30, 2015. Fixed display of ticket update message.
0 commit comments