Skip to content

Commit

Permalink
Improve text in tagging files
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru committed Nov 6, 2023
1 parent 5f8f5b6 commit 3badd8f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tagging/apply_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def apply_tags(
platform: str,
) -> None:
"""
Tags <owner>/<short_image_name>:latest with the tags
reported by all taggers for the given image.
Tags <registry>/<owner>/<short_image_name>:latest with the tags reported by all taggers for this image
Then removes latest tag
"""
LOGGER.info(f"Tagging image: {short_image_name}")

Expand Down
6 changes: 3 additions & 3 deletions tagging/update_wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,19 +97,19 @@ def update_wiki(wiki_dir: Path, hist_line_dir: Path, manifest_dir: Path) -> None
"--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()

Expand Down
2 changes: 1 addition & 1 deletion tagging/write_tags_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def write_tags_file(
tags_dir: Path,
) -> None:
"""
Writes tags file for the image <owner>/<short_image_name>:latest
Writes tags file for the image <registry>/<owner>/<short_image_name>:latest
"""
LOGGER.info(f"Tagging image: {short_image_name}")
taggers, _ = get_taggers_and_manifests(short_image_name)
Expand Down

0 comments on commit 3badd8f

Please sign in to comment.