1 |
commit: dce4fcbe9033ae6fff246bed8393771819f4b269 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 28 15:33:49 2016 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 28 15:34:40 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=dce4fcbe |
7 |
|
8 |
repoman: use https to fetch metadata.xsd |
9 |
|
10 |
repoman/pym/repoman/metadata.py | 4 +++- |
11 |
1 file changed, 3 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/repoman/pym/repoman/metadata.py b/repoman/pym/repoman/metadata.py |
14 |
index 77174f6..53bda63 100644 |
15 |
--- a/repoman/pym/repoman/metadata.py |
16 |
+++ b/repoman/pym/repoman/metadata.py |
17 |
@@ -27,8 +27,10 @@ if sys.hexversion >= 0x3000000: |
18 |
if sys.hexversion >= 0x3000000: |
19 |
basestring = str |
20 |
|
21 |
+# Note: This URI is hardcoded in all metadata.xml files. We can't |
22 |
+# change it without updating all the xml files in the tree. |
23 |
metadata_dtd_uri = 'http://www.gentoo.org/dtd/metadata.dtd' |
24 |
-metadata_xsd_uri = 'http://www.gentoo.org/xml-schema/metadata.xsd' |
25 |
+metadata_xsd_uri = 'https://www.gentoo.org/xml-schema/metadata.xsd' |
26 |
# force refetch if the local copy creation time is older than this |
27 |
metadata_xsd_ctime_interval = 60 * 60 * 24 * 7 # 7 days |