Skip to content

Commit 11beba8

Browse files
committed
Handle salsa.debian.org too in tarballFromHoster()
to fetch pristine tarball (.gz) instead of compressing our own (.xz)
1 parent b851343 commit 11beba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func (u *upstream) tarballFromHoster() error {
150150
case "github.com":
151151
tarURL = fmt.Sprintf("%s/archive/%s.tar.%s",
152152
repo, u.tag, u.compression)
153-
case "gitlab.com":
153+
case "gitlab.com", "salsa.debian.org":
154154
parts := strings.Split(repoU.Path, "/")
155155
if len(parts) < 3 {
156156
return fmt.Errorf("incomplete repo URL: %s", u.rr.Repo)

0 commit comments

Comments
 (0)