-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Simplify and unify the way we are handling versions. #17693
Conversation
Now `program_version` is only used for getting or setting the host's field.
Hello @vkalintiris , Compiling on Linux I have this error: /home/thiago/Netdata/tests_netdata/src/collectors/ebpf.plugin/ebpf.c:3252:44: error: 'VERSION' undeclared (first use i
n this function); did you mean 'CMD_VERSION'?
3252 | printf("ebpf.plugin %s\n", VERSION); |
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.
On Windows and FreeBSD it is working. Please, modify the missing file.
Best regards!
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.
PR is working as expected, LGTM!
Summary
This makes the individual version fields available to C, which will allow us to track versions better with Sentry.
Test Plan
cpack -G DEB
and check filenames.