Skip to content

maintain-harbor: format tool names to pass harbor project name validation

Raymond Ndibe requested to merge fix_project_name_bug into master

create function to_harbor_name_format that converts toolforge tool names to a format that pass harbor project name validation.

This is done by replacing the offending character (always "-" in this case) with it's sha256 hash. to revert back to the original toolforge name we just replace the hash with empty string.

Depends on !9 (merged)

Bug: #336584

Signed-off-by: Ndibe Raymond Olisaemeka rolisaemeka-ctr@wikimedia.org

Edited by David Caro

Merge request reports