mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 07:22:29 +03:00
flesh out Update Check Mode entries in the manual
This commit is contained in:
parent
ec9cf565ab
commit
68b1bee635
1 changed files with 37 additions and 13 deletions
|
@ -955,33 +955,57 @@ Valid modes are:
|
||||||
@itemize
|
@itemize
|
||||||
@item
|
@item
|
||||||
@code{None} - No checking is done because there's no appropriate automated way
|
@code{None} - No checking is done because there's no appropriate automated way
|
||||||
of doing so. Updates should be checked for manually.
|
of doing so. Updates should be checked for manually. Use this, for example,
|
||||||
|
when deploying betas or patched versions; when builds are done in a directory
|
||||||
|
different to where the AndroidManifest.xml is; if the developers use the
|
||||||
|
gradle build system and store version info in a separate file; if the
|
||||||
|
developers make a new branch for each release and don't make tags; or if you've
|
||||||
|
changed the package name or version code logic.
|
||||||
@item
|
@item
|
||||||
@code{Static} - No checking is done—either development has ceased or new versions
|
@code{Static} - No checking is done—either development has ceased or new versions
|
||||||
are not desired. This method is also used when there is no other checking method
|
are not desired. This method is also used when there is no other checking method
|
||||||
available and the upstream developer keeps us posted on new versions.
|
available and the upstream developer keeps us posted on new versions.
|
||||||
@item
|
@item
|
||||||
@code{RepoManifest} - The AndroidManifest.xml file in the most recent commit
|
@code{RepoManifest} - At the most recent commit, the AndroidManifest.xml file
|
||||||
in the source repository is checked. The appropriateness of this method depends
|
is looked for in the directory where it was found in the the most recent build.
|
||||||
on the development process used by the application's developers. You should not
|
The appropriateness of this method depends on the development process used by
|
||||||
specify this method unless you're sure it's appropriate.
|
the application's developers. You should not specify this method unless you're
|
||||||
It currently works for every repository type to different extents. For git,
|
sure it's appropriate. For example, some developers bump the version when
|
||||||
git-svn and hg repo types, you may use "RepoManifest/yourbranch" as UCM so
|
commencing development instead of when publishing.
|
||||||
that "yourbranch" would be the branch used in place of the default one. The
|
It will return an error if the AndroidManifest.xml has moved to a different
|
||||||
default values are "master" for git, "default" for hg and none for git-svn (it
|
directory. The current version that it gives may not be accurate, since not all
|
||||||
stays in the same branch). On the other hand, branch support hasn't been
|
versions are fit to be published. Therefore, before building, it is often
|
||||||
implemented yet in bzr and svn, but RepoManifest may still be used without it.
|
necessary to check if the current version has been published somewhere by the
|
||||||
|
upstream developers, either by checking for apks that they distribute or for
|
||||||
|
tags in the source code repository.
|
||||||
|
|
||||||
|
It currently works for every repository type to different extents, except
|
||||||
|
the srclib repo type. For git, git-svn and hg repo types, you may use
|
||||||
|
"RepoManifest/yourbranch" as UCM so that "yourbranch" would be the branch used
|
||||||
|
in place of the default one. The default values are "master" for git,
|
||||||
|
"default" for hg and none for git-svn (it stays in the same branch).
|
||||||
|
On the other hand, branch support hasn't been implemented yet in bzr and svn,
|
||||||
|
but RepoManifest may still be used without it.
|
||||||
@item
|
@item
|
||||||
@code{Tags} - The AndroidManifest.xml file in all tagged revisions in the
|
@code{Tags} - The AndroidManifest.xml file in all tagged revisions in the
|
||||||
source repository is checked, looking for the highest version code. The
|
source repository is checked, looking for the highest version code. The
|
||||||
appropriateness of this method depends on the development process used by the
|
appropriateness of this method depends on the development process used by the
|
||||||
application's developers. You should not specify this method unless you're sure
|
application's developers. You should not specify this method unless you're sure
|
||||||
it's appropriate.
|
it's appropriate. It shouldn't be used if the developers like to tag betas or
|
||||||
|
are known to forget to tag releases. Like RepoManifest, it will not return the
|
||||||
|
correct value if the directory containing the AndroidManifest.xml has moved.
|
||||||
|
Despite these caveats, it is the often the favourite update check mode.
|
||||||
|
|
||||||
It currently only works for git and git-svn repositories. In the case of the
|
It currently only works for git and git-svn repositories. In the case of the
|
||||||
latter, the repo URL must encode the path to the trunk and tags.
|
latter, the repo URL must encode the path to the trunk and tags.
|
||||||
@item
|
@item
|
||||||
@code{Market} - This is being phased out and should only be used when the other
|
@code{Market} - This is being phased out and should only be used when the other
|
||||||
automatic modes don't work.
|
automatic modes don't work. It won't work if the developer deploys multiple
|
||||||
|
apks to Google Play; if the current version does not have more than one
|
||||||
|
review; or if the package has been abandoned in favour of another.
|
||||||
|
Nevertheless, it can often be helpful to consult Google Play for version
|
||||||
|
information when checking the validity of the current version obtained via
|
||||||
|
RepoManifest.
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
@node Auto Update Mode
|
@node Auto Update Mode
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue