| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The puppet gem is dead and won't be updated anymore. And it doesn't work on Ruby 4.
There was a problem hiding this comment.
This PR updates octocatalog-diff’s gem dependencies to replace the deprecated puppet gem with openvox, aiming to keep the project compatible with newer Ruby versions.
Changes:
Copilot reviewed 2 out of 39 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| octocatalog-diff.gemspec | Switch dependency from puppet to openvox and remove Puppet-version-based dependency injection logic. |
| config/puppet-versions.json | Remove Puppet version matrix config that was consumed by the gemspec. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
| s.add_runtime_dependency 'parallel', '>= 1.12.0' | ||
| s.add_runtime_dependency 'rugged', '>= 0.25.0b2' | ||
| s.add_runtime_dependency 'puppet', '>= 5.5.0' | ||
| s.add_development_dependency 'puppet', '>= 5.5.0' | ||
| s.add_runtime_dependency 'openvox', '< 9' | ||
| s.add_development_dependency 'rspec', '~> 3.4.0' |
There was a problem hiding this comment.
script/bootstrap runs bundle install --local (offline) and the repository’s vendor/cache currently does not include an openvox-*.gem. With this new runtime dependency, bootstrap/CI will fail unless the OpenVox gem is vendored (or --local is removed/changed).
Sorry, something went wrong.
| s.add_runtime_dependency 'rugged', '>= 0.25.0b2' | ||
| s.add_runtime_dependency 'puppet', '>= 5.5.0' | ||
| s.add_development_dependency 'puppet', '>= 5.5.0' | ||
| s.add_runtime_dependency 'openvox', '< 9' |
There was a problem hiding this comment.
Removing the puppet gem dependency breaks the current bootstrap/CI tooling: script/bootstrap runs bundle binstubs puppet ... and extracts .puppet_version by grepping for puppet in Gemfile.lock, and script/puppet then executes bin/puppet. This PR needs corresponding updates so a bin/puppet binstub is still generated (or scripts are updated to use OpenVox) and the version file is derived from the correct gem/executable.
| s.add_runtime_dependency 'openvox', '< 9' | |
| s.add_runtime_dependency 'openvox', '< 9' | |
| s.add_development_dependency 'puppet', puppet_version |
Sorry, something went wrong.
| s.add_runtime_dependency 'rugged', '>= 0.25.0b2' | ||
| s.add_runtime_dependency 'puppet', '>= 5.5.0' | ||
| s.add_development_dependency 'puppet', '>= 5.5.0' | ||
| s.add_runtime_dependency 'openvox', '< 9' |
There was a problem hiding this comment.
With the removal of the Puppet version matrix block from this gemspec, require 'json', DEFAULT_PUPPET_VERSION, and puppet_version = ... are now unused. Please remove them (or repurpose puppet_version to constrain the openvox dependency) to avoid dead/misleading configuration.
Sorry, something went wrong.
|
Very much needed! Is this project actually still maintained @bastelfreak ? |
Sorry, something went wrong.
|
I'm pretty sure it's dead. In the community we recommend https://github.com/voxpupuli/puppet-catalog_diff instead |
Sorry, something went wrong.
|
hmm, we're already so used to this tool and we have some scripts on top of it that it would just be easier to patch it and make it work with openvox, so I've done it with #366. Works for us for now. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The puppet gem is dead and won't be updated anymore. And it doesn't work on Ruby 4.
Overview
This pull request replaces puppet with openvox
the puppet gem is dead. It has outdated dependencies, it contains openssl monkey patches that prevents us from using Ruby 4, and it won't receive updates. openvox is the open source successor.
Checklist
/cc [related issues] [teams and individuals, making sure to mention why you're CC-ing them]