containers / podman-desktop

Podman Desktop - A graphical tool for developing on containers and Kubernetes
https://podman-desktop.io
Apache License 2.0
4.32k stars 274 forks source link

Add location and version detection support for CLI Extension point #4648

Closed dgolovin closed 3 weeks ago

dgolovin commented 8 months ago

Is your feature request related to a problem? Please describe

CLI Tool Extension point now allows to add CLI Tool information for visibility purposes. Extensions can contribute tool information (name, description, location, version), but not allowed to contribute version and location detection so podman desktop can provide UI for calling detection by user manually or schedule a regular time interval based detection.

Describe the solution you'd like

Extension point should allow extension to:

Describe alternatives you've considered

Declarative tool configuration in extension's package.json manifest file.

Additional context

Implementation should allow reuse generic detection methods used to find cli tools. Like using which and whereis command fo find location of the tool. Using custom options to force cli tool to print version to standard output and extract it from output using whole text or parse it using regular expression.

Reuse would let to avoid to repeat the same detection code that would run all command mentioned above.

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had activity in the last 6 months. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!

github-actions[bot] commented 3 weeks ago

This issue has been automatically closed because it has not had any further activity in the last 30 days. Thank you for your contributions!