aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-06-28 11:33:49 -0400
committerMike Frysinger <vapier@gentoo.org>2016-06-28 11:34:40 -0400
commitdce4fcbe9033ae6fff246bed8393771819f4b269 (patch)
tree567a399e15b87ad4e25242ca44166a863278aaa4
parentdepgraph: fix missed llvm update (bug 584626) (diff)
downloadportage-dce4fcbe9033ae6fff246bed8393771819f4b269.tar.gz
portage-dce4fcbe9033ae6fff246bed8393771819f4b269.tar.bz2
portage-dce4fcbe9033ae6fff246bed8393771819f4b269.zip
repoman: use https to fetch metadata.xsd
-rw-r--r--repoman/pym/repoman/metadata.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/repoman/pym/repoman/metadata.py b/repoman/pym/repoman/metadata.py
index 77174f6b6..53bda6305 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