commit:     56d6a82c8ffb9006e824352127909f316a40b0a8
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 15:01:28 2016 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Tue May 31 15:01:28 2016 +0000
URL:        https://gitweb.gentoo.org/proj/rbot-gentoo.git/commit/?id=56d6a82c

Switch to HTTPS.

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 gentoo-data.rb | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/gentoo-data.rb b/gentoo-data.rb
index 5782ff5..2d651b3 100644
--- a/gentoo-data.rb
+++ b/gentoo-data.rb
@@ -27,8 +27,8 @@
 #  end
 #end
 
-#VALID_PACKAGE_SRC = "http://tinderbox.dev.gentoo.org/misc/qsearch.txt";
-#GLSA_SRC = 
"http://www.gentoo.org/security/en/glsa/glsa-@[email protected]?passthru=1";
+#VALID_PACKAGE_SRC = "https://tinderbox.dev.gentoo.org/misc/qsearch.txt";
+#GLSA_SRC = 
"https://www.gentoo.org/security/en/glsa/glsa-@[email protected]?passthru=1";
 VALID_PACKAGE_SRC = "/dev/shm/qsearch.txt"
 GLSA_SRC = "#{ENV['PORTDIR']}/metadata/glsa/glsa-@[email protected]"
 PROJECTS_SRC = 'https://api.gentoo.org/metastructure/projects.xml'
@@ -133,7 +133,7 @@ class GentooPlugin < Plugin
 
   def devaway(m, params)
     dev = params[:dev].downcase
-    res = 
@bot.httputil.get("http://dev.gentoo.org/devaway/index-csv.php?who=#{dev}";)
+    res = 
@bot.httputil.get("https://dev.gentoo.org/devaway/index-csv.php?who=#{dev}";)
     if res.length > 0 then
       m.reply "#{dev}: #{res}"
     else
@@ -212,8 +212,8 @@ class GentooPlugin < Plugin
     now = Time.now.tv_sec
     unless @@cached['alias'] and @@cached['alias'][0] > now-600
       #m.reply "Fetch #{@@cached['alias'][0]} > #{now-600}"
-      #res = @bot.httputil.get('http://dev.gentoo.org/~solar/.alias')
-      res = @bot.httputil.get('http://dev.gentoo.org/.alias.cache')
+      #res = @bot.httputil.get('https://dev.gentoo.org/~solar/.alias')
+      res = @bot.httputil.get('https://dev.gentoo.org/.alias.cache')
       alias_hash = {}
       for line in res
         split_line = line.split(' = ')
@@ -333,15 +333,15 @@ class GentooPlugin < Plugin
   end
 
   def ddep(m, params)
-    depcommon(m, 'DEPEND', 
'http://qa-reports.gentoo.org/output/genrdeps/dindex/', params)
+    depcommon(m, 'DEPEND', 
'https://qa-reports.gentoo.org/output/genrdeps/dindex/', params)
   end
 
   def pdep(m, params)
-    depcommon(m, 'PDEPEND', 
'http://qa-reports.gentoo.org/output/genrdeps/pindex/', params)
+    depcommon(m, 'PDEPEND', 
'https://qa-reports.gentoo.org/output/genrdeps/pindex/', params)
   end
 
   def rdep(m, params)
-    depcommon(m, 'RDEPEND', 
'http://qa-reports.gentoo.org/output/genrdeps/rindex/', params)
+    depcommon(m, 'RDEPEND', 
'https://qa-reports.gentoo.org/output/genrdeps/rindex/', params)
   end
 
   def earch(m, params)

Reply via email to