fetchFromGitLab: support invent.kde.org

This commit is contained in:
figsoda 2023-02-01 14:59:49 -05:00
parent 337ca798eb
commit 70732daa95

View File

@ -114,7 +114,9 @@ fn main() -> Result<()> {
(None, Some(host), _) if host.starts_with("gitlab.") => {
FetchFromGitLab::new(Some(host)).into()
}
(None, Some(host @ "salsa.debian.org"), _) => FetchFromGitLab::new(Some(host)).into(),
(None, Some(host @ ("invent.kde.org" | "salsa.debian.org")), _) => {
FetchFromGitLab::new(Some(host)).into()
}
(Some(FetcherFunction::FetchFromGitLab), Some(host), _) => {
FetchFromGitLab::new(Some(host)).into()
}