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