Better wording with dependency resolving

This commit is contained in:
Ivan Kravets
2022-07-02 20:17:31 +03:00
parent 2a5de43964
commit d2e27f5385
4 changed files with 4 additions and 12 deletions

View File

@ -100,9 +100,7 @@ def install_project_dependencies(options):
if environments and env not in environments:
continue
if not options.get("silent"):
click.echo(
"Resolving %s environment packages..." % click.style(env, fg="cyan")
)
click.echo("Resolving %s dependencies..." % click.style(env, fg="cyan"))
already_up_to_date = not install_project_env_dependencies(env, options)
if not options.get("silent") and already_up_to_date:
click.secho("Already up-to-date.", fg="green")

View File

@ -163,9 +163,7 @@ def list_project_packages(options):
for env in config.envs():
if environments and env not in environments:
continue
click.echo(
"Resolving %s environment packages..." % click.style(env, fg="cyan")
)
click.echo("Resolving %s dependencies..." % click.style(env, fg="cyan"))
found = False
if not only_packages or only_platform_packages:
_found = print_project_env_platform_packages(env, options)

View File

@ -92,9 +92,7 @@ def uninstall_project_dependencies(options):
if environments and env not in environments:
continue
if not options["silent"]:
click.echo(
"Resolving %s environment packages..." % click.style(env, fg="cyan")
)
click.echo("Resolving %s dependencies..." % click.style(env, fg="cyan"))
already_up_to_date = not uninstall_project_env_dependencies(env, options)
if not options["silent"] and already_up_to_date:
click.secho("Already up-to-date.", fg="green")

View File

@ -95,9 +95,7 @@ def update_project_dependencies(options):
if environments and env not in environments:
continue
if not options["silent"]:
click.echo(
"Resolving %s environment packages..." % click.style(env, fg="cyan")
)
click.echo("Resolving %s dependencies..." % click.style(env, fg="cyan"))
already_up_to_date = not update_project_env_dependencies(env, options)
if not options["silent"] and already_up_to_date:
click.secho("Already up-to-date.", fg="green")