Skip to content

Return bare hostname when importing a project

Vitaly Slobodin requested to merge vs/ipv6-bare-address-import into master

What does this MR do and why?

Addressable::host returns a literal IPv6 address for hosts which resolve to an IPv6 address but literal IPv6 address is not valid for Go parser in gitaly thus gitaly fails to import such an address. For more information and details check this thread for more details.

Closes gitlab-development-kit#1631 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vitaly Slobodin

Merge request reports