Any ports that download whole trees with git?

Xin Li delphij at delphij.net
Tue Jun 16 23:54:57 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 06/16/15 16:33, kpneal at pobox.com wrote:
> Are there any ports that download entire source trees using git?
> 
> I'm looking at doing a port, but the only source for the source is 
> a tree in git. Are there any examples I can crib from?

You would have to export the tree and upload it to somewhere that can
host it if it's not already done by the Git service provider.

For instance, services like github already have download services when
a tag or SHA1 hash is specified, see code blocks related to USE_GITHUB
in ports/Mk/bsd.sites.mk for additional details.

Cheers,
- -- 
Xin LI <delphij at delphij.net>    https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.1.5 (FreeBSD)

iQIcBAEBCgAGBQJVgLdPAAoJEJW2GBstM+nsTekP/1dXjiUZKMsNIVbSn3zCXMcP
bk0hwOaoxv33uNDt5+q9g9DOv6mPwWJjAsEHFvwqaN40jUP9cPcJfvWjcLMac2RP
KHzVJkJhvm1Lcitwb5izWQnyQAOJOYErfirZKoI9/pM6D7ny6q6h84bEPgzY7YNZ
ythV4lJ0IahzOoeNxaKfvCohxaI2DOy90ffy/7RwQi/dlPHPuheUMINt42hCGNQe
x50Yviydd7cXn+kD+TZkyE/yR7NSXlKk97xTTbNQs398V5dYeePwCYHv+etQWege
k/O99cY95iofMZkSwyxNzWOHEEPr8bNwZsdSo9dESkrs13OPMJAKr1frWYfazcU9
Rd/VUWbH5BOqdAiWoATz6KDyV4XTXAEhzF36W9iSYcqIYoiIqEk3/XzKaFLUF85r
KWDZwOk0lAIhvtt+i7r0oMe+Ge3BAeaxH3UwbeTac5E6TcnG2A80peOUCNf6bxPz
5LxzVwfwwgSzsMEUxNkWL3mIIkZjtElJL4TYSHaJG1KJwtEY8wZEqEeyWRoi0nkK
g2RbuNvDPIimPAbpQEw6aEUH6SXBGnXoQLaIB0ZJ7Taa3zMCATvo6kCRaeddY69Y
f8YmBKSBCVKC0Ym8EUqI5nQ47/Ff8Zqo5oEAbp2K13OfgiHJtNFlbNv6AkVllAXm
jEdq63B1wmRIuajOK+dQ
=AE9K
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list