aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-05-31 08:01:28 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2016-05-31 08:01:28 -0700
commit56d6a82c8ffb9006e824352127909f316a40b0a8 (patch)
treefa557b8a621a18978c8a7b9d6cfd3319916cad6e
parent!herd: Remove (diff)
downloadrbot-gentoo-56d6a82c8ffb9006e824352127909f316a40b0a8.tar.gz
rbot-gentoo-56d6a82c8ffb9006e824352127909f316a40b0a8.tar.bz2
rbot-gentoo-56d6a82c8ffb9006e824352127909f316a40b0a8.zip
Switch to HTTPS.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--gentoo-data.rb16
1 files 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-@GLSA_ID@.xml?passthru=1"
+#VALID_PACKAGE_SRC = "https://tinderbox.dev.gentoo.org/misc/qsearch.txt"
+#GLSA_SRC = "https://www.gentoo.org/security/en/glsa/glsa-@GLSA_ID@.xml?passthru=1"
VALID_PACKAGE_SRC = "/dev/shm/qsearch.txt"
GLSA_SRC = "#{ENV['PORTDIR']}/metadata/glsa/glsa-@GLSA_ID@.xml"
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)