Skip to content

Commit 64e8d97

Browse files
author
Trong Nhan Mai
committed
chore: add a small log message at the beginning of build spec generation
1 parent e0a9b77 commit 64e8d97

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/macaron/__main__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,13 @@ def gen_build_spec(gen_build_spec_args: argparse.Namespace) -> int:
266266
logger.error("Cannot parse purl %s. Error %s", gen_build_spec_args.package_url, error)
267267
return os.EX_USAGE
268268

269+
logger.info(
270+
"Generating %s buildspec for PURL %s from %s.",
271+
output_format,
272+
purl,
273+
gen_build_spec_args.database,
274+
)
275+
269276
build_spec_content = gen_build_spec_str(
270277
purl=purl,
271278
database_path=gen_build_spec_args.database,

0 commit comments

Comments
 (0)