diff options
author | 2007-01-26 00:03:41 +0000 | |
---|---|---|
committer | 2007-01-26 00:03:41 +0000 | |
commit | d870b95f74b91d3fe1d966ddc0365d34d9145af6 (patch) | |
tree | 46b1eec026f2a412a4807503cf6d52f1dd5a9e8b | |
parent | Added jetty stuff (diff) | |
download | nichoj-d870b95f74b91d3fe1d966ddc0365d34d9145af6.tar.gz nichoj-d870b95f74b91d3fe1d966ddc0365d34d9145af6.tar.bz2 nichoj-d870b95f74b91d3fe1d966ddc0365d34d9145af6.zip |
Updates to account for drift in file locations.
svn path=/; revision=93
-rwxr-xr-x | projects/devdashboard/devdashboard.rb | 4 | ||||
-rw-r--r-- | projects/devdashboard/herds.rb | 2 | ||||
-rwxr-xr-x | projects/devdashboard/planetiniparser.rb | 32 | ||||
-rw-r--r-- | projects/devdashboard/userinfo.rb | 2 |
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 |