Gentoo Archives: gentoo-portage-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] repoman: change metadata.dtd protocol to https
Date: Mon, 06 Apr 2015 05:02:33
Message-Id: 20150405220227.399c0a18.dolsen@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] repoman: change metadata.dtd protocol to https by Zac Medico
1 On Sat, 4 Apr 2015 23:31:25 -0700
2 Zac Medico <zmedico@g.o> wrote:
3
4 > The old http uri redirects to the new https uri, so use the new https
5 > uri directly.
6 >
7 > X-Gentoo-Bug: 469888
8 > X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=469888
9 > ---
10 > bin/repoman | 2 +-
11 > 1 file changed, 1 insertion(+), 1 deletion(-)
12 >
13 > diff --git a/bin/repoman b/bin/repoman
14 > index 7101a00..6074c91 100755
15 > --- a/bin/repoman
16 > +++ b/bin/repoman
17 > @@ -503,7 +503,7 @@ metadata_xml_encoding = 'UTF-8'
18 > metadata_xml_declaration = '<?xml version="1.0" encoding="%s"?>' % \
19 > (metadata_xml_encoding,)
20 > metadata_doctype_name = 'pkgmetadata'
21 > -metadata_dtd_uri = 'http://www.gentoo.org/dtd/metadata.dtd'
22 > +metadata_dtd_uri = 'https://www.gentoo.org/dtd/metadata.dtd'
23 > # force refetch if the local copy creation time is older than this
24 > metadata_dtd_ctime_interval = 60 * 60 * 24 * 7 # 7 days
25 >
26
27
28 Hmm, I thought that was being moved to api.gentoo.org. I just checked
29 and it isn't there...
30
31 I want to verify that it isn't destined there in the very near future.
32 --
33 Brian Dolbec <dolsen>

Replies