diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-09-15 17:46:51 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-09-15 17:46:51 -0400 |
commit | e0096fb16bcf61c0af22d99a62787385c603a26e (patch) | |
tree | ff3a22566335be6af0ffec84aef8cee1e0f7d0b7 | |
parent | Read longdescriptions in english. (diff) | |
download | soko-e0096fb16bcf61c0af22d99a62787385c603a26e.tar.gz soko-e0096fb16bcf61c0af22d99a62787385c603a26e.tar.bz2 soko-e0096fb16bcf61c0af22d99a62787385c603a26e.zip |
Add freedesktop-gitlab and gnome-gitlab remote-ids
Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r-- | pkg/app/handler/packages/utils.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/app/handler/packages/utils.go b/pkg/app/handler/packages/utils.go index 1e2004d..b187f50 100644 --- a/pkg/app/handler/packages/utils.go +++ b/pkg/app/handler/packages/utils.go @@ -375,6 +375,8 @@ func RemoteIdLink(remoteId models.RemoteId) string { return "https://cran.r-project.org/web/packages/" + remoteId.Id + "/" case "ctan": return "https://ctan.org/pkg/" + remoteId.Id + case "freedesktop-gitlab": + return "https://gitlab.freedesktop.org/" + remoteId.Id + ".git/" case "gentoo": return "https://gitweb.gentoo.org/" + remoteId.Id + ".git/" case "github": @@ -383,6 +385,8 @@ func RemoteIdLink(remoteId models.RemoteId) string { return "https://gitlab.com/" + remoteId.Id case "gitorious": return "https://gitorious.org/" + remoteId.Id + "/" + case "gnome-gitlab": + return "https://gitlab.gnome.org/" + remoteId.Id + ".git/" case "google-code": return "https://code.google.com/archive/p/" + remoteId.Id + "/" case "heptapod": |