From owner-freebsd-ports@FreeBSD.ORG Wed Apr 1 07:00:04 2015 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C867ED67 for ; Wed, 1 Apr 2015 07:00:04 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8FB9BB52 for ; Wed, 1 Apr 2015 07:00:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id t31704d8043602 for ; Wed, 1 Apr 2015 07:00:04 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id t31704BB043599 for ports@FreeBSD.org; Wed, 1 Apr 2015 07:00:04 GMT (envelope-from bdrewery) Received: (qmail 7576 invoked from network); 1 Apr 2015 02:00:02 -0500 Received: from unknown (HELO ?10.10.1.139?) (freebsd@shatow.net@10.10.1.139) by sweb.xzibition.com with ESMTPA; 1 Apr 2015 02:00:02 -0500 Message-ID: <551B977F.1030809@FreeBSD.org> Date: Wed, 01 Apr 2015 02:00:15 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Don Lewis , ports@FreeBSD.org Subject: Re: github tags containing "/" References: <201504010654.t316sjih002139@gw.catspoiler.org> In-Reply-To: <201504010654.t316sjih002139@gw.catspoiler.org> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="D7nD1KUAtxmKob1k0T4rF1Pc0APotxXue" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2015 07:00:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --D7nD1KUAtxmKob1k0T4rF1Pc0APotxXue Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 4/1/2015 1:54 AM, Don Lewis wrote: > I'm working on a couple of new ports where I'm using fetching the > distfiles from github. One quirk is that the tags start with a prefix > of "tags/v". I'm setting PKGNAMEPREFIX=3D${PYTHON_PKGNAMEPREFIX}. >=20 > If I follow the example for in the Porters Handbook using > DISTVERSIONPREFIX=3Dtags/v then the distfile gets named > ${PORTNAME}-tags/v${PORTVERSION}_GH0.tar.gz, > which seems somewhat undesirable. This seems to be a bit misleading > and risky because this port is just a python wrapper around another > library that also has the same PORTNAME. That port hasn't been > converted to fetch from github, and when it does it seems like there > would be a chance of collisions. >=20 > I seem to get better results by setting GH_TAGNAME=3Dtags/v${PORTVERSIO= N}. > In that case, the distfile gets named > ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-tags-v${PORTVERSION}_GH0.tar= =2Egz. > This seems to be excessively verbose, but safer. >=20 > Thoughts? >=20 Can you please be more specific on what port this is and possibly provide a patch? --=20 Regards, Bryan Drewery --D7nD1KUAtxmKob1k0T4rF1Pc0APotxXue Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJVG5d/AAoJEDXXcbtuRpfPjt4H/2UAHF91EjSUJ91x7wyuWvEo RyfrP37uJTBKmsqH3m8RMCagTm0a0g49QDoeWuMiaSLOMXlZCxRLouV9h3uMuHsO HISu7HexH2yz/6NBYBZrmh5RYF2WXAcFzv9sFLXnO2IJEuh20+6QwcX9yRZml5AD LPL3bYomQPIXJiPOP6jC0DNpr3SFEyBvfuciy3KIGyx+Sst+ji1FFEbajvMYHpRy lqScQQl0+/gE/fOVG33Wv3kr4fRsVZj+vEt5egciJ27ea2T4UmVWQHPLU6thVIlA WG2oQ2t21IU1kymqdIJH0bRVdJE0N+tY5X2WZTA9o+gy1DZPnb8ZN2kPc0kBsOg= =T+NN -----END PGP SIGNATURE----- --D7nD1KUAtxmKob1k0T4rF1Pc0APotxXue--