summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'projects/devdashboard/developer.rb')
-rw-r--r--projects/devdashboard/developer.rb16
1 files changed, 14 insertions, 2 deletions
diff --git a/projects/devdashboard/developer.rb b/projects/devdashboard/developer.rb
index 82e0766..ea7bd40 100644
--- a/projects/devdashboard/developer.rb
+++ b/projects/devdashboard/developer.rb
@@ -4,8 +4,8 @@ require 'rss/2.0'
require 'open-uri'
class Developer
- attr_reader :name, :handle, :blogRss, :pgpkey, :email, :joined, :birthday, :roles, :location, :herds, :hackergotchi
- attr_writer :name, :handle, :blogRss, :pgpkey, :email, :joined, :birthday, :roles, :location, :herds, :hackergotchi
+ attr_reader :name, :handle, :blogRss, :pgpkey, :email, :joined, :birthday, :roles, :location, :herds, :hackergotchi, :forumsHandle, :documentation
+ attr_writer :name, :handle, :blogRss, :pgpkey, :email, :joined, :birthday, :roles, :location, :herds, :hackergotchi, :forumsHandle, :documentation
def initialize()
end
@@ -14,6 +14,18 @@ class Developer
return "http://cia.navi.cx/stats/author/#{self.handle}/.rss"
end
+ def forumsProfile()
+ myhandle = self.forumsHandle
+ myhandle = self.handle if myhandle.nil?
+ "http://forums.gentoo.org/profile.php?mode=viewprofile&u=#{myhandle}"
+ end
+
+ def forumsPosts()
+ myhandle = self.forumsHandle
+ myhandle = self.handle if myhandle.nil?
+ "http://forums.gentoo.org/search.php?search_author=#{myhandle}"
+ end
+
def myBugsRss()
"http://bugs.gentoo.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailreporter1=1&emailtype1=exact&email1=#{self.handle}%40gentoo.org&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&chfieldfrom=&chfieldto=Now&chfieldvalue=&query_based_on=My%20Open%20Bugs&field0-0-0=noop&type0-0-0=noop&value0-0-0=&ctype=rss"
end