From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 26C8759CA3 for ; Sat, 12 Mar 2016 12:28:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6955F21C02C; Sat, 12 Mar 2016 12:28:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C557221C02C for ; Sat, 12 Mar 2016 12:28:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 96EB0340A61 for ; Sat, 12 Mar 2016 12:28:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 245A6209B for ; Sat, 12 Mar 2016 12:28:12 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1457785677.134ad07b81b30c833a53f299313a7659f95e2b01.ulm@gentoo> Subject: [gentoo-commits] proj/nxml-gentoo-schemas:master commit in: / X-VCS-Repository: proj/nxml-gentoo-schemas X-VCS-Files: metadata.rnc X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 134ad07b81b30c833a53f299313a7659f95e2b01 X-VCS-Branch: master Date: Sat, 12 Mar 2016 12:28:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 26dce908-d22f-4983-9104-a359db82b710 X-Archives-Hash: 415743b02d30245ce4cf7fc3917f046f commit: 134ad07b81b30c833a53f299313a7659f95e2b01 Author: Ulrich Müller gentoo org> AuthorDate: Sat Mar 12 12:27:57 2016 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Mar 12 12:27:57 2016 +0000 URL: https://gitweb.gentoo.org/proj/nxml-gentoo-schemas.git/commit/?id=134ad07b Update rnc schemas. metadata.rnc | 55 ++++++++++--------------------------------------------- 1 file changed, 10 insertions(+), 45 deletions(-) diff --git a/metadata.rnc b/metadata.rnc index b7944d9..2ed65b0 100644 --- a/metadata.rnc +++ b/metadata.rnc @@ -1,8 +1,7 @@ +# Metadata for a category + namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0" -packages = element packages { attlist.packages, pkgmetadata* } -attlist.packages &= empty -# Metadata for a category catmetadata = element catmetadata { attlist.catmetadata, longdescription* } attlist.catmetadata &= @@ -48,44 +47,6 @@ attlist.slot &= attribute name { text } # The meaning of sub-SLOTs for the whole package subslots = element subslots { attlist.subslots, text* } attlist.subslots &= empty -# The changelog of the package - -# Please note that #PCDATA is mentioned only for the upstream changelog -# element, where the content is a URL. This is due to limitations of the DTD -changelog = element changelog { attlist.changelog, (text | change)* } -attlist.changelog &= empty -# The changelog contains various "changes" -change = - element change { - attlist.change, - date, - (developer | version | description | file | contributor | bug)* - } -attlist.change &= empty -date = element date { attlist.date, text } -attlist.date &= empty -# The date of the change, in "YYYY-MM-DD" format -developer = element developer { attlist.developer, name?, email } -attlist.developer &= empty -# The developer that made the change. The email is required, name -# is optional -version = element version { attlist.version, text } -attlist.version &= empty -# version of the packages involved (one tag per version) -file = element file { attlist.file, text } -attlist.file &= empty -# one tag per file touched -contributor = element contributor { attlist.contributor, name?, email? } -attlist.contributor &= empty -# A reference to a user that helped in causing this change. -# There should at least be a name or email address included. -# Email is preferred -bug = element bug { attlist.bug, text } -attlist.bug &= empty -# bug-id of a bug fixed by this change, multiple allowed. The -# format of this is a number or alias for a bug. NOT including a -# # character - # description of what this USE flag does for this package use = element use { attlist.use, flag* } flag = element flag { attlist.flag, (text | pkg | cat)* } @@ -105,6 +66,9 @@ attlist.upstream &= empty attlist.maintainer &= [ a:defaultValue = "unknown" ] attribute status { "active" | "inactive" | "unknown" }? +# URL where the upstream changelog can be found +changelog = element changelog { attlist.changelog, text } +attlist.changelog &= empty # URL where the location of the upstream documentation can be found doc = element doc { attlist.doc, text } attlist.doc &= [ a:defaultValue = "C" ] attribute lang { text }? @@ -167,12 +131,13 @@ attlist.maintainer &= attribute restrict { text }? attlist.longdescription &= attribute restrict { text }? attlist.flag &= attribute restrict { text }? # standard parts + +# an email address email = element email { attlist.email, text } attlist.email &= empty -# an email address +# the name of a person (maintainer, contributor) name = element name { attlist.name, text } attlist.name &= empty -# the name of a person (maintainer, contributor) +# A description of a maintainer or change description = element description { attlist.description, text } -# A description of a maintainer or change -start = catmetadata | pkgmetadata +start = pkgmetadata | catmetadata