Skip to content

Instantly share code, notes, and snippets.

@ianballou
Created April 28, 2022 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ianballou/0094a8585dc39a6aa9c7c427e64f377d to your computer and use it in GitHub Desktop.
Save ianballou/0094a8585dc39a6aa9c7c427e64f377d to your computer and use it in GitHub Desktop.
Ordering Pulpcore client binding packaging updates
1) Have a PR against katello.git and foreman-packaging.git ready, both are ack'ed. Merge the katello one (it will build new source, but won't build a nightly rpm at that point, as deps are broken)
2) Merge the packaging pr
3) Open a new packaging PR updating the deps of rubygem-katello to match what was commited to katello.git (we have scripts for that)
-> Once the new katello source is built on jenkins, and the pulp bindings rpms are also built this third pr will become buildable/green, you merge that, everyone happy
To update rubygem-katello automatically:
gem2rpm -t gem2rpm/foreman_plugin.spec.erb katello-4.5.0.pre.master.gem | ./update-requirements specfile - packages/katello/rubygem-katello/rubygem-katello.spec
gem2rpm is in fedora, the spec.erb is in packaging.git and so is update-requirements
Related: https://github.com/ekohl/theforeman-plumbing/blob/master/fm-packaging-update-deps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment