/// A comparison key for repository URLs: host and path, lowercased,
/// without scheme, user, `.git` or trailing slashes.
///
/// ```
/// use odx_core::repo_key;
///
/// assert_eq!(repo_key("https://github.com/OCA/pos.git"), "github.com/oca/pos");
/// assert_eq!(repo_key("git@github.com:OCA/pos"), "github.com/oca/pos");
/// assert_eq!(repo_key("ssh://git@github.com/OCA/pos/"), "github.com/oca/pos");
/// assert_eq!(repo_key("HTTPS://GitHub.com/OCA/pos"), "github.com/oca/pos");
/// ```