Skip to content

Conversation

@synqotik
Copy link
Contributor

Fix makerpm.js script.

We were using specit which is a fork from bbc/speculate to create the spec file needed for rpmbuild to create RPMs. specit hasn't been updated in years and had some dependencies that were causing some issues with osv-scanner which is run as part of Grafana's plugin validation suite.

This uses bbc/speculate and also updates libraries and resolutions as much as possible to remove any security scanning issues.

This will require another iteration to make sure the updated script is correctly building installable RPMs. The current one at least has all the files needed. I want to at least get this merged so we have good builds with grafana validation turned on.

Added a bunch of debug console.log messages, decided to keep them in for now as they are very helpful in debugging. We can turn off some of the verbose ones eventually if needed.

We will also need to update to opennms-js 2.6.1 once that is released since it also has various library updates.

Added a DEVELOPMENT.md to note various things found while doing updates that will help future developers.

External References

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarQube Cloud

@dino2gnt
Copy link

This is rad, and makes me very happy. 🎉

@synqotik synqotik merged commit 7198f57 into release-12.x Oct 28, 2025
11 of 12 checks passed
@synqotik synqotik deleted the jira/OPG-507-fix-makerpm branch October 28, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants