From 0e9fc1d162c3a05e472a0b6b88ebb6826cf13d3b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 22 May 2019 14:17:59 +0300 Subject: Document package manifest upstream-version value --- doc/manual.cli | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/manual.cli b/doc/manual.cli index 51a09bf..9b57bd7 100644 --- a/doc/manual.cli +++ b/doc/manual.cli @@ -567,12 +567,20 @@ names, etc. \ version: +[upstream-version]: \ The package version. See \l{#package-version Package Version} for the version format description. Note that the version case is preserved for display, in file names, etc. +When packaging existing projects, sometimes you may want to deviate from the +upstream versioning scheme because, for example, it may not be representable +as a \c{bpkg} package version or simply be inconvenient to work with. In this +case you would need to come up with an upstream-to-downstream version mapping +and use the \c{upstream-version} value to preserve the original version for +information. + \h2#manifest-package-project|\c{project}| -- cgit v1.1