From: Anna Vyalkova <cyber+gentoo@sysrq.in>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] [PATCH] metadata.xsd: support ftp:// URLs for <changelog/> etc.
Date: Sat, 1 Jan 2022 19:15:45 +0500 [thread overview]
Message-ID: <20220101141545.22624-1-cyber+gentoo@sysrq.in> (raw)
Closes: https://bugs.gentoo.org/830211
---
metadata.xsd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/metadata.xsd b/metadata.xsd
index d2e3d4f..c91584d 100644
--- a/metadata.xsd
+++ b/metadata.xsd
@@ -555,7 +555,7 @@
<xs:simpleType name='urlType'>
<xs:restriction base='xs:token'>
<!-- TODO: something better? -->
- <xs:pattern value="(mailto:[^@]+@[^.\s]+\.\S+|https?://\S+)"/>
+ <xs:pattern value="(mailto:[^@]+@[^.\s]+\.\S+|(ftp|https?)://\S+)"/>
</xs:restriction>
</xs:simpleType>
--
2.34.1
reply other threads:[~2022-01-01 14:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220101141545.22624-1-cyber+gentoo@sysrq.in \
--to=cyber+gentoo@sysrq.in \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox