Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2017 00:08:08 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Sergei Vyhenski <svysh.fbsd@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: github: handmade vs autogenerated distibution
Message-ID:  <5b22d3de-4625-0047-4c96-3f10d751ff2d@FreeBSD.org>
In-Reply-To: <d4da5e05-e0bb-b437-1db9-32c332c3fef1@gmail.com>
References:  <d4da5e05-e0bb-b437-1db9-32c332c3fef1@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--7dEXwsOrFcrq6LhvQ0gGmjr5RKSBOeaho
Content-Type: multipart/mixed; boundary="nppP3HKdkM149lkdU0NmURjuNItoE9Q4O";
 protected-headers="v1"
From: Mathieu Arnold <mat@FreeBSD.org>
To: Sergei Vyhenski <svysh.fbsd@gmail.com>, freebsd-ports@freebsd.org
Message-ID: <5b22d3de-4625-0047-4c96-3f10d751ff2d@FreeBSD.org>
Subject: Re: github: handmade vs autogenerated distibution
References: <d4da5e05-e0bb-b437-1db9-32c332c3fef1@gmail.com>
In-Reply-To: <d4da5e05-e0bb-b437-1db9-32c332c3fef1@gmail.com>

--nppP3HKdkM149lkdU0NmURjuNItoE9Q4O
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US

Le 14/12/2017 =C3=A0 21:43, Sergei Vyhenski a =C3=A9crit=C2=A0:
> Playing with GH_* variables, I was able to fetch A-tarball within
> guidelines of
> bsd.sites.mk.

Or you could have read the Porter's Handbook's section on it:
https://www.freebsd.org/doc/en/books/porters-handbook/makefile-distfiles.=
html#makefile-master_sites-github

It would probably have been faster that trying to reverse engineer what
is being done in there.

> PORTNAME=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 expat
> PORTVERSION=3D=C2=A0=C2=A0=C2=A0 2.2.5
> MASTER_SITES=3D
> https://github.com/libexpat/libexpat/releases/download/R_${PORTVERSION:=
S|.|_|g}/
>
> Also, this project has declared that it moves from SF to GH. It still
> publishes H-tarballs on SF. But it seems that switching of the FreeBSD
> port to take distribution from GH is inevitable.
>
> Do you think that explicit MASTER_SITES instead of USE_GITHUB (thus
> using H-tarball) here contradicts to some rules of good stile?

No.

> Do you think that fighting with A-tarball is always necessary?=20

You should always use released tarballs, if they are available, people
go through much efforts to make them so that people can build their
software more easily. The git archive you get from USE_GITHUB should
only be used if nothing else is available.

--=20
Mathieu Arnold



--nppP3HKdkM149lkdU0NmURjuNItoE9Q4O--

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

iQJ8BAEBCgBmBQJaMwRZXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz
QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85IwjgP/A99LoC8yucwvACrzcAG15L5
+39bOgnKdYxwmNTJxQWjTifwWqAwiDx/tmXE3lvGUbPUrFJPrl/hpBcL9DnAgd2h
apVxyK2JAeRVcUS/SQZdTmmG6JtVB1p9bsBR9xZII73d/AyIpvQ9XwgwBBfx4TkN
CNR39aId80vACtMnnREv0g/oymAdhwtc8tkJIPAzFGIB+vZ+y4HYJfihsokOnReY
B8bsAXyUS4VKpQtXRzl+EDFXR4C9tRQy63EiWiVLv0LblPBCMEbLpfIhbktrvhjg
H75R9MgGfwP59l3yHDW5si3HKT5teOydvgsXrI4ZI29RR1Pp2nLYihu5KwqDF2IQ
lmB6FuXh6i3S/74K3POmrLEh9R4Zs7xKIKaEYPTgW+YOo/b9dwbXPPd541W4s+0N
mak+A9EKI/mMG6VsAQYNydmoG6n/c2rGM8+uKsJKvtvCrBwBFB/D0WOnXCppZOOb
aK1wHHHQsS/aXfNfTLBJxx4V4rACAb6LJuHX0eoG2nj9NfH5b9JEsP7/bfpTaUEV
ILkGcrXShdS/V26W6TV9vOb1ak3rRLUMbgI0dzmScyns1pIDzDVRoCEVGpyEfque
aMimqlMgsoOVRpsy6/18UUE5oYhVRwKPm6NPALGtZDPq0QdyS2y1mMFEb5zEngEl
yx+LirWi27X1E72GmIy1
=zSpt
-----END PGP SIGNATURE-----

--7dEXwsOrFcrq6LhvQ0gGmjr5RKSBOeaho--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5b22d3de-4625-0047-4c96-3f10d751ff2d>