Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2020 09:56:27 -0700
From:      Yuri <yuri@FreeBSD.org>
To:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   New feature suggestion: print-gh-tuple: Print GH_TUPLE corresponding to submodules of a GitHub repository ${GH_ACCOUNT}/${GH_PROJECT}
Message-ID:  <33f61c4f-2351-ffac-54c8-6fe1708d0f14@rawbw.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33f61c4f-2351-ffac-54c8-6fe1708d0f14>