1 |
commit: 56d6a82c8ffb9006e824352127909f316a40b0a8 |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 31 15:01:28 2016 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 15:01:28 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/rbot-gentoo.git/commit/?id=56d6a82c |
7 |
|
8 |
Switch to HTTPS. |
9 |
|
10 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
11 |
|
12 |
gentoo-data.rb | 16 ++++++++-------- |
13 |
1 file changed, 8 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/gentoo-data.rb b/gentoo-data.rb |
16 |
index 5782ff5..2d651b3 100644 |
17 |
--- a/gentoo-data.rb |
18 |
+++ b/gentoo-data.rb |
19 |
@@ -27,8 +27,8 @@ |
20 |
# end |
21 |
#end |
22 |
|
23 |
-#VALID_PACKAGE_SRC = "http://tinderbox.dev.gentoo.org/misc/qsearch.txt" |
24 |
-#GLSA_SRC = "http://www.gentoo.org/security/en/glsa/glsa-@GLSA_ID@.xml?passthru=1" |
25 |
+#VALID_PACKAGE_SRC = "https://tinderbox.dev.gentoo.org/misc/qsearch.txt" |
26 |
+#GLSA_SRC = "https://www.gentoo.org/security/en/glsa/glsa-@GLSA_ID@.xml?passthru=1" |
27 |
VALID_PACKAGE_SRC = "/dev/shm/qsearch.txt" |
28 |
GLSA_SRC = "#{ENV['PORTDIR']}/metadata/glsa/glsa-@GLSA_ID@.xml" |
29 |
PROJECTS_SRC = 'https://api.gentoo.org/metastructure/projects.xml' |
30 |
@@ -133,7 +133,7 @@ class GentooPlugin < Plugin |
31 |
|
32 |
def devaway(m, params) |
33 |
dev = params[:dev].downcase |
34 |
- res = @bot.httputil.get("http://dev.gentoo.org/devaway/index-csv.php?who=#{dev}") |
35 |
+ res = @bot.httputil.get("https://dev.gentoo.org/devaway/index-csv.php?who=#{dev}") |
36 |
if res.length > 0 then |
37 |
m.reply "#{dev}: #{res}" |
38 |
else |
39 |
@@ -212,8 +212,8 @@ class GentooPlugin < Plugin |
40 |
now = Time.now.tv_sec |
41 |
unless @@cached['alias'] and @@cached['alias'][0] > now-600 |
42 |
#m.reply "Fetch #{@@cached['alias'][0]} > #{now-600}" |
43 |
- #res = @bot.httputil.get('http://dev.gentoo.org/~solar/.alias') |
44 |
- res = @bot.httputil.get('http://dev.gentoo.org/.alias.cache') |
45 |
+ #res = @bot.httputil.get('https://dev.gentoo.org/~solar/.alias') |
46 |
+ res = @bot.httputil.get('https://dev.gentoo.org/.alias.cache') |
47 |
alias_hash = {} |
48 |
for line in res |
49 |
split_line = line.split(' = ') |
50 |
@@ -333,15 +333,15 @@ class GentooPlugin < Plugin |
51 |
end |
52 |
|
53 |
def ddep(m, params) |
54 |
- depcommon(m, 'DEPEND', 'http://qa-reports.gentoo.org/output/genrdeps/dindex/', params) |
55 |
+ depcommon(m, 'DEPEND', 'https://qa-reports.gentoo.org/output/genrdeps/dindex/', params) |
56 |
end |
57 |
|
58 |
def pdep(m, params) |
59 |
- depcommon(m, 'PDEPEND', 'http://qa-reports.gentoo.org/output/genrdeps/pindex/', params) |
60 |
+ depcommon(m, 'PDEPEND', 'https://qa-reports.gentoo.org/output/genrdeps/pindex/', params) |
61 |
end |
62 |
|
63 |
def rdep(m, params) |
64 |
- depcommon(m, 'RDEPEND', 'http://qa-reports.gentoo.org/output/genrdeps/rindex/', params) |
65 |
+ depcommon(m, 'RDEPEND', 'https://qa-reports.gentoo.org/output/genrdeps/rindex/', params) |
66 |
end |
67 |
|
68 |
def earch(m, params) |