Place more examples/config.py stuff into the defaults

This commit is contained in:
Daniel Martí 2014-06-28 19:57:14 +02:00
parent df6d511a8e
commit a831d484e6
2 changed files with 13 additions and 7 deletions

View file

@ -33,12 +33,10 @@ repo_maxage = 0
repo_url = "https://MyFirstFDroidRepo.org/fdroid/repo" repo_url = "https://MyFirstFDroidRepo.org/fdroid/repo"
repo_name = "My First FDroid Repo Demo" repo_name = "My First FDroid Repo Demo"
repo_icon = "fdroid-icon.png" repo_icon = "fdroid-icon.png"
repo_description = """ repo_description = "This is a repository of apps to be used with FDroid. Applications in this "
This is a repository of apps to be used with FDroid. Applications in this "repository are either official binaries built by the original application "
repository are either official binaries built by the original application "developers, or are binaries built from source by the admin of f-droid.org "
developers, or are binaries built from source by the admin of f-droid.org "using the tools on https://gitlab.com/u/fdroid."
using the tools on https://gitlab.com/u/fdroid.
"""
# As above, but for the archive repo. # As above, but for the archive repo.
# archive_older sets the number of versions kept in the main repo, with all # archive_older sets the number of versions kept in the main repo, with all

View file

@ -46,7 +46,6 @@ def get_default_config():
'ant': "ant", 'ant': "ant",
'mvn3': "mvn", 'mvn3': "mvn",
'gradle': 'gradle', 'gradle': 'gradle',
'archive_older': 0,
'sync_from_local_copy_dir': False, 'sync_from_local_copy_dir': False,
'update_stats': False, 'update_stats': False,
'stats_to_carbon': False, 'stats_to_carbon': False,
@ -59,6 +58,15 @@ def get_default_config():
'Description': 1500 'Description': 1500
}, },
'keyaliases': {}, 'keyaliases': {},
'repo_url': "https://MyFirstFDroidRepo.org/fdroid/repo",
'repo_name': "My First FDroid Repo Demo",
'repo_icon': "fdroid-icon.png",
'repo_description':
"This is a repository of apps to be used with FDroid. Applications in this "
"repository are either official binaries built by the original application "
"developers, or are binaries built from source by the admin of f-droid.org "
"using the tools on https://gitlab.com/u/fdroid.",
'archive_older': 0,
} }