Skip to content
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

Add version option or command to bpfman CLI tools #1398

Open
frobware opened this issue Feb 4, 2025 · 1 comment
Open

Add version option or command to bpfman CLI tools #1398

frobware opened this issue Feb 4, 2025 · 1 comment
Assignees
Milestone

Comments

@frobware
Copy link
Contributor

frobware commented Feb 4, 2025

Currently, the bpfman CLI tools do not provide a way to check their version (e.g., via bpfman --version or bpfman version). This makes it difficult to identify which version/commit of the tools is running both during development and when users report issues.

@github-project-automation github-project-automation bot moved this to 🆕 New in bpfman Feb 4, 2025
@anfredette anfredette added this to the Q1-2025 milestone Feb 6, 2025
@frobware
Copy link
Contributor Author

frobware commented Feb 6, 2025

I explored what build information would be useful and prototyped it here: build-rs-example. This example uses a single build.rs to embed BUILD_VERSION, BUILD_DATE, and BUILD_TOOLCHAIN. Do we need more than that for bpfman? What's unclear to me is how to integrate a single build.rs across all the bpfman binaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants