Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2016 10:29:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210251] GH_TUPLE generates wrong download url when group name includes a dash
Message-ID:  <bug-210251-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210251

            Bug ID: 210251
           Summary: GH_TUPLE generates wrong download url when group name
                    includes a dash
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: alexander@treg.io
                CC: freebsd-ports-bugs@FreeBSD.org

When including a dash in the group name of a GH_TUPLE a wrong download link=
 is
generated.

Using:
GH_TUPLE=3D   dgrijalva:jwt-go:61124b62ad244d655f87d944aefaa2ae5a0d2f16:jwt=
-go

Running "make fetch" fails with the following message:
=3D> dgrijalva-jwt-go-61124b62ad244d655f87d944aefaa2ae5a0d2f16_GH0.tar.gz d=
oesn't
seem to exist in /usr/ports/distfiles/.
=3D> Attempting to fetch
godgrijalva-jwt-go-61124b62ad244d655f87d944aefaa2ae5a0d2f16_GH0.tar.gz
fetch: godgrijalva-jwt-go-61124b62ad244d655f87d944aefaa2ae5a0d2f16_GH0.tar.=
gz:
No such file or directory
=3D> Attempting to fetch
http://distcache.FreeBSD.org/ports-distfiles/dgrijalva-jwt-go-61124b62ad244=
d655f87d944aefaa2ae5a0d2f16_GH0.tar.gz
fetch:
http://distcache.FreeBSD.org/ports-distfiles/dgrijalva-jwt-go-61124b62ad244=
d655f87d944aefaa2ae5a0d2f16_GH0.tar.gz:
Not Found
=3D> Couldn't fetch it - please try to retrieve this
=3D> port manually into /usr/ports/distfiles/ and try again.

It seems to be adding everything specified after the dash to the url used by
fetch.

When changing the group name to jwtgo, the download succeeds:
GH_TUPLE=3D   dgrijalva:jwt-go:61124b62ad244d655f87d944aefaa2ae5a0d2f16:jwt=
go

=3D> dgrijalva-jwt-go-61124b62ad244d655f87d944aefaa2ae5a0d2f16_GH0.tar.gz d=
oesn't
seem to exist in /usr/ports/distfiles/.
=3D> Attempting to fetch
https://codeload.github.com/dgrijalva/jwt-go/tar.gz/61124b62ad244d655f87d94=
4aefaa2ae5a0d2f16?dummy=3D/dgrijalva-jwt-go-61124b62ad244d655f87d944aefaa2a=
e5a0d2f16_GH0.tar.gz
fetch:
https://codeload.github.com/dgrijalva/jwt-go/tar.gz/61124b62ad244d655f87d94=
4aefaa2ae5a0d2f16?dummy=3D/dgrijalva-jwt-go-61124b62ad244d655f87d944aefaa2a=
e5a0d2f16_GH0.tar.gz:
size unknown
fetch:
https://codeload.github.com/dgrijalva/jwt-go/tar.gz/61124b62ad244d655f87d94=
4aefaa2ae5a0d2f16?dummy=3D/dgrijalva-jwt-go-61124b62ad244d655f87d944aefaa2a=
e5a0d2f16_GH0.tar.gz:
size of remote file is not known
dgrijalva-jwt-go-61124b62ad244d655f87d944aefaa          13 kB   65 MBps 00m=
00s

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210251-13>