- Thread Starter
- #26
I've tried to handwrite the git{hub/lab} submodules.
sh:$ grep -m1 GL_TUPLE /usr/ports/Mk/bsd.sites.mk # GL_TUPLE - above shortened to [site[:port][/webroot]:]account:project:tagname:group[/subdir]Makefile:USE_GITHUB= nodefault GH_TUPLE= libuv:libuv:ca107b7:libuv/thirdparty/libuv/libuv USE_GITLAB= yes GL_ACCOUNT= tp3 GL_TAGNAME= f9181865345be460ab5a08a009b49caae1f0d37c GL_TUPLE= chwick:fftw3-qmake:9fc2a56:fftw3_qmake/thirdparty/fftw3 \ tp3:qtmidi:1c3bf17:qtmidi/thirdparty/qtmidi \ chwick:qwt-lib:c778d34:qwt_lib/thirdparty/qwt-lib \ tp3:tp3log:3861a44:tp3log/thirdparty/tp3logsh:yusuf@freebsd:/tmp/Entropy-Piano-Tuner $ git submodule 9fc2a56e20f80a22a4b55e795a94647f536ee498 thirdparty/fftw3 (remotes/origin/Qt6) ca107b7f17fdbede154f00b63952eb523b003a4b thirdparty/libuv/libuv (v1.9.1-92-gca107b7f) 1c3bf17cef82b9b6ac92b8c50e5b3f0c0ecbb550 thirdparty/qtmidi (qt5-3-g1c3bf17) c778d34abbfe7e2d28f4b493f61ef9b8ec17cb84 thirdparty/qwt-lib (heads/master) 3861a44979d42ed3ded3367d9216d36df9893f13 thirdparty/tp3log (remotes/origin/no-qml-4-g3861a44)
Code:[submodule "thirdparty/fftw3"] path = thirdparty/fftw3 url = https://gitlab.com/chwick/fftw3-qmake.git [submodule "thirdparty/libuv/libuv"] path = thirdparty/libuv/libuv url = https://github.com/libuv/libuv.git [submodule "thirdparty/qwt-lib"] path = thirdparty/qwt-lib url = https://gitlab.com/chwick/qwt-lib.git [submodule "thirdparty/tp3log"] path = thirdparty/tp3log url = https://gitlab.com/tp3/tp3log.git [submodule "thirdparty/qtmidi"] path = thirdparty/qtmidi url = https://gitlab.com/tp3/qtmidi
I just found this in the ports tree - ports-mgmt/submodules2tuple to save you manually typing in the future.
Make sure to use the -v flag since it clones the repos to /tmp and that takes a while.
Category ports-mgmt
submodules2tuple-1.0.0
/grandpa