public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] New <remote-id> type
@ 2022-10-14 17:26 redson
  2022-10-14 17:28 ` Arthur Zamarin
  2022-10-14 18:24 ` redson
  0 siblings, 2 replies; 3+ messages in thread
From: redson @ 2022-10-14 17:26 UTC (permalink / raw
  To: gentoo-dev

Hi, I want to use <remote-id type="codeberg">, but it's not available
yet. So i want to know what to do in these cases.

According to this page:
https://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/, I have
to email here if I want to use a new type value.

 - Redson


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

* Re: [gentoo-dev] New <remote-id> type
  2022-10-14 17:26 [gentoo-dev] New <remote-id> type redson
@ 2022-10-14 17:28 ` Arthur Zamarin
  2022-10-14 18:24 ` redson
  1 sibling, 0 replies; 3+ messages in thread
From: Arthur Zamarin @ 2022-10-14 17:28 UTC (permalink / raw
  To: gentoo-dev, redson


[-- Attachment #1.1: Type: text/plain, Size: 647 bytes --]

On 14/10/2022 20.26, redson@riseup.net wrote:
> Hi, I want to use <remote-id type="codeberg">, but it's not available
> yet. So i want to know what to do in these cases.
> 
> According to this page:
> https://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/, I have
> to email here if I want to use a new type value.
> 
>  - Redson
> 

Please read at [1], especially the last part which lists what and where
you need to add.

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

-- 
Arthur Zamarin
arthurzam@gentoo.org
Gentoo Linux developer (Python, Arch Teams, pkgcore stack, GURU)


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

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

* Re: [gentoo-dev] New <remote-id> type
  2022-10-14 17:26 [gentoo-dev] New <remote-id> type redson
  2022-10-14 17:28 ` Arthur Zamarin
@ 2022-10-14 18:24 ` redson
  1 sibling, 0 replies; 3+ messages in thread
From: redson @ 2022-10-14 18:24 UTC (permalink / raw
  To: gentoo-dev

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

I don't know if it'll be attaching this message to the thread, but
anyways I made two patches, 
metadata.xsd patch, and metadata.dtd patch, the two in git format.
(attached)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: metadata.dtd.patch --]
[-- Type: text/x-diff; name=metadata.dtd.patch, Size: 892 bytes --]

diff --git a/metadata.dtd b/metadata.dtd
index e1207de..1d82071 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|freedesktop-gitlab|gentoo|github|gitlab|gnome-gitlab|google-code|hackage|heptapod|launchpad|osdn|pear|pecl|pypi|rubygems|savannah|savannah-nongnu|sourceforge|sourcehut|vim) #REQUIRED>
+      <!ATTLIST remote-id type (bitbucket|codeberg|cpan|cpan-module|cpe|cran|ctan|freedesktop-gitlab|gentoo|github|gitlab|gnome-gitlab|google-code|hackage|heptapod|launchpad|osdn|pear|pecl|pypi|rubygems|savannah|savannah-nongnu|sourceforge|sourcehut|vim) #REQUIRED>
 
   <!-- category/package information for cross-linking in descriptions
     and useflag descriptions -->

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: metadata.xsd.patch --]
[-- Type: text/x-diff; name=metadata.xsd.patch, Size: 409 bytes --]

diff --git a/metadata.xsd b/metadata.xsd
index 3812045..991790e 100644
--- a/metadata.xsd
+++ b/metadata.xsd
@@ -271,6 +271,7 @@
 	<xs:simpleType name='upstreamRemoteIdTypeAttrType'>
 		<xs:restriction base='xs:token'>
 			<xs:enumeration value='bitbucket'/>
+			<xs:enumeration value='codeberg'/>
 			<xs:enumeration value='cpan'/>
 			<xs:enumeration value='cpan-module'/>
 			<xs:enumeration value='cpe'/>

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-14 17:26 [gentoo-dev] New <remote-id> type redson
2022-10-14 17:28 ` Arthur Zamarin
2022-10-14 18:24 ` redson

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