dynup / kpatch

kpatch - live kernel patching
GNU General Public License v2.0
1.49k stars 304 forks source link

kpatch-build: introduce version print option #1407

Closed wardenjohn closed 1 month ago

wardenjohn commented 3 months ago

Introduce an option to print the version of kpatch-build. When kpatch-build is installed in to a system, we and run for some time. It will have some difficulty to find out the version of the kpatch-build in the system.

So, I introduce '--version' option for user to see it. The tag released now seems to be v0.9.9, so I set version to be 0.9.9 of master branch.

github-actions[bot] commented 1 month ago

This PR has been open for 60 days with no activity and no assignee. It will be closed in 7 days unless a comment is added.

github-actions[bot] commented 1 month ago

This PR was closed because it was inactive for 7 days after being marked stale.

jpoimboe commented 1 month ago

@joe-lawrence any objection to this? It would have to be added to the list of files to be updated on release.

joe-lawrence commented 1 month ago

@joe-lawrence any objection to this? It would have to be added to the list of files to be updated on release.

Sure if it's handy, adding another file is not a huge problem. I would have liked something that incorporated git describe output in case of bug reports from a repo version, but that could always be done via later enhancement.