Gentoo Archives: gentoo-dev

From: Ionen Wolkens <ionen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] metadata.dtd: add sourcehut remote-id
Date: Sat, 23 Jul 2022 14:10:01
Message-Id: YtwBMAE2pBLsctme@eversor
In Reply to: Re: [gentoo-dev] [PATCH] metadata.dtd: add sourcehut remote-id by A
1 On Sat, Jul 23, 2022 at 01:55:50PM +0500, A wrote:
2 > On 2022-07-23 01:11, Sam James wrote:
3 > > Signed-off-by: Sam James <sam@g.o>
4 >
5 > Bug: https://bugs.gentoo.org/808779
6 >
7 > > ---
8 > > metadata.dtd | 2 +-
9 >
10 > XSD needs to be updated too (and wiki, and soko, and pkgcheck...)
11
12 sam added the list of what needs to be done himself on the wiki[1] :)
13 And currently only the first step is listed for ML review.
14
15 [1] https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Upstream_remote-id_types
16
17 >
18 > > 1 file changed, 1 insertion(+), 1 deletion(-)
19 > >
20 > > diff --git a/metadata.dtd b/metadata.dtd
21 > > index 581943e..1297548 100644
22 > > --- a/metadata.dtd
23 > > +++ b/metadata.dtd
24 > > @@ -58,7 +58,7 @@
25 > > <!ELEMENT bugs-to (#PCDATA)>
26 > > <!-- specify a type of package identification tracker -->
27 > > <!ELEMENT remote-id (#PCDATA)>
28 > > - <!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>
29 > > + <!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>
30 >
31 > I'd use "srht" as it's the name of main instance. Everyone can run their
32 > own instance of sourcehut.
33
34 Same goes for gitlab, and I doubt someone else who would host their own
35 sourcehut would call themselves "sourcehut", it'd be e.g. freedesktop's
36 gitlab with likely a "freedesktop" remote-id.
37
38 I'm fine with either, but the more readable+recognizable choice sounds
39 fair to me.
40
41 >
42 > > <!-- category/package information for cross-linking in descriptions
43 > > and useflag descriptions -->
44 > > --
45 > > 2.37.1
46 > >
47 > >
48 >
49
50 --
51 ionen

Attachments

File name MIME type
signature.asc application/pgp-signature