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
This commit is contained in:
parent
7999992446
commit
bec0f791b7
|
@ -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.
|
- `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
|
- `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
|
and at least one digit is required. Shell's variable substition usage is not allowed.
|
||||||
suffix matching isn't supported, since this field needs to be parsed by
|
|
||||||
`xbps-checkvers(1)`. Using variables in this field should be avoided.
|
|
||||||
|
|
||||||
Neither `pkgname` or `version` should contain special characters which make it
|
Neither `pkgname` or `version` should contain special characters which make it
|
||||||
necessary to quote them, so they shouldn't be quoted in the template.
|
necessary to quote them, so they shouldn't be quoted in the template.
|
||||||
|
|
Loading…
Reference in New Issue