On 14/5/26 01:25, Kyle Jerviss wrote:
While I've got this on my mind...
The ceph source tree makes extensive use of git submodules. So much
so that I've never managed to track down all of them and assemble them
into a buildable source tree. git clone / git checkout handles it
flawlessly.
Have a look at multimedia/obs-studio/get-obs-studio.sh which checks out
a git repo, pulls in the submodules and generates a tarball. It
specifies a particular git tag and uses that as the VERSION for the
tarball.
If you just want the master branch (so no real version number), have a
look at system/incus-ui/get-incus-ui.sh which uses the date of last
commit and its abbreviated git hash to generate a usable version string.
This is based on something I saw in one of Pat's scripts and it works
very well. This one doesn't check out submodules but you easily add that
like the get-obs-studio.sh script does.
Once I have a full source tarball, I upload it to SlackBuildsDirectLinks
repo at Sourceforge which can then become the DOWNLOAD url for your
.info file.
chris
_______________________________________________
SlackBuilds-users mailing list
[email protected]
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/