Project

General

Profile

Actions

Bug #16239

closed

Recommend bash-completion package with rudder-agent

Added by Florian Heigl over 1 year ago. Updated 7 months ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
First impressions of Rudder
Effort required:
Priority:
69

Description

I remember to have had tab completion for rudder* commands.
In my current testing round, it seems there is none.

I logged out and back in, the dependencies are there.

root@svc-debian9-687:~# dpkg -l | grep rudder
ii rudder-agent 6.0.0~beta1-debian9 amd64 Configuration management and audit tool - agent
root@svc-debian9-687:~# cat /etc/debian_version
9.5
root@svc-debian9-687:~# aptitude search bash-com
i bash-completion - programmable completion for the bash shell

So I suspect it was a contrib bit that hasn't made it into the agent or got lost or something.
Or I dreamed up the whole thing? (don't think so)
It makes quite the difference in usability though.


Related issues

Related to Rudder - Bug #16250: Rudder autocompletion does not complete automatically the inputsReleasedBenoît PECCATTEActions
Actions #1

Updated by Félix DALLIDET over 1 year ago

Hi Florian, completion files are still packaged under /etc/bash_completion.d/.
We do not set the bash-completion as a dependency since it is not mandatory to run rudder.
But we should definitely put it as a recommended dependency

Installing the bash-completion package should make it works as you expect it to :)

Actions #2

Updated by Félix DALLIDET over 1 year ago

  • Target version set to 5.0.15
Actions #3

Updated by Félix DALLIDET over 1 year ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #4

Updated by Félix DALLIDET over 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2150
Actions #5

Updated by Félix DALLIDET over 1 year ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by Alexis MOUSSET over 1 year ago

  • Subject changed from bash completion to Recommend bash-completion package with rudder-agent
Actions #7

Updated by Florian Heigl over 1 year ago

Hi,

please have a look at my first post - i had bash completion installed, but it didn't kick in for 'rudder<tab>'
does it work for you like this?

correction - it's there it's working, it just works a bit odd.

root@svc-debian9-687:~# rudder age<tab>
agent directive help relay remote server

Here it should resolv to rudder agent already. It works quite badly that's why i thought it doesn't work. But maybe that's just how bash does it, i have been on other equipment for a lot of time recently.

So i think they apt-recommend solution is good! Not sure what is wrong with the completion.

Actions #9

Updated by Vincent MEMBRÉ over 1 year ago

This bug has been fixed in Rudder 5.0.15 which was released today.

Actions #10

Updated by Alexis MOUSSET over 1 year ago

  • Related to Bug #16250: Rudder autocompletion does not complete automatically the inputs added
Actions #11

Updated by Vincent MEMBRÉ 7 months ago

  • Status changed from Pending release to Released
  • Priority changed from 80 to 69
Actions

Also available in: Atom PDF