mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Brief addition of missing auto-update docs
This commit is contained in:
parent
1a71dbf745
commit
9bd017d78f
1 changed files with 31 additions and 0 deletions
|
|
@ -436,6 +436,7 @@ The following sections describe the fields recognised within the file.
|
||||||
* Disabled::
|
* Disabled::
|
||||||
* Requires Root::
|
* Requires Root::
|
||||||
* Update Check Mode::
|
* Update Check Mode::
|
||||||
|
* Auto Update Mode::
|
||||||
* Current Version::
|
* Current Version::
|
||||||
* Current Version Code::
|
* Current Version Code::
|
||||||
@end menu
|
@end menu
|
||||||
|
|
@ -908,6 +909,36 @@ it's appropriate. (Also, it currently only works for git repositories).
|
||||||
@code{Market} - This is being phased out and should not be used!
|
@code{Market} - This is being phased out and should not be used!
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
|
@node Auto Update Mode
|
||||||
|
@section Auto Update Mode
|
||||||
|
|
||||||
|
@cindex Auto Update Mode
|
||||||
|
|
||||||
|
This determines the method using for auto-generating new builds new releases are
|
||||||
|
available - in other words, adding a new Build Version line to the metadata.
|
||||||
|
This happens in conjunction with the 'Update Check Mode' functionality - i.e.
|
||||||
|
when an update is detected by that, it is also processed by this.
|
||||||
|
|
||||||
|
Valid modes are:
|
||||||
|
|
||||||
|
@itemize
|
||||||
|
@item
|
||||||
|
@code{None} - No auto-updating is done
|
||||||
|
@item
|
||||||
|
@code{Version} - Identifies the target commit (i.e. tag) for the new build based
|
||||||
|
on the given version specification, which is simply text in which %v and %c are
|
||||||
|
replaced with the required version name and version code respectively.
|
||||||
|
|
||||||
|
For example, if an app always has a tag "2.7.2" corresponding to version 2.7.2,
|
||||||
|
you would simply specify "Version %v". If an app always has a tag "ver_1234"
|
||||||
|
for a version with version code 1234, you would specify "Version ver_%c".
|
||||||
|
|
||||||
|
Additionally, a suffix can be added to the version name at this stage, to
|
||||||
|
differentiate F-Droid's build from the original. Continuing the first example
|
||||||
|
above, you would specify that as "Version +-fdroid %v" - "-fdroid" is the suffix.
|
||||||
|
@end itemize
|
||||||
|
|
||||||
|
|
||||||
@node Current Version
|
@node Current Version
|
||||||
@section Current Version
|
@section Current Version
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue