I’ve been maintaining an Ansible role for Beszel and recently someone submitted a PR which ideally should be a separate role, and I already had an idea a few months ago for creating an Ansible collection for Beszel, so in the future I could create some modules for adding new devices as well as roles for deploying the Hub and Agent.
I opened a GitHub discussion and the author is happy for a collection to be created.
Could a collection for Beszel in the community namespace be created?
@dbrennand if you have commit rights, simply press the big green Merge button If you’re the only maintainer, and nobody else seems to be interested in reviewing things in the collection, that’s usually the only way forward.
@dbrennand hello, sorry for the late response, I’m just back from a long PTO.
I’ve just added the collection to Zuul: it’ll publish the collection automatically when it sees a new tag, please use the Releasing guidelines to release the collection.
Collection inclusion requirements: in case you want to submit the collection for inclusion to the package in future (must contain modules and plugins). The sooner you adopt the requirements the fewer things you need to change in future.
To share a news item for the Bullhorn, go into the Ansible social room on Matrix at #social:ansible.com. You can then tag newsbot with @newsbot at the start of your update. An editor will then review and approve your item before including it in the next edition!
Something is not right, I can no longer push any commits to my feature branch which has a PR created
remote: error: GH013: Repository rule violations found for refs/heads/0.3.0.
remote: Review all repository rules at https://github.com/ansible-collections/community.beszel/rules?ref=refs%2Fheads%2F0.3.0
remote:
remote: - Changes must be made through a pull request.
remote:
To github.com:ansible-collections/community.beszel.git
! [remote rejected] 0.3.0 -> 0.3.0 (push declined due to repository rule violations)
error: failed to push some refs to 'github.com:ansible-collections/community.beszel.git'
So I no longer have direct commit access to the repository anymore?
@dbrennandit says you should 1. create a branch locally from updated main 2. commit your changes 3. push to your github fork 4. open a PR and merge it. Don’t push directly to your upstream branch - it’s a fundamental rule there.
See the Quick-start PR guide for step-by-step guidance
Sorry for the noise, i should’ve read messages more carefully…
Thanks