Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 2015 02:00:15 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Don Lewis <truckman@FreeBSD.org>, ports@FreeBSD.org
Subject:   Re: github tags containing "/"
Message-ID:  <551B977F.1030809@FreeBSD.org>
In-Reply-To: <201504010654.t316sjih002139@gw.catspoiler.org>
References:  <201504010654.t316sjih002139@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?551B977F.1030809>