[Blends-commit] [SCM] website branch, master, updated. d388e14f34395fff8030ed7dd96615dd3ae9c365
Andreas Tille
tille at debian.org
Fri Feb 5 19:21:32 UTC 2016
The following commit has been merged in the master branch:
commit d388e14f34395fff8030ed7dd96615dd3ae9c365
Author: Andreas Tille <tille at debian.org>
Date: Fri Feb 5 20:21:13 2016 +0100
drop biolinux version extension as well
diff --git a/misc/sql/edam.sh b/misc/sql/edam.sh
index eef98a4..b54f10c 100755
--- a/misc/sql/edam.sh
+++ b/misc/sql/edam.sh
@@ -39,7 +39,7 @@ $JSONBEGIN
-- (
SELECT DISTINCT
p.package, p.distribution, p.release, p.component,
- regexp_replace(regexp_replace(regexp_replace(p.version, '-[.\d]+$', ''), '\+dfsg.*$', '') , '\+lgpl.*$', '') AS version, -- strip Debian revision
+ regexp_replace(regexp_replace(regexp_replace(regexp_replace(p.version, '-[.\d]+$', ''), '\+dfsg.*$', '') , '\+lgpl.*$', ''), '-\d*biolinux\d*$', '') AS version, -- strip Debian revision and other extensions to upstream version
p.source, p.homepage,
en.description AS description, en.long_description AS long_description,
interface.tags AS interface, biology.tags AS biology, field.tags AS fields, use.tags AS use,
--
Static and dynamic websites for Debian Pure Blends
More information about the Blends-commit
mailing list