public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] metadata.dtd: add sourcehut remote-id
@ 2022-07-23  1:11 Sam James
  2022-07-23  8:55 ` A
  0 siblings, 1 reply; 3+ messages in thread
From: Sam James @ 2022-07-23  1:11 UTC (permalink / raw
  To: gentoo-dev; +Cc: Sam James

Signed-off-by: Sam James <sam@gentoo.org>
---
 metadata.dtd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metadata.dtd b/metadata.dtd
index 581943e..1297548 100644
--- a/metadata.dtd
+++ b/metadata.dtd
@@ -58,7 +58,7 @@
     <!ELEMENT bugs-to (#PCDATA)>
     <!-- specify a type of package identification tracker -->
     <!ELEMENT remote-id (#PCDATA)>
-      <!ATTLIST remote-id type (bitbucket|cpan|cpan-module|cpe|cran|ctan|gentoo|github|gitlab|google-code|heptapod|launchpad|osdn|pear|pecl|pypi|rubygems|sourceforge|vim) #REQUIRED>
+      <!ATTLIST remote-id type (bitbucket|cpan|cpan-module|cpe|cran|ctan|gentoo|github|gitlab|google-code|heptapod|launchpad|osdn|pear|pecl|pypi|rubygems|sourceforge|sourcehut|vim) #REQUIRED>
 
   <!-- category/package information for cross-linking in descriptions
     and useflag descriptions -->
-- 
2.37.1



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

* Re: [gentoo-dev] [PATCH] metadata.dtd: add sourcehut remote-id
  2022-07-23  1:11 [gentoo-dev] [PATCH] metadata.dtd: add sourcehut remote-id Sam James
@ 2022-07-23  8:55 ` A
  2022-07-23 14:09   ` Ionen Wolkens
  0 siblings, 1 reply; 3+ messages in thread
From: A @ 2022-07-23  8:55 UTC (permalink / raw
  To: gentoo-dev

On 2022-07-23 01:11, Sam James wrote:
> Signed-off-by: Sam James <sam@gentoo.org>

Bug: https://bugs.gentoo.org/808779

> ---
>  metadata.dtd | 2 +-

XSD needs to be updated too (and wiki, and soko, and pkgcheck...)

>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/metadata.dtd b/metadata.dtd
> index 581943e..1297548 100644
> --- a/metadata.dtd
> +++ b/metadata.dtd
> @@ -58,7 +58,7 @@
>      <!ELEMENT bugs-to (#PCDATA)>
>      <!-- specify a type of package identification tracker -->
>      <!ELEMENT remote-id (#PCDATA)>
> -      <!ATTLIST remote-id type (bitbucket|cpan|cpan-module|cpe|cran|ctan|gentoo|github|gitlab|google-code|heptapod|launchpad|osdn|pear|pecl|pypi|rubygems|sourceforge|vim) #REQUIRED>
> +      <!ATTLIST remote-id type (bitbucket|cpan|cpan-module|cpe|cran|ctan|gentoo|github|gitlab|google-code|heptapod|launchpad|osdn|pear|pecl|pypi|rubygems|sourceforge|sourcehut|vim) #REQUIRED>

I'd use "srht" as it's the name of main instance. Everyone can run their
own instance of sourcehut.
  
>    <!-- category/package information for cross-linking in descriptions
>      and useflag descriptions -->
> -- 
> 2.37.1
> 
> 


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

* Re: [gentoo-dev] [PATCH] metadata.dtd: add sourcehut remote-id
  2022-07-23  8:55 ` A
@ 2022-07-23 14:09   ` Ionen Wolkens
  0 siblings, 0 replies; 3+ messages in thread
From: Ionen Wolkens @ 2022-07-23 14:09 UTC (permalink / raw
  To: gentoo-dev

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

On Sat, Jul 23, 2022 at 01:55:50PM +0500, A wrote:
> On 2022-07-23 01:11, Sam James wrote:
> > Signed-off-by: Sam James <sam@gentoo.org>
> 
> Bug: https://bugs.gentoo.org/808779
> 
> > ---
> >  metadata.dtd | 2 +-
> 
> XSD needs to be updated too (and wiki, and soko, and pkgcheck...)

sam added the list of what needs to be done himself on the wiki[1] :)
And currently only the first step is listed for ML review.

[1] https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Upstream_remote-id_types

> 
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/metadata.dtd b/metadata.dtd
> > index 581943e..1297548 100644
> > --- a/metadata.dtd
> > +++ b/metadata.dtd
> > @@ -58,7 +58,7 @@
> >      <!ELEMENT bugs-to (#PCDATA)>
> >      <!-- specify a type of package identification tracker -->
> >      <!ELEMENT remote-id (#PCDATA)>
> > -      <!ATTLIST remote-id type (bitbucket|cpan|cpan-module|cpe|cran|ctan|gentoo|github|gitlab|google-code|heptapod|launchpad|osdn|pear|pecl|pypi|rubygems|sourceforge|vim) #REQUIRED>
> > +      <!ATTLIST remote-id type (bitbucket|cpan|cpan-module|cpe|cran|ctan|gentoo|github|gitlab|google-code|heptapod|launchpad|osdn|pear|pecl|pypi|rubygems|sourceforge|sourcehut|vim) #REQUIRED>
> 
> I'd use "srht" as it's the name of main instance. Everyone can run their
> own instance of sourcehut.

Same goes for gitlab, and I doubt someone else who would host their own
sourcehut would call themselves "sourcehut", it'd be e.g. freedesktop's
gitlab with likely a "freedesktop" remote-id.

I'm fine with either, but the more readable+recognizable choice sounds
fair to me.

>   
> >    <!-- category/package information for cross-linking in descriptions
> >      and useflag descriptions -->
> > -- 
> > 2.37.1
> > 
> > 
> 

-- 
ionen

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2022-07-23 14:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-23  1:11 [gentoo-dev] [PATCH] metadata.dtd: add sourcehut remote-id Sam James
2022-07-23  8:55 ` A
2022-07-23 14:09   ` Ionen Wolkens

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