JOT 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +9 -12
- data/VERSION +1 -1
- data/bin/JOT +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -1,25 +1,22 @@
|
|
1
1
|
# ABOUT
|
2
|
-
This is a
|
2
|
+
This is a Ruby script that uses SOAP to retrieve issues from a JIRA instance and pumps them into
|
3
3
|
a customizable ERB template.
|
4
4
|
|
5
5
|
# TESTED ON
|
6
6
|
|
7
|
-
* Ruby 1.8.7 on Mac OSX Snow Leopard.
|
7
|
+
* Ruby 1.8.7 on Mac OSX Snow Leopard and Lion.
|
8
8
|
* Ruby 1.8.6 on Fedora 13 64bit
|
9
9
|
|
10
10
|
# INSTALLING
|
11
|
-
1. Ensure Ruby
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
4. Unzip it where you want it to go. Make sure you unzip into a directory so you don't end up with files everywhere.
|
16
|
-
4. Optionally add the new directory you created to your PATH, `PATH=$PATH:~/scripts/JOT/`
|
17
|
-
5. Make the `JOT.rb` file executable, `[localhost]$ chmod +x JOT.rb`
|
11
|
+
1. Ensure Ruby and RubyGems are installed
|
12
|
+
* On Fedora installing RubyGems will install Ruby as a dependency:
|
13
|
+
`[localhost ]$ sudo yum install rubygems`
|
14
|
+
2. Install JOT: `[localhost ]$ sudo gem install JOT`
|
18
15
|
|
19
16
|
# RUNNING
|
20
|
-
Run `JOT
|
17
|
+
Run `JOT` and specify arguments as required. Not rocket science.
|
21
18
|
|
22
|
-
JOT
|
19
|
+
JOT [options]
|
23
20
|
-s, --security Retrieve security levels. Slow, dont do it unless necessary
|
24
21
|
-t, --template FILE template to use
|
25
22
|
-u, --username USERNAME JIRA username
|
@@ -27,7 +24,7 @@ Run `JOT.rb` and specify arguments as required. Not rocket science.
|
|
27
24
|
-f, --filter FILTER JIRA filter
|
28
25
|
-h, --help Display this screen
|
29
26
|
|
30
|
-
E.g. : `[localhost]$ JOT
|
27
|
+
E.g. : `[localhost]$ JOT -u joe -p jf84hjf -f "Unresolved JIRAs for 4.8" -t overdue_issues_report.erb`
|
31
28
|
|
32
29
|
The error handling for the parameters is pretty terrible right now.
|
33
30
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.3
|
data/bin/JOT
CHANGED
@@ -72,7 +72,7 @@ def processCommandLine
|
|
72
72
|
options = {}
|
73
73
|
|
74
74
|
optparse = OptionParser.new do |opts|
|
75
|
-
opts.banner = "JOT
|
75
|
+
opts.banner = "JOT [options]"
|
76
76
|
|
77
77
|
options[:getSecurityLevels] = false
|
78
78
|
opts.on( '-s', '--security', 'Retrieve security levels. Slow, don''t do it unless necessary' ) do
|
metadata
CHANGED