public inbox for gentoo-project@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-project] RFC: moving API-related DTDs into api.gentoo.org
@ 2015-03-24  9:37 Michał Górny
  2015-03-24 11:14 ` Ben de Groot
  2015-03-24 12:52 ` Alex Legler
  0 siblings, 2 replies; 4+ messages in thread
From: Michał Górny @ 2015-03-24  9:37 UTC (permalink / raw
  To: gentoo-project

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

Hi,

Right now all Gentoo DTS are stored in gentoo CVS repo for
www.gentoo.org. Since we already moved some useful stuff out of there
for api.gentoo.org, I think we should move the relevant DTDs as well.
In particular:

- metadata.dtd -- since it's used by different repositories and not
  really www.gentoo.org sites. It would be better if it had permanent
  api.gentoo.org URI for apps to fetch.

- mirrors.dtd -- used for mirror XML files stored in api.gentoo.org,

- repositories.dtd -- used for repository XML files stored in a.g.o.

And we should move more DTD as soon as respective XML files are moved
to api.gentoo.org.

Thoughts?

-- 
Best regards,
Michał Górny

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]

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

* Re: [gentoo-project] RFC: moving API-related DTDs into api.gentoo.org
  2015-03-24  9:37 [gentoo-project] RFC: moving API-related DTDs into api.gentoo.org Michał Górny
@ 2015-03-24 11:14 ` Ben de Groot
  2015-03-24 12:52 ` Alex Legler
  1 sibling, 0 replies; 4+ messages in thread
From: Ben de Groot @ 2015-03-24 11:14 UTC (permalink / raw
  To: gentoo-project

On 24 March 2015 at 17:37, Michał Górny <mgorny@gentoo.org> wrote:
> Hi,
>
> Right now all Gentoo DTS are stored in gentoo CVS repo for
> www.gentoo.org. Since we already moved some useful stuff out of there
> for api.gentoo.org, I think we should move the relevant DTDs as well.
> In particular:
>
> - metadata.dtd -- since it's used by different repositories and not
>   really www.gentoo.org sites. It would be better if it had permanent
>   api.gentoo.org URI for apps to fetch.
>
> - mirrors.dtd -- used for mirror XML files stored in api.gentoo.org,
>
> - repositories.dtd -- used for repository XML files stored in a.g.o.
>
> And we should move more DTD as soon as respective XML files are moved
> to api.gentoo.org.
>
> Thoughts?
>
> --
> Best regards,
> Michał Górny

Makes sense. Let's do it.

-- 
Cheers,

Ben | yngwin
Gentoo developer


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

* Re: [gentoo-project] RFC: moving API-related DTDs into api.gentoo.org
  2015-03-24  9:37 [gentoo-project] RFC: moving API-related DTDs into api.gentoo.org Michał Górny
  2015-03-24 11:14 ` Ben de Groot
@ 2015-03-24 12:52 ` Alex Legler
  2015-06-02 15:38   ` Mike Frysinger
  1 sibling, 1 reply; 4+ messages in thread
From: Alex Legler @ 2015-03-24 12:52 UTC (permalink / raw
  To: gentoo-project

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

On 3/24/15 at 10:37 AM, Michał Górny wote:
> […]
> - metadata.dtd -- since it's used by different repositories and not
>   really www.gentoo.org sites. It would be better if it had permanent
>   api.gentoo.org URI for apps to fetch.

But neither has it really something to do with a file on api.g.o.
Its current URL on gentoo.org is just as permanent (even more so if it
isn't moved).
I fail to see the actual gain in moving it.

> 
> - mirrors.dtd -- used for mirror XML files stored in api.gentoo.org,

...and on the main website still.

> 
> - repositories.dtd -- used for repository XML files stored in a.g.o.
> 

That is the one fitting addition from your examples.

> And we should move more DTD as soon as respective XML files are moved
> to api.gentoo.org.

Quickly looking through the current DTDs, none belong to any files or
services that should be moving to the api site, except maybe glsa.dtd,
but that has its own site now anyway.

> 
> Thoughts?
> 

Taking into account that not everything belonging to these DTDs is on
api.g.o, we would be even hurting permanence of the URLs by moving them,
and the overall lack of a clear gain, I'd keep them on gentoo.org in one
central DTD location, i.e. the current gentoo.org/dtd/.

That being said, I'm all for having a separate git hosting them.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

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

* Re: [gentoo-project] RFC: moving API-related DTDs into api.gentoo.org
  2015-03-24 12:52 ` Alex Legler
@ 2015-06-02 15:38   ` Mike Frysinger
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2015-06-02 15:38 UTC (permalink / raw
  To: gentoo-project

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

On 24 Mar 2015 13:52, Alex Legler wrote:
> Taking into account that not everything belonging to these DTDs is on
> api.g.o, we would be even hurting permanence of the URLs by moving them,
> and the overall lack of a clear gain, I'd keep them on gentoo.org in one
> central DTD location, i.e. the current gentoo.org/dtd/.

why can't g.o/dtd/ be a simple redirect to api.g.o/dtd/ ?  it makes sense in my 
mind for all the dtd files to live in api.g.o.
-mike

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

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

end of thread, other threads:[~2015-06-02 15:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-24  9:37 [gentoo-project] RFC: moving API-related DTDs into api.gentoo.org Michał Górny
2015-03-24 11:14 ` Ben de Groot
2015-03-24 12:52 ` Alex Legler
2015-06-02 15: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