[Slackbuilds-users] ceph package git question
Christoph Willing
chris.willing at linux.com
Wed May 13 23:31:29 UTC 2026
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
More information about the SlackBuilds-users
mailing list