when adding a command, check to see if package is installed

Bug #627622 reported by Duane Hinnen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CLI Companion
Fix Released
Medium
Marek Bardoński

Bug Description

When using the 'Add Command' feature the program should check to make sure you have that package installed.

If not it should install the package required for that command.

Revision history for this message
naesk (naesk) wrote :

I like this, it would certainly be a nice feature to have.

Obviously the user would need to be informed that "foobar" package is required with a dialog giving option to install said package.

Changed in clicompanion:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → CLIcompanion Development Team (clicompanion-devs)
Revision history for this message
Marek Bardoński (bdfhjk) wrote :

Thoughts from IRC : Press 'add' dialog comes up. You enter command and description. Click 'OK'. window closes. Then it either enters command into 'command list', or another dialog opens with the option to install package, or not install and not add command to 'command list'

Revision history for this message
David Caro (dcaro) wrote :

What happens if the user is into another machine through ssh?
Should clicompanion try to discover if the package exists in the remote machine?

Wouldn't it be better if it just shows a warning instead of avoiding entering a non-existent command?

It would be tricky to know if the command is a function or some binary if the tab's path is modified (if the path is different from the path of the shell that executed clicompanion).

But surely it is a great feature to have :)

Also, are we developing only for Ubuntu and Debian? Or may we try to develop for some other major distros? (rpm based, gentoo, etc.) Because the package manager should be the correct one.

Revision history for this message
Duane Hinnen (duanedesign) wrote :

David Caro (dcaro) you have a completely valid point we will change the scope, or open a new bug. i think this makes complete sense.
thank you

Changed in clicompanion:
assignee: CLI Companion Development Team (clicompanion-devs) → Marek Bardoński (bdfhjk)
status: Triaged → In Progress
Changed in clicompanion:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.