Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lvm: improve completions for lvremove #1335

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

siteshwar
Copy link

It should have a completion for /dev/mapper path.

@siteshwar
Copy link
Author

This is a fix for https://bugzilla.redhat.com/show_bug.cgi?id=2317249.

You can test it by running lvremove /d<TAB>.

@akinomyoga
Copy link
Collaborator

I think we can add a test for /dev/mapper/.

siteshwar and others added 2 commits March 3, 2025 22:20
It should have a completion for `/dev/mapper` path.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
@akinomyoga
Copy link
Collaborator

I fixed the commit message to follow Conventional Commits and added a test.

@akinomyoga akinomyoga requested a review from yedayak March 3, 2025 13:22
@yedayak
Copy link
Collaborator

yedayak commented Mar 3, 2025

When I run complete on lvremove /dev/ma, it gets completed to lvremove /dev/mapper/ with a space at the end, which doesn't really make sense, since you will want to continue filling that in with the actual devices there.
I'm not sure what will be a better way though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants