@@ -567,31 +567,32 @@ func normalizeDebianPackageName(str string) string {
567
567
func shortHostName (gopkg string , allowUnknownHoster bool ) (host string , err error ) {
568
568
knownHosts := map [string ]string {
569
569
// keep the list in alphabetical order
570
- "bazil.org" : "bazil" ,
571
- "bitbucket.org" : "bitbucket" ,
572
- "blitiri.com.ar" : "blitiri" ,
573
- "cloud.google.com" : "googlecloud" ,
574
- "code.google.com" : "googlecode" ,
575
- "filippo.io" : "filippo" ,
576
- "fyne.io" : "fyne" ,
577
- "git.sr.ht" : "sourcehut" ,
578
- "github.com" : "github" ,
579
- "gitlab.com" : "gitlab" ,
580
- "go.cypherpunks.ru" : "cypherpunks" ,
581
- "go.step.sm" : "step" ,
582
- "go.uber.org" : "uber" ,
583
- "go4.org" : "go4" ,
584
- "gocloud.dev" : "gocloud" ,
585
- "golang.org" : "golang" ,
586
- "google.golang.org" : "google" ,
587
- "gopkg.in" : "gopkg" ,
588
- "honnef.co" : "honnef" ,
589
- "howett.net" : "howett" ,
590
- "k8s.io" : "k8s" ,
591
- "pault.ag" : "pault" ,
592
- "rsc.io" : "rsc" ,
593
- "salsa.debian.org" : "debian" ,
594
- "sigs.k8s.io" : "k8s-sigs" ,
570
+ "bazil.org" : "bazil" ,
571
+ "bitbucket.org" : "bitbucket" ,
572
+ "blitiri.com.ar" : "blitiri" ,
573
+ "cloud.google.com" : "googlecloud" ,
574
+ "code.google.com" : "googlecode" ,
575
+ "filippo.io" : "filippo" ,
576
+ "fyne.io" : "fyne" ,
577
+ "git.sr.ht" : "sourcehut" ,
578
+ "github.com" : "github" ,
579
+ "gitlab.com" : "gitlab" ,
580
+ "go.cypherpunks.ru" : "cypherpunks" ,
581
+ "go.step.sm" : "step" ,
582
+ "go.uber.org" : "uber" ,
583
+ "go4.org" : "go4" ,
584
+ "gocloud.dev" : "gocloud" ,
585
+ "golang.org" : "golang" ,
586
+ "google.golang.org" : "google" ,
587
+ "gopkg.in" : "gopkg" ,
588
+ "honnef.co" : "honnef" ,
589
+ "howett.net" : "howett" ,
590
+ "k8s.io" : "k8s" ,
591
+ "pault.ag" : "pault" ,
592
+ "rsc.io" : "rsc" ,
593
+ "salsa.debian.org" : "debian" ,
594
+ "sigs.k8s.io" : "k8s-sigs" ,
595
+ "software.sslmate.com" : "sslmate" ,
595
596
}
596
597
parts := strings .Split (gopkg , "/" )
597
598
fqdn := parts [0 ]
0 commit comments