Commit bf91753d authored by romainx's avatar romainx

minor changes on outdated package helper

parent b6ca2929
......@@ -49,7 +49,7 @@ build/%: ## build the latest image for a stack
build-all: $(foreach I,$(ALL_IMAGES),arch_patch/$(I) build/$(I) ) ## build all stacks
build-test-all: $(foreach I,$(ALL_IMAGES),arch_patch/$(I) build/$(I) test/$(I) ) ## build and test all stacks
check_outdated/%: ## Check the outdated conda packages in a stack and produce a report (experimental)
check-outdated/%: ## check the outdated conda packages in a stack and produce a report (experimental)
@TEST_IMAGE="$(OWNER)/$(notdir $@)" pytest test/test_outdated.py
dev/%: ARGS?=
......
......@@ -73,7 +73,7 @@ def print_result(installed, result):
nb_updatable = len(result)
updatable_ratio = nb_updatable / nb_packages
LOGGER.info(
f"{nb_updatable} packages can be updated over {nb_packages} -> {updatable_ratio:.0%}"
f"{nb_updatable}/{nb_packages} ({updatable_ratio:.0%}) packages could be updated"
)
LOGGER.info(f"\n{tabulate(result, headers='keys')}\n")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment