public
Fork of shayarnett/trachouse
Description: Trac to Lighthouse ticket importer.
Homepage: http://shayarnett.com/trachouse
Clone URL: git://github.com/JackDanger/trachouse.git
Search Repo:
changing docs
shayarnett (author)
Thu Apr 03 17:13:17 -0700 2008
commit  1448eb469530d754ec720738264785c115d9d8d2
tree    b6125761ca0f6758f1bd2ef90a68e12c1cdf77ed
parent  dc00d27929d80b5fabc26f20787b2fee491bf5a1
0
...
1
2
3
 
 
 
4
 
 
 
5
6
7
...
1
 
 
2
3
4
5
6
7
8
9
10
11
0
@@ -1,7 +1,11 @@
0
 Trachouse v1.0.0
0
-Trac to LightHouse ticket converter
0
-Author: Shay Arnett http://shayarnett.com
0
+Trac to Lighthouse ticket importer
0
+Author: Shay Arnett
0
+Website: http://shayarnett.com/trachouse (soonish)
0
 Email: shayarnett@gmail.com
0
+
0
+You will need to obtain a copy of lighthouse.rb from the Lighthouse API
0
+http://forum.activereload.net/forums/6/topics/44
0
 
0
 Please read all commented sections, as most have something you will need to change directly below it
0
 
...
1
2
3
 
 
 
4
5
 
 
 
 
 
6
7
8
9
10
11
12
13
14
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
17
18
19
20
21
...
23
24
25
26
27
28
29
30
...
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
...
48
49
50
 
 
51
52
53
0
@@ -1,21 +1,46 @@
0
 # Trachouse v1.0.0
0
-# Trac to LightHouse ticket converter
0
-# Author: Shay Arnett http://shayarnett.com
0
+# Trac to Lighthouse ticket importer
0
+# Author: Shay Arnett
0
+# Website: http://shayarnett.com/trachouse (soonish)
0
 # Email: shayarnett@gmail.com
0
 #
0
+# You will need to obtain a copy of Lighthouse.rb from the Lighthouse API
0
+# http://forum.activereload.net/forums/6/topics/44
0
+#
0
+# Please read all commented sections, as most have something you
0
+# will need to change directly below it
0
 #
0
-#
0
-# Please read all commented sections, as most have something you will need to change directly below it
0
-#
0
 # USE:
0
 #
0
 # @tickets = populate_tickets # grabs all tickets from trac
0
 # import_tickets(@tickets) # import tickets to lighthouse
0
 # # profit
0
-# # you may want to inspect @tickets or only import a couple of tickets to verify format before processing all tickets
0
+# # you may want to inspect @tickets or only import a couple of
0
+# # tickets to verify format before processing all tickets
0
+#
0
+# Copyright (c) 2008 Shay Arnett
0
+#
0
+# Permission is hereby granted, free of charge, to any person
0
+# obtaining a copy of this software and associated documentation
0
+# files (the "Software"), to deal in the Software without
0
+# restriction, including without limitation the rights to use,
0
+# copy, modify, merge, publish, distribute, sublicense, and/or sell
0
+# copies of the Software, and to permit persons to whom the
0
+# Software is furnished to do so, subject to the following
0
+# conditions:
0
+#
0
+# The above copyright notice and this permission notice shall be
0
+# included in all copies or substantial portions of the Software.
0
+#
0
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
0
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
0
+# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
0
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
0
+# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
0
+# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0
+# OTHER DEALINGS IN THE SOFTWARE.
0
 
0
-
0
-
0
 require 'Rubygems'
0
 require 'hpricot'
0
 require 'open-uri'
0
@@ -23,8 +48,6 @@
0
 require 'activesupport'
0
 require 'activeresource'
0
 require 'lighthouse'
0
-require "cgi"
0
-require "pp"
0
 
0
 
0
 class Ticket < ActiveResource::Base

Comments

    No one has commented yet.