Closed rtfmoz2 closed 2 years ago
Oh, its showing unfinished code I am currently working on, that was not my intention. Let me save my latest commits. There we go!
They will make a lot more sense now. Why am I not using homebrew? Enterprise deployments want control over software deployment and homebrew most definitely does not fit that requirement. Hence a package is required. Since I have made one, I am trying to give back to the community by contributing to the codebase but the lack of a version is the biggest blocker to this.
Presently the build script is completely independent from main code in that they pull down the latest source directly from github, hence the build-pkg-from-src name. I have not decided the best way to use the version of the build yet and need to ask a few questions before I can.
What you're saying makes sense, and versioning is something I've been thinking about for a while (see #11) but haven't gotten around to yet. There is no version string anywhere in the code, and I'd like to avoid that if possible. The reason is that they can get in the way of merges, or just forgotten about.
I'm currently thinking that the best way to do this is to pass the output of git describe --tags
to go via ldflags from GitHub Actions and/or look at the vcs.revision
(and vcs.modified
) setting in the BuildInfo.
I'm not sure exactly what autodocs you'd need; let's continue the conversation over email? I use Gmail and my username there is the same as my GitHub username.
What you're saying makes sense, and versioning is something I've been thinking about for a while (see #11) but haven't gotten around to yet. There is no version string anywhere in the code, and I'd like to avoid that if possible. The reason is that they can get in the way of merges, or just forgotten about.
I'm currently thinking that the best way to do this is to pass the output of
git describe --tags
to go via ldflags from GitHub Actions and/or look at thevcs.revision
(andvcs.modified
) setting in the BuildInfo.I'm not sure exactly what autodocs you'd need; let's continue the conversation over email? I use Gmail and my username there is the same as my GitHub username.
I found I can get the version using git describe --tags | head -1
Add build versioning for alpaca, this is a precursor for software packaging deployment