Skip to content
This repository was archived by the owner on Jan 31, 2019. It is now read-only.

Commit 1d8dd30

Browse files
author
John Haley
committed
Added /docs/ontime
1 parent 56efa0a commit 1d8dd30

File tree

2 files changed

+51
-3
lines changed

2 files changed

+51
-3
lines changed

docs/github_payload

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"repository" => {
2323
"name" => "grit",
2424
"url" => "http://github.com/mojombo/grit",
25-
"owner" => { "name" => "mojombo", "email" => "tom@mojombo.com" }
25+
"owner" => { "name" => "mojombo", "email" => "Cathy.Oreilly@mycompany.com" }
2626
},
2727

2828
"pusher" => {
@@ -33,12 +33,12 @@
3333
{
3434
"distinct" => true,
3535
"removed" => [],
36-
"message" => "[#WEB-249 status:31 resolution:1] stub git call for Grit#heads test[otd 2]",
36+
"message" => "[#WEB-249 status:31 resolution:1] stub git call for Grit#heads test[otd 2 wl:5 hours]",
3737
"added" => [],
3838
"timestamp" => "2007-10-10T00:11:02-07:00",
3939
"modified" => ["lib/grit/grit.rb", "test/helper.rb", "test/test_grit.rb"],
4040
"url" => "http://github.com/mojombo/grit/commit/06f63b43050935962f84fe54473a7c5de7977325",
41-
"author" => { "name" => "Tom Preston-Werner", "email" => "tom@mojombo.com" },
41+
"author" => { "name" => "Tom Preston-Werner", "email" => "cathy.oreilly@mycompany.com", "username" => "cathyo"},
4242
"id" => "06f63b43050935962f84fe54473a7c5de7977325"
4343
},
4444
{

docs/ontime

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
OnTime GitHub Integration
2+
=========================
3+
4+
Install Notes
5+
-------------
6+
7+
In order to properly configure OnTime and GitHub to work together a few settings have to be configured.
8+
9+
1. Log into your OnTime v11.0.2+ installation as the Administrator or with a user that has System Options privledges.
10+
11+
2. Open up "System Options" under the "Tools" menu and then go to the "API Security Settings" option in the left pane.
12+
13+
3. Make sure that "Enable GitHub Integration" is checked and that an API Key exists. If it doesn't then click "Generate a New API Key" to make one
14+
15+
4. Copy the API key and paste that into the OnTime service hook in your GitHub repository.
16+
17+
NOTE: If you have a non-hosted installation of OnTime your installation must have access to the internet. Hosted accounts already have internet access.
18+
19+
Usage
20+
-----
21+
22+
When entering in commit messages in Git, any message that contains a specially formatted OnTime tag will attempted to be linked to the respective OnTime item. The tag is formatted as follows:
23+
24+
[otx id# (wl: # timeunit)]
25+
26+
* Where the x in otx can be:
27+
* d for defects (i.e. otd)
28+
* f for features (i.e. otf)
29+
* t for tasks (i.e. ott)
30+
* id# is the id number of the item that the commit links to
31+
* wl: # timeunit is optional. When provided it will add a worklog entry to that item after the commit is pushed to github.
32+
* # is some non-negative real number
33+
* timeunit is a valid timeunit that is used in your installation, either fully spelled or abbreviated with respect to your OnTime timeunit pick list configuration
34+
35+
A few examples of valid tags (assuming you have hours as a timeunit in OnTime and it's abbreviated spelling is 'hrs'):
36+
37+
* [otd 45]
38+
* [otf 2]
39+
* [otf 823 wl: 5 hours]
40+
* [ott 92 wl: 8.3 hrs]
41+
42+
Developer Notes
43+
---------------
44+
45+
data
46+
- ontime_url
47+
- api_key
48+

0 commit comments

Comments
 (0)