From 3badd8f21c611b7722fb751a5063931d0173a4c6 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Tue, 7 Nov 2023 00:38:23 +0100 Subject: [PATCH] Improve text in tagging files --- tagging/apply_tags.py | 4 ++-- tagging/update_wiki.py | 6 +++--- tagging/write_tags_file.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tagging/apply_tags.py b/tagging/apply_tags.py index e8129167..784cd778 100755 --- a/tagging/apply_tags.py +++ b/tagging/apply_tags.py @@ -22,8 +22,8 @@ def apply_tags( platform: str, ) -> None: """ - Tags /:latest with the tags - reported by all taggers for the given image. + Tags //:latest with the tags reported by all taggers for this image + Then removes latest tag """ LOGGER.info(f"Tagging image: {short_image_name}") diff --git a/tagging/update_wiki.py b/tagging/update_wiki.py index b55ae1fd..03c6468c 100755 --- a/tagging/update_wiki.py +++ b/tagging/update_wiki.py @@ -97,19 +97,19 @@ if __name__ == "__main__": "--wiki-dir", required=True, type=Path, - help="Directory for wiki repo", + help="Directory of the wiki repo", ) arg_parser.add_argument( "--hist-line-dir", required=True, type=Path, - help="Directory to save history line", + help="Directory with history lines", ) arg_parser.add_argument( "--manifest-dir", required=True, type=Path, - help="Directory to save manifest file", + help="Directory with manifest files", ) args = arg_parser.parse_args() diff --git a/tagging/write_tags_file.py b/tagging/write_tags_file.py index cfdea2ac..5f063aa6 100755 --- a/tagging/write_tags_file.py +++ b/tagging/write_tags_file.py @@ -19,7 +19,7 @@ def write_tags_file( tags_dir: Path, ) -> None: """ - Writes tags file for the image /:latest + Writes tags file for the image //:latest """ LOGGER.info(f"Tagging image: {short_image_name}") taggers, _ = get_taggers_and_manifests(short_image_name)