Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558638 - Move metadata.dtd to api.gentoo.org
Summary: Move metadata.dtd to api.gentoo.org
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-24 20:16 UTC by Manuel Rüger (RETIRED)
Modified: 2015-08-29 15:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rüger (RETIRED) gentoo-dev 2015-08-24 20:16:45 UTC
Would it be possible to move http://www.gentoo.org/dtd/metadata.dtd to  https://api.gentoo.org/dtd/metadata.dtd ?

It feels like we're going to switch to https:// anyway and this could be done with a proper relocation.

For a certain period of time http://www.gentoo.org/dtd/metadata.dtd could http 301 to api.g.o


Portage Team is CC'd so they can fix repoman once the new location is available.
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2015-08-24 21:56:02 UTC
(In reply to Manuel Rüger from comment #0)
> Would it be possible to move http://www.gentoo.org/dtd/metadata.dtd to 
> https://api.gentoo.org/dtd/metadata.dtd ?
> 
> It feels like we're going to switch to https:// anyway and this could be
> done with a proper relocation.

What do we gain from moving it?

> For a certain period of time http://www.gentoo.org/dtd/metadata.dtd could
> http 301 to api.g.o
> 

That redirect would likely need to be permanent as there's a whole lot of stuff using the DTDs.
Comment 2 Alex Legler (RETIRED) archtester gentoo-dev Security 2015-08-28 14:18:01 UTC
I see gentoo-x86 has been updated to https URLs on www.g.o already, this would be the last reason I can think of to do it. With that off the table, no need for further consider this.
Comment 3 Zac Medico gentoo-dev 2015-08-28 18:27:47 UTC
(In reply to Alex Legler from comment #2)
> I see gentoo-x86 has been updated to https URLs on www.g.o already, this
> would be the last reason I can think of to do it. With that off the table,
> no need for further consider this.

Note that it's been reverted back to http until bug 552720 is resolved (repoman issue).
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2015-08-29 14:23:51 UTC
(In reply to Alex Legler from comment #1)
> (In reply to Manuel Rüger from comment #0)
> > Would it be possible to move http://www.gentoo.org/dtd/metadata.dtd to 
> > https://api.gentoo.org/dtd/metadata.dtd ?
> > 
> > It feels like we're going to switch to https:// anyway and this could be
> > done with a proper relocation.
> 
> What do we gain from moving it?
> 
Sorry for my late reply:

- api.gentoo.org is supposed to describe the "api" of gentoo, I think the dtd is a valid part of that api.
- version control over metadata.dtd


> > For a certain period of time http://www.gentoo.org/dtd/metadata.dtd could
> > http 301 to api.g.o
> > 
> 
> That redirect would likely need to be permanent as there's a whole lot of
> stuff using the DTDs.

Sure, permanent works for me.
Comment 5 Alex Legler (RETIRED) archtester gentoo-dev Security 2015-08-29 15:45:25 UTC
(In reply to Manuel Rüger from comment #4)
> - api.gentoo.org is supposed to describe the "api" of gentoo, I think the
> dtd is a valid part of that api.

That doesn't outweigh the loss of the identifying character of the URL. We'd end up with two IDs for the same DTD and a bunch of work.

> - version control over metadata.dtd

We have always had that. In CVS and now at https://gitweb.gentoo.org/data/dtd.git/