2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 13:09:01 +00:00

Merge pull request #1046 from gavindsouza/change-defaults

fix(install): Show Debian 10 is supported, update MariaDB defaults
This commit is contained in:
gavin 2020-08-07 13:57:28 +05:30 committed by GitHub
commit 584d707421
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,7 @@ def check_distribution_compatibility():
supported_dists = { supported_dists = {
'macos': [10.9, 10.10, 10.11, 10.12], 'macos': [10.9, 10.10, 10.11, 10.12],
'ubuntu': [14, 15, 16, 18, 19], 'ubuntu': [14, 15, 16, 18, 19],
'debian': [8, 9], 'debian': [8, 9, 10],
'centos': [7] 'centos': [7]
} }
@ -396,7 +396,7 @@ def parse_commandline_args():
parser.add_argument('--overwrite', dest='overwrite', action='store_true', default=False, help='Whether to overwrite an existing bench') parser.add_argument('--overwrite', dest='overwrite', action='store_true', default=False, help='Whether to overwrite an existing bench')
# set passwords # set passwords
parser.add_argument('--mysql-root-password', dest='mysql_root_password', help='Set mysql root password') parser.add_argument('--mysql-root-password', dest='mysql_root_password', help='Set mysql root password')
parser.add_argument('--mariadb-version', dest='mariadb_version', default='10.2', help='Specify mariadb version') parser.add_argument('--mariadb-version', dest='mariadb_version', default='10.4', help='Specify mariadb version')
parser.add_argument('--admin-password', dest='admin_password', help='Set admin password') parser.add_argument('--admin-password', dest='admin_password', help='Set admin password')
parser.add_argument('--bench-name', dest='bench_name', help='Create bench with specified name. Default name is frappe-bench') parser.add_argument('--bench-name', dest='bench_name', help='Create bench with specified name. Default name is frappe-bench')
# Python interpreter to be used # Python interpreter to be used