This repository has been archived by the owner on Jan 31, 2019. It is now read-only.
/
redmine
56 lines (40 loc) · 2.17 KB
/
redmine
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Redmine
==========
Redmine Service has the following modules:
1. Fetch GitHub Commits
-----------------------
Notifies an instance of Redmine, a project management tool, to fetch the new commits from GitHub.
Install Notes
-------------
1. Download and install Redmine from http://redmine.org
2. Activate "Enable WS for repository management" in the global settings. While there, generate an API key (if neccessary) and copy it.
3. Set your github repository as git repository for a project.
4. Enter the full URL to your Redmine instance as well as the project's identifier and the API key.
5. Check the "Fetch GitHub Commits" option to enable the module.
6. We will then notify your Redmine whenever you do a "git push".
Note: The GitHub servers need to have access to "sys/fetch_changesets". Some older tutorials have you add a rule to your server config to
allow access to sys/ only from localhost. Since it is now possible to use an API key, this is no longer necessary.
Notifies an instance of Redmine, a project management tool, to fetch the new commits from GitHub.
2. Update Redmine Issues about related commits
----------------------------------------------
Updates an issue on Redmine, a project management tool, whenever a commit happened and is related to this issue
Commits which are related to Redmine issues are detected by matching '#IssueNo' in the commit message (i.e "fixing bug #234" is related to issue #234)
Install Notes
-------------
1. Generate API key from Redmine from My account -> API access key (Right Side Section) -> Show
3. This module requires setting Redmine url and API access Key.
4. Check the "Update Redmine Issues About Commits" option to enable the module.
Note: Evey post update on the issues will be authored by the account given the API access key
Example of the update issue post on Redmine (the output):
Commit: b44aa57a6c6c52cc20b9e396cfe3cf97bdfc2b33
https://github.com/modsaid/github-services/commit/b44aa57a6c6c52cc20b9e396cfe3cf97bdfc2b33
Author: modsaid <modsaid@example.com>
Date: 2007-10-10 (Sun, 02 Aug 2012)
Log Message:
-----------
Fix #{IssueNo}
Credits
-------
* modsaid
* basayel
http://www.espace.com.eg