New feature suggestion: print-gh-tuple: Print GH_TUPLE corresponding to submodules of a GitHub repository ${GH_ACCOUNT}/${GH_PROJECT}
Yuri
yuri at FreeBSD.org
Thu Apr 16 16:56:32 UTC 2020
Hi,
I am suggesting a new feature: make print-gh-tuple
https://reviews.freebsd.org/D24231
It works when USE_GITHUB=yes is set.
When a GitHub repository has git submodules, that themselves can also
have embedded submodules, it can traverse all of them and output the
value of GH_TUPLE that would include all of them.
This is quite tedious and difficult to do manually.
It checks out the GitHub repository with submodules, traverses the list
using a combination of shell and awk scripting, and prints GH_TUPLE that
can be pasted into a ports's Makefile.
Yuri
More information about the freebsd-ports
mailing list