mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 07:52:35 +03:00
update sample and add error to reflect the default basedir: .*/fdroid/repo
For user-generated repos, the default path/URL is .*/fdroid/repo, with fdroid/ as the root where the 'fdroid' tool operates. This makes for a URL that is quite unique and easily matched automatically using patterns, like in fdroidclient. For those who don't like the standard, they can override the errror from config.py using nonstandardwebroot = True
This commit is contained in:
parent
c21ab7dbdf
commit
71020a9e6d
3 changed files with 27 additions and 8 deletions
|
@ -87,9 +87,15 @@ keyaliases['com.example.app'] = 'example'
|
|||
#the @ prefix.
|
||||
keyaliases['com.example.another.plugin'] = '@com.example.another'
|
||||
|
||||
#The ssh path to the server's public web root directory. This is used for
|
||||
#uploading data, etc.
|
||||
serverwebroot = 'user@example:/var/www/repo'
|
||||
# The full path to the root of the repository. It must be specified in
|
||||
# rsync/ssh format for a remote host/path. This is used for syncing a locally
|
||||
# generated repo to the server that is it hosted on. It must end in the
|
||||
# standard public repo name of "/fdroid", but can be in up to three levels of
|
||||
# sub-directories (i.e. /var/www/packagerepos/fdroid).
|
||||
serverwebroot = 'user@example:/var/www/fdroid'
|
||||
|
||||
# If you want to force 'fdroid server' to use a non-standard serverwebroot
|
||||
#nonstandardwebroot = True
|
||||
|
||||
#Wiki details
|
||||
wiki_protocol = "http"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue