-
Notifications
You must be signed in to change notification settings - Fork 13
Update components and update_gems script #70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
stupid question: if we want to see the different version bumps in the changelog, the easiest way would be one PR per changed component. That's a bit more work during the update (until we automate that part), but I think it will provide a big benefit for the users? Edit: When I do version bumps I always try to do |
2b42513 to
bf15a99
Compare
|
We could certainly add that to the script. Probably makes sense if we plan to run this in automation. |
|
I suppose one problem right now is that not all components are used in both projects. So a lot of updates will be for OpenBolt and not OpenVox. But once I get around to breaking up this repo and incorporating them into the project repos, that won't be a problem. |
These are now released from GitHub. This also removes the _base file and cleans up the code.
This reforms the ruby-selinux component so that it appropriately defines the SELinux for each platform we currently support. This also removes the _base file and puts it in ruby-selinux.rb.
If we need to build 7.x runtimes in the future, we can branch off a previous commit. This removes this project and associated components that only exist for this runtime.
If we ever build for AIX in the future, it will be for 7.2 or later, so remove extra logic gating things for 7.1.
Addresses CVE-2025-9230 and CVE-2025-9232.
In Ruby 3.2.9, the openssl gem is out of date. On MacOS with the latest OpenSSL, this breaks. This adds the gem to the gemfile so we don't break during builds. This doesn't affect the build itself, as it is due to OpenSSL 3.6 and we ship 3.0. This doesn't quite work on Windows, where we have no choice but to use Ruby 3.2.2 in Cygwin.
This is the only version available besides 3.4. This is really just for the build process and not the build itself. Using 3.4 for this is currently broken.
c49ca64 to
493100d
Compare
This updates the update_gems rake task to also add any new gem components to the project files. It will also create a separate commit for each change, so it is more easily ingestible by automation when creating the changelog.
493100d to
d9bc9ea
Compare
|
Quite noisy for the commit log for this PR, but should be much quieter in the future. |
We don't need this since we only have one agent project now. This makes it easier to maintain with automation.
Some of our existing project code has missing dependencies. This script previously only added new ones. Now, it scans the full component list for dependencies.
bc71313 to
12dceb0
Compare
A new 7.0 has been released, but the addressable gem requires < 7.
12dceb0 to
eae703d
Compare
| $dest="C:\setup-x86_64.exe" | ||
| Invoke-WebRequest -Uri $url -OutFile $dest | ||
| cmd /c "C:\setup-x86_64.exe -s https://cygwin.osuosl.org -q -P ruby,ruby-devel,gcc-core,make,git,libyaml-devel" | ||
| cmd /c "C:\setup-x86_64.exe -s https://cygwin.osuosl.org -q -P ruby=3.2.2-2,ruby-devel=3.2.2-2,gcc-core,make,git,libyaml-devel" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this 3.2.2? configs/components/ruby-3.2.rb has 3.2.9.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the only 3.2 version available on Cygwin's repositories. They stay up to date with the latest 3.4, but this is literally the only 3.x version otherwise. Both fortunate for us, and also unfortunate it's stuck at such an old one. This ruby is only used for actually running the scripts, not for any build stuff, although I'm not 100% sure no shared libraries or whatever are used, so I wanted to stick with 3.2.
Will make the appropriate namespace changes in OpenVox.
4feebed to
76cd139
Compare
Even though the openbolt runtime comment says it's needed for Augeas, it really isn't. It was only needed for Nokogiri.
76cd139 to
b7b1a35
Compare
|
Looks like the latest ruby_smb might break OpenBolt (https://github.com/OpenVoxProject/openbolt/actions/runs/19552520911/job/55987566901?pr=140). Need to do some more investigation. |
update_gemsscript to also update the projects with any new components, and fixes an issue using the v2 RubyGems API.