New metadata field: Vercode Operation

This commit is contained in:
Daniel Martí 2013-11-01 13:25:50 +01:00
parent 0c8283bc1a
commit d507b2e894
3 changed files with 36 additions and 13 deletions

View file

@ -476,6 +476,7 @@ The following sections describe the fields recognised within the file.
* Requires Root::
* Archive Policy::
* Update Check Mode::
* Vercode Operation::
* Update Check Data::
* Auto Update Mode::
* Current Version::
@ -1136,6 +1137,20 @@ again, rather than retrieving a different one.
Used in conjunction with @code{Update Check Mode} for certain modes.
@node Vercode Operation
@section Vercode Operation
@cindex Vercode Operation
Operation to be applied to the vercode obtained by the defined @code{Update
Check Mode}. @code{%c} will be replaced by the actual vercode, and the whole
string will be passed to python's @code{eval} function.
Especially useful with apps that we want to compile for different ABIs, but
whose vercodes don't always have trailing zeros. With @code{Vercode Operation}
set at something like @code{%c*10 + 4}, we will be able to track updates and
build three different versions of every upstream version.
@node Archive Policy
@section Archive Policy