This repo exists because RPMs for Naemon and its various pieces are somewhat scattered across different repositories, and the latest versions are not always compatible with each other. Copying the spec files to one place lets us:
- Control exactly which version of each piece we use (eg. pull in a particular patch, or switch to a different fork of something)
- Build all RPMs together so we can be certain all are linked correctly
- Deliver updates to our nodes as a single "artifact" that can be tested and promoted all together
- Create a branch+PR and update spec files as needed. Iterate in there until everything builds successfully.
- Merge your PR into main.
- From main, create a tag and push it.
- Watch the Actions on this repo to ensure the build succeeds and the release is created.
- Once the related Action is complete, go to Releases on this repo and make sure there is a new one that matches your tag.
git checkout main
git pull
git tag cub-X.Y.Z
git push origin cub-X.Y.Z
NOTE: You can also do this from a branch if you want - probably not the best, but there could be reasons for it.
And if you run into trouble, you can blow away a tag
git tag -d cub-X.Y.Z
git push origin :refs/tags/cub-X.Y.Z
Then go delete the release from github, by clicking around and hitting the trash can icon