From bec0f791b78813c2bd2136e802ba185ade586871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Thu, 17 Jun 2021 21:19:35 +0200 Subject: [PATCH] Manual.md: disallow variables in version back - xbps-checkvers substitute whole parameters ignoring #, %, :N varieties, that's captious - templates can be updated mechanically with scripts like xupdate - easier to lint --- Manual.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Manual.md b/Manual.md index 78f58d18e0d..d743276d3f0 100644 --- a/Manual.md +++ b/Manual.md @@ -462,9 +462,7 @@ the generated `binary packages` have been modified. - `short_desc` A string with a brief description for this package. Max 72 chars. - `version` A string with the package version. Must not contain dashes or underscore -and at least one digit is required. Using bash's pattern substitution and prefix and -suffix matching isn't supported, since this field needs to be parsed by -`xbps-checkvers(1)`. Using variables in this field should be avoided. +and at least one digit is required. Shell's variable substition usage is not allowed. Neither `pkgname` or `version` should contain special characters which make it necessary to quote them, so they shouldn't be quoted in the template.