pub async fn repository( repo: &Repository, self_path: Option<&Path>, user: Option<&str>, name: &str, channel: &str, no_cert_check: bool, with_path: bool, ) -> Result<RemoteRepo, Error>