summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xprojects/devdashboard/devdashboard.rb4
-rw-r--r--projects/devdashboard/herds.rb2
-rwxr-xr-xprojects/devdashboard/planetiniparser.rb32
-rw-r--r--projects/devdashboard/userinfo.rb2
4 files changed, 20 insertions, 20 deletions
diff --git a/projects/devdashboard/devdashboard.rb b/projects/devdashboard/devdashboard.rb
index a0d57f4..ce5718c 100755
--- a/projects/devdashboard/devdashboard.rb
+++ b/projects/devdashboard/devdashboard.rb
@@ -24,8 +24,8 @@ include ProjectHelper
developers = UserInfo.indexUsers()
-herds = Herds.indexHerds(developers)
-projects = ProjectHelper.indexProjects(developers)
+#herds = Herds.indexHerds(developers)
+#projects = ProjectHelper.indexProjects(developers)
PlanetIniParser.updateDevs(developers)
diff --git a/projects/devdashboard/herds.rb b/projects/devdashboard/herds.rb
index e8dec6b..b1606a5 100644
--- a/projects/devdashboard/herds.rb
+++ b/projects/devdashboard/herds.rb
@@ -12,7 +12,7 @@ module Herds
end
def Herds.indexHerds(developers)
- herdsxml = '/local/home/checkouts/gentoo-website/xml/htdocs/proj/en/metastructure/herds/herds.xml'
+ herdsxml = '/home/nichoj/checkouts/gentoo-website/xml/htdocs/proj/en/metastructure/herds/herds.xml'
file = File.new(herdsxml)
doc = Document.new(file)
root = doc.root
diff --git a/projects/devdashboard/planetiniparser.rb b/projects/devdashboard/planetiniparser.rb
index 72de77d..ca22afc 100755
--- a/projects/devdashboard/planetiniparser.rb
+++ b/projects/devdashboard/planetiniparser.rb
@@ -13,22 +13,22 @@ module PlanetIniParser
url = $1
next if url == "Planet" or url == "DEFAULT"
- data = {}
- while line = file.gets do
- line.chomp!
- break if line == ""
- line =~ /(.*) = (.*)/
- data[$1] = $2
- end
-
- developer = developers["#{data['username']}@gentoo.org"]
- unless developer.nil?
- unless data['face'].nil?
- developer.hackergotchi = "http://planet.gentoo.org/images/#{data['face']}"
- end
-
- developer.blogRss = url
- end
+# data = {}
+# while line = file.gets do
+# line.chomp!
+# break if line == ""
+# line =~ /(.*) = (.*)/
+# data[$1] = $2
+# end
+#
+# developer = developers["#{data['username']}@gentoo.org"]
+# unless developer.nil?
+# unless data['face'].nil?
+# developer.hackergotchi = "http://planet.gentoo.org/images/#{data['face']}"
+# end
+#
+# developer.blogRss = url
+# end
end
end
end
diff --git a/projects/devdashboard/userinfo.rb b/projects/devdashboard/userinfo.rb
index 9f71223..b875de8 100644
--- a/projects/devdashboard/userinfo.rb
+++ b/projects/devdashboard/userinfo.rb
@@ -35,7 +35,7 @@ module UserInfo
end
def UserInfo.getRoot()
- file = File.new('/local/home/checkouts/gentoo-website/xml/htdocs/proj/en/devrel/roll-call/userinfo.xml')
+ file = File.new('/home/nichoj/checkouts/gentoo/xml/htdocs/proj/en/devrel/roll-call/userinfo.xml')
doc = Document.new(file)
return doc.root