Debian: fm cmd tab completion not working

Bug #2001553 reported by Enzo Candotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Enzo Candotti

Bug Description

Brief Description
-----------------
Debian: fm cmd tab completion not working

Severity
--------
Major

Steps to Reproduce
------------------
Hit double tab after typing 'fm alarm-l"

Expected Behavior
------------------
fm cmd tab completion working

Actual Behavior
----------------
fm cmd tab completion not working

Reproducibility
---------------
Reproducible

System Configuration
--------------------
all system

Branch/Pull Time/Commit
-----------------------
SW_VERSION=STX v8.0 (and STX v7.0 Debian)

Last Pass
---------
STX v6.0

Test Activity
-------------
Feature Testing

Changed in starlingx:
assignee: nobody → Enzo Candotti (ecandotti)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fault (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/fault/+/869102

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fault (master)

Reviewed: https://review.opendev.org/c/starlingx/fault/+/869102
Committed: https://opendev.org/starlingx/fault/commit/ca8be6b8661174268a597e78e422d97e03a9f36b
Submitter: "Zuul (22348)"
Branch: master

commit ca8be6b8661174268a597e78e422d97e03a9f36b
Author: Enzo Candotti <email address hidden>
Date: Tue Jan 3 15:32:29 2023 -0300

    Fix fm command bash dynamic completion

    For dynamic bash completion, instead of using the legacy
    /etc/bash_completiond.d, the current bash-completion can use a
    dynamic mechanism in which the customized completion is called
    upon completion activation.
    The new location that is already pointed by the .bashrc file,
    also engaged by the /etc/bash_completion, is
    /usr/share/bash-completion/completions.

    However, the bash file was placed under a subfolder with the
    name of the command which is not necessary since the file already
    contains the command name.
    Also, the proper file name shall contain .bash extension.

    Closes-Bug: 2001553

    Test Plan:
    PASS: Build python-fmclient package.
    PASS: Build Debian image and install it successfully.
    Verify fm.bash is installed under /usr/share/bash-completion/completions
    PASS: Verify bash completion is working as expected:

    Signed-off-by: Enzo Candotti <email address hidden>
    Change-Id: I3b796d26633459b98d7555e48e0bf5ea01c630d3

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.8.0 stx.debian stx.fault
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.