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 option --version #570

Closed
jk-10 opened this issue Dec 1, 2022 · 2 comments · Fixed by #576
Closed

Add option --version #570

jk-10 opened this issue Dec 1, 2022 · 2 comments · Fixed by #576
Labels

Comments

@jk-10
Copy link

jk-10 commented Dec 1, 2022

Running usbguard --version at least on Ubuntu 22.04 does not produce any versioning information. Handling these issues and fixes might be easier with known version numbers.

So please add support for new option --version

@hartwork
Copy link
Contributor

hartwork commented Dec 1, 2022

@jk-10 I second that there should be --version supported by at least command usbguard. 👍

Just for your information, one way to check which version of USBGuard (or any distro package) you have installed on Ubuntu (and Debian) is apt-cache policy usbguard, e.g.:

# cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux bookworm/sid"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

# apt-cache policy usbguard
usbguard:
  Installed: 1.1.2+ds-3+b1
  Candidate: 1.1.2+ds-3+b1
  Version table:
 *** 1.1.2+ds-3+b1 500
        500 http://deb.debian.org/debian sid/main amd64 Packages
        100 /var/lib/dpkg/status

@Cropi
Copy link
Member

Cropi commented Dec 12, 2022

I agree that this could come in handy when debugging future issues.

@Cropi Cropi added the RFE label Dec 12, 2022
Cropi added a commit to Cropi/usbguard that referenced this issue Dec 12, 2022
Running usbguard --version should help us handle fixes and issues
more easily in the future. By doing so, it's easier to track down
which options have been enabled during build time. Fixes USBGuard#570
Cropi added a commit to Cropi/usbguard that referenced this issue Dec 12, 2022
Running usbguard --version should help us handle fixes and issues
more easily in the future. By doing so, it's easier to track down
which options have been enabled during build time. Fixes USBGuard#570
Cropi added a commit to Cropi/usbguard that referenced this issue Dec 12, 2022
Running usbguard --version should help us handle fixes and issues
more easily in the future. By doing so, it's easier to track down
which options have been enabled during build time. Fixes USBGuard#570
Cropi added a commit to Cropi/usbguard that referenced this issue Dec 12, 2022
Running usbguard --version should help us handle fixes and issues
more easily in the future. By doing so, it's easier to track down
which options have been enabled during build time. Fixes USBGuard#570
Cropi added a commit to Cropi/usbguard that referenced this issue May 30, 2024
Running usbguard --version should help us handle fixes and issues
more easily in the future. By doing so, it's easier to track down
which options have been enabled during build time. Fixes USBGuard#570
Cropi added a commit to Cropi/usbguard that referenced this issue May 30, 2024
Running usbguard --version should help us handle fixes and issues
more easily in the future. By doing so, it's easier to track down
which options have been enabled during build time. Fixes USBGuard#570
Cropi added a commit that referenced this issue May 30, 2024
* Add "--version" option to the usbguard CLI

Running usbguard --version should help us handle fixes and issues
more easily in the future. By doing so, it's easier to track down
which options have been enabled during build time. Fixes #570

* CI: replace deprecated include module in favor of include_tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants