Skip to content

Commit 50eaa7d

Browse files
committed
debug prints for download_metadata function
1 parent 3e3ad65 commit 50eaa7d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/gardenlinux/github/release_notes/helpers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from gardenlinux.logger import LoggerSetup
1919
from gardenlinux.s3 import S3Artifacts
2020

21-
LOGGER = LoggerSetup.get_logger("gardenlinux.github.release_notes.helpers", "INFO")
21+
LOGGER = LoggerSetup.get_logger("gardenlinux.github.release_notes.helpers", "DEBUG")
2222

2323

2424
def get_package_list(gardenlinux_version):
@@ -53,6 +53,8 @@ def download_all_metadata_files(version, commitish, s3_bucket_name):
5353
commit = repo.commit(commitish)
5454
flavors_data = commit.tree["flavors.yaml"].data_stream.read().decode("utf-8")
5555
flavors = FlavorsParser(flavors_data).filter(only_publish=True)
56+
LOGGER.debug(f"{flavors_data=}")
57+
LOGGER.debug(f"{flavors=}")
5658

5759
local_dest_path = Path("s3_downloads")
5860
if local_dest_path.exists():

0 commit comments

Comments
 (0)