Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2015 13:49:18 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, Ryan Steinmetz <zi@FreeBSD.org>, Kubilay Kocak <koobs@FreeBSD.org>
Subject:   USE_GITHUB+portscout [was Re: svn commit: r381618 - in head: . Mk archivers/snappy-java astro/gpscorrelate audio/hydrogen audio/hydrogen-devel audio/id3ren audio/nekobee audio/soundkonverter cad/openvsp comms/lysdr databases/pg...]
Message-ID:  <550B1A2E.9000903@FreeBSD.org>
In-Reply-To: <201503191644.t2JGixqo045633@svn.freebsd.org>
References:  <201503191644.t2JGixqo045633@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--lf5PWhdtFTBIxA6U4hnPgruENelOBNIo4
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 3/19/2015 11:44 AM, Bryan Drewery wrote:
> Author: bdrewery
> Date: Thu Mar 19 16:44:57 2015
> New Revision: 381618
> URL: https://svnweb.freebsd.org/changeset/ports/381618
> QAT: https://qat.redports.org/buildarchive/r381618/
>=20
> Log:
>   Update USE_GITHUB so it does not require GH_COMMIT.
>  =20
>   Using this new scheme allows only setting the _tag_ or _commit hash_ =
in
>   GH_TAGNAME and not having to know the hash for a tag.  This scheme wi=
ll
>   download a tarball that has a different checksum than before due to a=
 changed
>   directory name for extraction.
>  =20
>   The following MASTER_SITES are provided to retain the old checksum an=
d
>   directory structure (that require GH_COMMIT):
>     GH -> GHL
>     GITHUB -> GITHUB_LEGACY
>  =20
>   Differential Revision:	https://reviews.freebsd.org/D748
>   Submitted by:	amdmi3
>   Reviewed by:	mat, swills, antoine, bdrewery
>   With hat:	portmgr
>=20

It seems that with this change portscout will now work with tagged
USE_GITHUB ports (no hash used).

Here is the old attempt by portscout:

> Files for ports-mgmt/poudriere from https://codeload.github.com/freebsd=
/poudriere/legacy.tar.gz/9f9e43d?dummy=3D/:
> [poudriere] [https://codeload.github.com/freebsd/poudriere/legacy.tar.g=
z/9f9e43d?dummy=3D/] Guessing version 3.1.1 -> 4.0.0
> [poudriere] [https://codeload.github.com/freebsd/poudriere/legacy.tar.g=
z/9f9e43d?dummy=3D/] Guess failed 3.1.1 -> 4.0.0
> [poudriere] [https://codeload.github.com/freebsd/poudriere/legacy.tar.g=
z/9f9e43d?dummy=3D/] Guessing version 3.1.1 -> 3.2.0
> [poudriere] [https://codeload.github.com/freebsd/poudriere/legacy.tar.g=
z/9f9e43d?dummy=3D/] Guess failed 3.1.1 -> 3.2.0
> [poudriere] [https://codeload.github.com/freebsd/poudriere/legacy.tar.g=
z/9f9e43d?dummy=3D/] Guessing version 3.1.1 -> 3.1.2
> [poudriere] [https://codeload.github.com/freebsd/poudriere/legacy.tar.g=
z/9f9e43d?dummy=3D/] Guess failed 3.1.1 -> 3.1.2

And after I converted the port to the new format:

> Files for ports-mgmt/poudriere from https://codeload.github.com/freebsd=
/poudriere/tar.gz/3.1.1?dummy=3D/:
> [poudriere] [https://codeload.github.com/freebsd/poudriere/tar.gz/3.1.1=
?dummy=3D/] Guessing version 3.1.1 -> 4.0.0
> [poudriere] [https://codeload.github.com/freebsd/poudriere/tar.gz/4.0.0=
/?dummy=3D/] Guess failed 3.1.1 -> 4.0.0
> [poudriere] [https://codeload.github.com/freebsd/poudriere/tar.gz/3.1.1=
?dummy=3D/] Guessing version 3.1.1 -> 3.2.0
> [poudriere] [https://codeload.github.com/freebsd/poudriere/tar.gz/3.2.0=
/?dummy=3D/] Guess failed 3.1.1 -> 3.2.0
> [poudriere] [https://codeload.github.com/freebsd/poudriere/tar.gz/3.1.1=
?dummy=3D/] Guessing version 3.1.1 -> 3.1.2
> [poudriere] [https://codeload.github.com/freebsd/poudriere/tar.gz/3.1.2=
/?dummy=3D/] Guess failed 3.1.1 -> 3.1.2


This will not automatically work for all USE_GITHUB ports. They must be
converted similar to r381661 and r381619 and must not be using a hash in
GH_TAGNAME.

--=20
Regards,
Bryan Drewery


--lf5PWhdtFTBIxA6U4hnPgruENelOBNIo4
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

iQEcBAEBAgAGBQJVCxouAAoJEDXXcbtuRpfPiHIH/RaT7SdQtD9N0eKc5hebaEO9
duVJwY49/HC+Lc7dN/LV6eXb3DJogf2/7ngtqIR2wCZLZRcQyN13urSTVMnpXb9f
jBnA4A9u/GDZOes2k7Zcj4Az3ALjaFAUt3QnMCH5vsOV503RrEw7dC8ABZX7zDCH
nqp2vqh1CVxdj6AxvmFe3r8wns7yLOrDeTBD0LQ46yqqdt6/hRRwFSQsAQq8RZdf
h4/7RPcuLD/csWhS75DiuK0D6D0QjQ1DWb9AvtfFgxVG7cC1ELDTXPdNpiKFoIcW
9KmZ9X8cL3IXUseNQF9XjLQeQtK43ga6dgGqrjYgZtTmqCSoHGgpbeKVRrJCtvE=
=bHLC
-----END PGP SIGNATURE-----

--lf5PWhdtFTBIxA6U4hnPgruENelOBNIo4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?550B1A2E.9000903>