aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-20 20:41:39 +0000
committerDavid Robillard <d@drobilla.net>2011-11-20 20:41:39 +0000
commit4ff6c527a9feda500eff87beb4d92780eef2665b (patch)
treed562cb6a945ff12f788228049493f897966507ec
parent4bcd9dc72688d1fbf509ddf2350a6da32af6d37a (diff)
downloadlv2-4ff6c527a9feda500eff87beb4d92780eef2665b.tar.xz
Release preparation.
-rw-r--r--core.lv2/lv2.doap.ttl2
-rw-r--r--ext/data-access.lv2/data-access.ttl74
-rw-r--r--ext/data-access.lv2/manifest.ttl2
-rw-r--r--ext/instance-access.lv2/instance-access.ttl68
-rw-r--r--ext/instance-access.lv2/manifest.ttl2
-rw-r--r--ext/midi.lv2/manifest.ttl2
-rw-r--r--ext/midi.lv2/midi.ttl69
-rw-r--r--ext/presets.lv2/manifest.ttl2
-rw-r--r--ext/presets.lv2/presets.ttl102
-rw-r--r--extensions/ui.lv2/lv2-ui.doap.ttl2
-rwxr-xr-xgendoc.py17
11 files changed, 237 insertions, 105 deletions
diff --git a/core.lv2/lv2.doap.ttl b/core.lv2/lv2.doap.ttl
index f01eadb..a17b142 100644
--- a/core.lv2/lv2.doap.ttl
+++ b/core.lv2/lv2.doap.ttl
@@ -91,7 +91,7 @@
dcs:blame <http://drobilla.net/drobilla#me> ;
dcs:changeset [
dcs:item [
- rdfs:label "Initial packaging."
+ rdfs:label "Initial release."
]
]
] ;
diff --git a/ext/data-access.lv2/data-access.ttl b/ext/data-access.lv2/data-access.ttl
index a83da2e..1f2ec04 100644
--- a/ext/data-access.lv2/data-access.ttl
+++ b/ext/data-access.lv2/data-access.ttl
@@ -14,29 +14,69 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@prefix da: <http://lv2plug.in/ns/ext/data-access#> .
+@prefix dcs: <http://ontologi.es/doap-changeset#> .
+@prefix doap: <http://usefulinc.com/ns/doap#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix lv2ev: <http://lv2plug.in/ns/ext/event#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
-@prefix doap: <http://usefulinc.com/ns/doap#> .
-@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+
+<http://drobilla.net/drobilla#me>
+ a foaf:Person ;
+ foaf:name "David Robillard" ;
+ foaf:homepage <http://drobilla.net/> ;
+ foaf:mbox <mailto:d@drobilla.net> ;
+ rdfs:seeAlso <http://drobilla.net/drobilla> .
<http://lv2plug.in/ns/ext/data-access>
- a lv2:Specification ;
+ a lv2:Specification ,
+ doap:Project ;
doap:license <http://opensource.org/licenses/isc-license> ;
doap:name "LV2 Data Access" ;
- doap:shortdesc "Provides access to LV2_Descriptor::extension_data." ;
- doap:release [
- doap:revision "1.2" ;
- doap:created "2011-05-26"
- ] ;
- doap:maintainer [
- a foaf:Person ;
- foaf:name "David Robillard" ;
- foaf:homepage <http://drobilla.net/> ;
- rdfs:seeAlso <http://drobilla.net/drobilla.xrdf>
+ doap:shortdesc "Provides access to LV2_Descriptor::extension_data()." ;
+ doap:developer <http://drobilla.net/drobilla#me> ;
+ doap:release [
+ doap:revision "1.4" ;
+ doap:created "2011-11-14" ;
+ doap:file-release <http://lv2plug.in/spec/lv2-data-access-1.4.tar.bz2> ;
+ dcs:blame <http://drobilla.net/drobilla#me> ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Update packaging."
+ ] , [
+ rdfs:label "Improve documentation."
+ ]
+ ]
+ ] , [
+ doap:revision "1.2" ;
+ doap:created "2011-05-26" ;
+ doap:file-release <http://lv2plug.in/spec/lv2-data-access-1.2.tar.bz2> ;
+ dcs:blame <http://drobilla.net/drobilla#me> ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Add build system for installation."
+ ] , [
+ rdfs:label "Switch to ISC license."
+ ]
+ ]
+ ] , [
+ doap:revision "1.0" ;
+ doap:created "2010-10-04" ;
+ doap:file-release <http://lv2plug.in/spec/lv2-data-access-1.0.tar.gz> ;
+ dcs:blame <http://drobilla.net/drobilla#me> ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Initial release."
+ ]
+ ]
] ;
- rdfs:comment """
-This extension defines a method for (e.g.) plugin UIs to have (possibly
-marshalled) access to the extension_data function on a plugin instance.
-""" .
+ lv2:documentation """
+<p>This extension defines a feature, LV2_Extension_Data_Feature, which provides
+access to LV2_Descriptor::extension_data() for plugin UIs or other potentially
+remote users of a plugin.</p>
+
+<p>To support this feature the host must pass an LV2_Feature struct to the
+instantiate method with URI "http://lv2plug.in/ns/ext/data-access" and data
+pointed to an instance of LV2_Extension_Data_Feature.</p>
+""" . \ No newline at end of file
diff --git a/ext/data-access.lv2/manifest.ttl b/ext/data-access.lv2/manifest.ttl
index 9d26fab..f7ccd9d 100644
--- a/ext/data-access.lv2/manifest.ttl
+++ b/ext/data-access.lv2/manifest.ttl
@@ -4,6 +4,6 @@
<http://lv2plug.in/ns/ext/data-access>
a lv2:Specification ;
lv2:minorVersion 1 ;
- lv2:microVersion 2 ;
+ lv2:microVersion 4 ;
rdfs:seeAlso <data-access.ttl> .
diff --git a/ext/instance-access.lv2/instance-access.ttl b/ext/instance-access.lv2/instance-access.ttl
index 5e1b9f8..f3d1a42 100644
--- a/ext/instance-access.lv2/instance-access.ttl
+++ b/ext/instance-access.lv2/instance-access.ttl
@@ -13,34 +13,68 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+@prefix dcs: <http://ontologi.es/doap-changeset#> .
+@prefix doap: <http://usefulinc.com/ns/doap#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix ia: <http://lv2plug.in/ns/ext/instance-access#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix lv2ev: <http://lv2plug.in/ns/ext/event#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
-@prefix doap: <http://usefulinc.com/ns/doap#> .
-@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+
+<http://drobilla.net/drobilla#me>
+ a foaf:Person ;
+ foaf:name "David Robillard" ;
+ foaf:homepage <http://drobilla.net/> ;
+ foaf:mbox <mailto:d@drobilla.net> ;
+ rdfs:seeAlso <http://drobilla.net/drobilla> .
<http://lv2plug.in/ns/ext/instance-access>
a lv2:Specification ;
doap:license <http://opensource.org/licenses/isc-license> ;
doap:name "LV2 Instance Access" ;
- doap:shortdesc "Provides access to the LV2_Handle of a plugin." ;
- doap:release [
- doap:revision "1.2" ;
- doap:created "2011-05-26"
- ] ;
- doap:maintainer [
- a foaf:Person ;
- foaf:name "David Robillard" ;
- foaf:homepage <http://drobilla.net/> ;
- rdfs:seeAlso <http://drobilla.net/drobilla.xrdf>
+ doap:shortdesc "Provides access to the LV2_Handle of a plugin." ;
+ doap:developer <http://drobilla.net/drobilla#me> ;
+ doap:release [
+ doap:revision "1.4" ;
+ doap:created "2011-11-14" ;
+ doap:file-release <http://lv2plug.in/spec/lv2-instance-access-1.4.tar.bz2> ;
+ dcs:blame <http://drobilla.net/drobilla#me> ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Update packaging."
+ ] , [
+ rdfs:label "Improve documentation."
+ ]
+ ]
+ ] , [
+ doap:revision "1.2" ;
+ doap:created "2011-05-26" ;
+ doap:file-release <http://lv2plug.in/spec/lv2-instance-access-1.2.tar.bz2> ;
+ dcs:blame <http://drobilla.net/drobilla#me> ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Add build system for installation."
+ ] , [
+ rdfs:label "Switch to ISC license."
+ ]
+ ]
+ ] , [
+ doap:revision "1.0" ;
+ doap:created "2010-10-04" ;
+ doap:file-release <http://lv2plug.in/spec/lv2-instance-access-1.0.tar.gz> ;
+ dcs:blame <http://drobilla.net/drobilla#me> ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Initial release."
+ ]
+ ]
] ;
- rdfs:comment """
-This extension defines a method for (e.g.) plugin UIs to get a direct handle to
-an LV2 plugin instance (LV2_Handle), if possible.
+ lv2:documentation """
+<p>This extension defines a feature which allows plugin UIs to get a direct
+handle to an LV2 plugin instance (LV2_Handle), if possible.</p>
-To support this feature the host must pass an LV2_Feature struct to the UI
+<p>To support this feature the host must pass an LV2_Feature struct to the UI
instantiate method with URI "http://lv2plug.in/ns/ext/instance-access" and data
-pointed directly to the LV2_Handle of the plugin instance.
+pointed directly to the LV2_Handle of the plugin instance.</p>
""" .
diff --git a/ext/instance-access.lv2/manifest.ttl b/ext/instance-access.lv2/manifest.ttl
index 67571cf..d6412c5 100644
--- a/ext/instance-access.lv2/manifest.ttl
+++ b/ext/instance-access.lv2/manifest.ttl
@@ -4,6 +4,6 @@
<http://lv2plug.in/ns/ext/instance-access>
a lv2:Specification ;
lv2:minorVersion 1 ;
- lv2:microVersion 2 ;
+ lv2:microVersion 4 ;
rdfs:seeAlso <instance-access.ttl> .
diff --git a/ext/midi.lv2/manifest.ttl b/ext/midi.lv2/manifest.ttl
index a701fe0..a8e194e 100644
--- a/ext/midi.lv2/manifest.ttl
+++ b/ext/midi.lv2/manifest.ttl
@@ -4,6 +4,6 @@
<http://lv2plug.in/ns/ext/midi>
a lv2:Specification ;
lv2:minorVersion 1 ;
- lv2:microVersion 3 ;
+ lv2:microVersion 4 ;
rdfs:seeAlso <midi.ttl> .
diff --git a/ext/midi.lv2/midi.ttl b/ext/midi.lv2/midi.ttl
index bf293d1..0b66f42 100644
--- a/ext/midi.lv2/midi.ttl
+++ b/ext/midi.lv2/midi.ttl
@@ -14,35 +14,70 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+@prefix dcs: <http://ontologi.es/doap-changeset#> .
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
-@prefix ev: <http://lv2plug.in/ns/ext/event#> .
+@prefix ev: <http://lv2plug.in/ns/ext/event#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
-@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix midi: <http://lv2plug.in/ns/ext/midi#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+<http://drobilla.net/drobilla#me>
+ a foaf:Person ;
+ foaf:name "David Robillard" ;
+ foaf:homepage <http://drobilla.net/> ;
+ foaf:mbox <mailto:d@drobilla.net> ;
+ rdfs:seeAlso <http://drobilla.net/drobilla> .
+
+_:larsl
+ a foaf:Person ;
+ foaf:name "Lars Luthman" ;
+ foaf:mbox <mailto:lars.luthman@gmail.com> .
+
<http://lv2plug.in/ns/ext/midi>
a lv2:Specification ;
doap:license <http://opensource.org/licenses/isc-license> ;
doap:name "LV2 MIDI" ;
doap:shortdesc "A data type for raw MIDI." ;
+ doap:maintainer <http://drobilla.net/drobilla#me> ;
+ doap:developer _:larsl ;
doap:release [
- doap:revision "1.3" ;
- doap:created "2011-11-04"
- ] ;
- doap:maintainer [
- a foaf:Person ;
- foaf:name "David Robillard" ;
- foaf:homepage <http://drobilla.net/> ;
- rdfs:seeAlso <http://drobilla.net/drobilla.xrdf>
+ doap:revision "1.4" ;
+ doap:created "2011-11-14" ;
+ doap:file-release <http://lv2plug.in/spec/lv2-midi-1.4.tar.bz2> ;
+ dcs:blame <http://drobilla.net/drobilla#me> ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Update packaging."
+ ] , [
+ rdfs:label "Improve documentation."
+ ]
+ ]
+ ] , [
+ doap:revision "1.2" ;
+ doap:created "2011-05-26" ;
+ doap:file-release <http://lv2plug.in/spec/lv2-midi-1.2.tar.bz2> ;
+ dcs:blame <http://drobilla.net/drobilla#me> ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Add build system for installation."
+ ] , [
+ rdfs:label "Switch to ISC license."
+ ]
+ ]
+ ] , [
+ doap:revision "1.0" ;
+ doap:created "2010-10-04" ;
+ doap:file-release <http://lv2plug.in/spec/lv2-midi-1.0.tar.gz> ;
+ dcs:blame <http://drobilla.net/drobilla#me> ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Initial release."
+ ]
+ ]
] ;
- doap:developer [
- a foaf:Person ;
- foaf:name "Lars Luthman" ;
- foaf:mbox <mailto:lars.luthman@gmail.com>
- ] ;
- lv2:documentation """
+ lv2:documentation """
<p>This extension defines a data type for a MIDI message, midi:MidiEvent, which
is normalized for fast and convenient processing by plugins. It is
particularly useful as the payload of an <a
@@ -58,7 +93,7 @@ midi:MidiEvent
lv2:documentation """
<p>A single raw MIDI message (i.e. a sequence of bytes).</p>
-<p>These is equivalent to a standard MIDI messages, except with the following
+<p>This is equivalent to a standard MIDI messages, except with the following
restrictions to simplify handling:</p>
<ul>
<li>Running status is not allowed, every message must have its own status
diff --git a/ext/presets.lv2/manifest.ttl b/ext/presets.lv2/manifest.ttl
index 09ea111..51985ab 100644
--- a/ext/presets.lv2/manifest.ttl
+++ b/ext/presets.lv2/manifest.ttl
@@ -4,6 +4,6 @@
<http://lv2plug.in/ns/ext/presets>
a lv2:Specification ;
lv2:minorVersion 2 ;
- lv2:microVersion 1 ;
+ lv2:microVersion 2 ;
rdfs:seeAlso <presets.ttl> .
diff --git a/ext/presets.lv2/presets.ttl b/ext/presets.lv2/presets.ttl
index 165fc57..ebe6d0f 100644
--- a/ext/presets.lv2/presets.ttl
+++ b/ext/presets.lv2/presets.ttl
@@ -1,53 +1,70 @@
# LV2 Presets Extension
-# PROVISIONAL
-# Copyright (C) 2009 David Robillard <d@drobilla.net>
+# Copyright 2009-2011 David Robillard <d@drobilla.net>
#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included
-# in all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
-# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-# OTHER DEALINGS IN THE SOFTWARE.
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
+@prefix dcs: <http://ontologi.es/doap-changeset#> .
+@prefix doap: <http://usefulinc.com/ns/doap#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
-@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-@prefix doap: <http://usefulinc.com/ns/doap#> .
-@prefix foaf: <http://xmlns.com/foaf/0.1/> .
-<http://lv2plug.in/ns/ext/presets> a lv2:Specification ;
+<http://drobilla.net/drobilla#me>
+ a foaf:Person ;
+ foaf:name "David Robillard" ;
+ foaf:homepage <http://drobilla.net/> ;
+ foaf:mbox <mailto:d@drobilla.net> ;
+ rdfs:seeAlso <http://drobilla.net/drobilla> .
+
+<http://lv2plug.in/ns/ext/presets>
+ a lv2:Specification ;
doap:license <http://usefulinc.com/doap/licenses/mit> ;
- doap:name "LV2 Presets" ;
+ doap:name "LV2 Presets" ;
doap:shortdesc "Presets for LV2 plugins. " ;
+ doap:maintainer <http://drobilla.net/drobilla#me> ;
doap:release [
- doap:revision "2.1" ;
- doap:created "2010-10-29"
- ] ;
- doap:maintainer [
- a foaf:Person ;
- foaf:name "David Robillard" ;
- foaf:homepage <http://drobilla.net/> ;
- rdfs:seeAlso <http://drobilla.net/drobilla.rdf>
+ doap:revision "2.2" ;
+ doap:created "2011-11-14" ;
+ doap:file-release <http://lv2plug.in/spec/lv2-presets-2.2.tar.bz2> ;
+ dcs:blame <http://drobilla.net/drobilla#me> ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Update packaging."
+ ] , [
+ rdfs:label "Improve documentation."
+ ]
+ ]
+ ] , [
+ doap:revision "2.0" ;
+ doap:created "2010-10-04" ;
+ doap:file-release <http://lv2plug.in/spec/lv2-presets-2.0.tar.gz> ;
+ dcs:blame <http://drobilla.net/drobilla#me> ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Initial release."
+ ]
+ ]
] ;
rdfs:comment """
Defines presets (e.g. named sets of control values) for LV2 plugins.
""" .
-pset:Preset a rdfs:Class ;
+pset:Preset
+ a rdfs:Class ;
rdfs:subClassOf lv2:PluginBase ;
rdfs:label "LV2 Preset" ;
rdfs:subClassOf [
@@ -69,10 +86,11 @@ Each Port on a Preset MUST have at least a lv2:symbol property and a
pset:value property.
""" .
-pset:appliesTo a rdf:Property ;
- rdfs:domain pset:Preset ;
- rdfs:range lv2:Plugin ;
- rdfs:label "Applies to" ;
+pset:appliesTo
+ a rdf:Property ;
+ rdfs:domain pset:Preset ;
+ rdfs:range lv2:Plugin ;
+ rdfs:label "Applies to" ;
rdfs:comment """
Specifies the Plugin(s) a Preset may be applied to. When a Preset applies
to a Plugin, that Preset SHOULD have ports for every control port on that
@@ -85,11 +103,11 @@ in some way. The host SHOULD simply ignore any values on a Preset it does
not understand.
""" .
-pset:value a rdf:Property ;
- rdfs:domain lv2:Port ;
- rdfs:label "Has value" ;
+pset:value
+ a rdf:Property ;
+ rdfs:domain lv2:Port ;
+ rdfs:label "Has value" ;
rdfs:comment """
Specifies the value of a Port on some Preset. This property is used
in a similar way to e.g. lv2:default.
""" .
-
diff --git a/extensions/ui.lv2/lv2-ui.doap.ttl b/extensions/ui.lv2/lv2-ui.doap.ttl
index 0f9c03a..44b135d 100644
--- a/extensions/ui.lv2/lv2-ui.doap.ttl
+++ b/extensions/ui.lv2/lv2-ui.doap.ttl
@@ -56,7 +56,7 @@
dcs:blame <http://drobilla.net/drobilla#me> ;
dcs:changeset [
dcs:item [
- rdfs:label "Initial packaging."
+ rdfs:label "Initial release."
]
]
] .
diff --git a/gendoc.py b/gendoc.py
index 84442f0..2f6ae7e 100755
--- a/gendoc.py
+++ b/gendoc.py
@@ -170,13 +170,18 @@ for dir in ['ext', 'extensions']:
date = None
for r in model.triples([ext_node, doap.release, None]):
revision = model.value(r[2], doap.revision, None)
- if revision != ("%d.%d" % (minor, micro)):
- print("warning: %s: doap:revision %s != %d.%d" % (
- bundle, revision, minor, micro))
- continue
+ if revision == ("%d.%d" % (minor, micro)):
+ date = model.value(r[2], doap.created, None)
+ break
- date = model.value(r[2], doap.created, None)
- break
+ # Verify that this date is the latest
+ for r in model.triples([ext_node, doap.release, None]):
+ revision = model.value(r[2], doap.revision, None)
+ this_date = model.value(r[2], doap.created, None)
+ if this_date > date:
+ print "warning: revision %d.%d (%s) is not the latest release" % (
+ minor, micro, date)
+ break
# Get short description
shortdesc = model.value(ext_node, doap.shortdesc, None)