public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] [PATCH] repoman: change metadata.dtd protocol to https
@ 2015-04-05  6:31 Zac Medico
  2015-04-06  5:02 ` Brian Dolbec
  0 siblings, 1 reply; 3+ messages in thread
From: Zac Medico @ 2015-04-05  6:31 UTC (permalink / raw
  To: gentoo-portage-dev; +Cc: Zac Medico

The old http uri redirects to the new https uri, so use the new https
uri directly.

X-Gentoo-Bug: 469888
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=469888
---
 bin/repoman | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/repoman b/bin/repoman
index 7101a00..6074c91 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -503,7 +503,7 @@ metadata_xml_encoding = 'UTF-8'
 metadata_xml_declaration = '<?xml version="1.0" encoding="%s"?>' % \
 	(metadata_xml_encoding,)
 metadata_doctype_name = 'pkgmetadata'
-metadata_dtd_uri = 'http://www.gentoo.org/dtd/metadata.dtd'
+metadata_dtd_uri = 'https://www.gentoo.org/dtd/metadata.dtd'
 # force refetch if the local copy creation time is older than this
 metadata_dtd_ctime_interval = 60 * 60 * 24 * 7 # 7 days
 
-- 
2.3.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] repoman: change metadata.dtd protocol to https
  2015-04-05  6:31 [gentoo-portage-dev] [PATCH] repoman: change metadata.dtd protocol to https Zac Medico
@ 2015-04-06  5:02 ` Brian Dolbec
  2015-05-31  5:38   ` Mike Frysinger
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Dolbec @ 2015-04-06  5:02 UTC (permalink / raw
  To: gentoo-portage-dev

On Sat,  4 Apr 2015 23:31:25 -0700
Zac Medico <zmedico@gentoo.org> wrote:

> The old http uri redirects to the new https uri, so use the new https
> uri directly.
> 
> X-Gentoo-Bug: 469888
> X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=469888
> ---
>  bin/repoman | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/bin/repoman b/bin/repoman
> index 7101a00..6074c91 100755
> --- a/bin/repoman
> +++ b/bin/repoman
> @@ -503,7 +503,7 @@ metadata_xml_encoding = 'UTF-8'
>  metadata_xml_declaration = '<?xml version="1.0" encoding="%s"?>' % \
>  	(metadata_xml_encoding,)
>  metadata_doctype_name = 'pkgmetadata'
> -metadata_dtd_uri = 'http://www.gentoo.org/dtd/metadata.dtd'
> +metadata_dtd_uri = 'https://www.gentoo.org/dtd/metadata.dtd'
>  # force refetch if the local copy creation time is older than this
>  metadata_dtd_ctime_interval = 60 * 60 * 24 * 7 # 7 days
>  


Hmm, I thought that was being moved to api.gentoo.org.  I just checked
and it isn't there...

I want to verify that it isn't destined there in the very near future.
-- 
Brian Dolbec <dolsen>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] repoman: change metadata.dtd protocol to https
  2015-04-06  5:02 ` Brian Dolbec
@ 2015-05-31  5:38   ` Mike Frysinger
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2015-05-31  5:38 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 1300 bytes --]

On 05 Apr 2015 22:02, Brian Dolbec wrote:
> On Sat,  4 Apr 2015 23:31:25 -0700 Zac Medico wrote:
> > The old http uri redirects to the new https uri, so use the new https
> > uri directly.
> > 
> > X-Gentoo-Bug: 469888
> > X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=469888
> > ---
> >  bin/repoman | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/bin/repoman b/bin/repoman
> > index 7101a00..6074c91 100755
> > --- a/bin/repoman
> > +++ b/bin/repoman
> > @@ -503,7 +503,7 @@ metadata_xml_encoding = 'UTF-8'
> >  metadata_xml_declaration = '<?xml version="1.0" encoding="%s"?>' % \
> >  	(metadata_xml_encoding,)
> >  metadata_doctype_name = 'pkgmetadata'
> > -metadata_dtd_uri = 'http://www.gentoo.org/dtd/metadata.dtd'
> > +metadata_dtd_uri = 'https://www.gentoo.org/dtd/metadata.dtd'
> >  # force refetch if the local copy creation time is older than this
> >  metadata_dtd_ctime_interval = 60 * 60 * 24 * 7 # 7 days
> 
> Hmm, I thought that was being moved to api.gentoo.org.  I just checked
> and it isn't there...
> 
> I want to verify that it isn't destined there in the very near future.

even if it moves, the old location has to stick around forever, although it too 
would become a redirect to api.g.o ...
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-31  5:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-05  6:31 [gentoo-portage-dev] [PATCH] repoman: change metadata.dtd protocol to https Zac Medico
2015-04-06  5:02 ` Brian Dolbec
2015-05-31  5:38   ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox