Default site commands to --no-decrypt

The default of pre-command decrypts (--decrypt) being enabled is causing
some non-intuitive behavior in what files are being overwritten by the
decrypt action. This change will disable pre-command decrypt by default
(--no-decrypt) until pre-command decrypt is updated.

Change-Id: Iadad0f211fbc549f0f998266666e8ad784e6b8b1
This commit is contained in:
Ian H. Pittwood 2020-01-10 12:53:04 -06:00
parent ff9c95f423
commit 69603045a5
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ def lint_repo(*, fail_on_missing_sub_src, exclude_lint, warn_lint):
@click.option( @click.option(
'--decrypt/--no-decrypt', '--decrypt/--no-decrypt',
'decrypt_repos', 'decrypt_repos',
default=True, default=False,
help='Automatically attempts to decrypt repositories before executing ' help='Automatically attempts to decrypt repositories before executing '
'the command. Decryption will happen after repositories are copied to ' 'the command. Decryption will happen after repositories are copied to '
'the temporary directory created by pegleg or the user specified ' 'the temporary directory created by pegleg or the user specified '

View File

@ -50,7 +50,7 @@ def run_config(
repo_username, repo_username,
extra_repositories, extra_repositories,
run_umask=True, run_umask=True,
decrypt_repos=True): decrypt_repos=False):
"""Initializes pegleg configuration data """Initializes pegleg configuration data
:param site_repository: path or URL for site repository :param site_repository: path or URL for site repository