From ca5809655e41d96b3e9289f029200203d7ad736c Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 08 Jan 2021 19:03:37 -0500 Subject: metadata/proteanos: Allow epochs in versions --- (limited to 'lib/metadata') diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh index 7b235e5..59f2c14 100644 --- a/lib/metadata/proteanos.sh +++ b/lib/metadata/proteanos.sh @@ -19,6 +19,7 @@ _OB_NAME_RE_PROTEANOS='^[a-z0-9][a-z0-9+.-]+$' _OB_VERSION_RE_PROTEANOS='^' +_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'([1-9][0-9]*:)?' _OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'[0-9a-z.~+]+' _OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'(\+sip[1-9][0-9]*)?' _OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'(-[0-9]+)?' -- cgit v0.9.1