Project

General

Profile

Actions

Bug #16239

closed

Recommend bash-completion package with rudder-agent

Added by Florian Heigl about 5 years ago. Updated about 4 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
First impressions of Rudder
Effort required:
Priority:
69
Name check:
Reviewed
Fix check:
Checked
Regression:

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 1 (0 open1 closed)

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

Updated by Félix DALLIDET about 5 years 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 about 5 years ago

  • Target version set to 5.0.15
Actions #3

Updated by Félix DALLIDET about 5 years ago

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

Updated by Félix DALLIDET about 5 years 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 about 5 years ago

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

Updated by Alexis Mousset about 5 years ago

  • Subject changed from bash completion to Recommend bash-completion package with rudder-agent
  • Name check changed from To do to Reviewed
Actions #7

Updated by Florian Heigl about 5 years 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 #8

Updated by Félix DALLIDET almost 5 years ago

  • Fix check changed from To do to Checked
Actions #9

Updated by Vincent MEMBRÉ almost 5 years ago

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

Actions #10

Updated by Alexis Mousset almost 5 years ago

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

Updated by Vincent MEMBRÉ about 4 years ago

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

Also available in: Atom PDF