| Summary: | bad completion of xv openable files | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Claire Revillet <grenoya> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | davidwhodgins, doktor5000, sysadmin-bugs, tmb |
| Version: | 1 | Keywords: | Triaged, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | bash-completion | CVE: | |
| Status comment: | |||
|
Description
Claire Revillet
2011-11-12 18:53:19 CET
Hi, thanks for reporting this bug. I can confirm this bug. In bash without bash-completion it works, in zsh with bash-completion too. Assigned to the package maintainer. Keywords:
(none) =>
Triaged Culprit identified: $ grep -b xv /etc/bash_completion 3109:complete -f -X '!*.@(gif|jp?(e)g|tif?(f)|png|p[bgp]m|bmp|x[bp]m|rle|rgb|pcx|fits|pm)' xv qiv I've added said completion and will report this upstream. Updated package is on it's way. Status:
NEW =>
ASSIGNED Just for reference, reported upstream: https://alioth.debian.org/tracker/index.php?func=detail&aid=313477&group_id=100114&atid=413095 With bash-completion-2:1.3-2.1.mga1.noarch installed, Entering xv /usr/share/texmf-dist/tex/latex/bclogo/bcbash and then pressing the tab key, I get ... : eval: line -849: syntax error near unexpected token `)' bash: eval: line -849: `compgen -f -X !!(|?(e)ps|?(E)PS)||?(E)PS|?(E)PS)) -- $(quote_readline $cur)' CC:
(none) =>
davidwhodgins Sorry, you were just too fast and got an faulty-in-between-update, had to wait for the submission by my mentor. Also i've not reassigned this to QA ;) So here it goes: There is now bash-completion-1.3-2.2.mga1 in core/updates_testing to validate ------------------------------------------------------- Suggested advisory: ------------------- This update addresses the following issue: bash-completion was missing a completion for (e)ps files for xv, a picture viewer. The completion has now been added for xv. ------------------------------------------------------- Steps to reproduce: - install/update to update candidate - check that the completion works ok, for example by entering "xv /usr/share/ghostscript/9.02/examples/g" into a terminal an pressing tab, it should offer you two files, golfer.eps and grayalph.ps and when entering the following letter from one of those two it should complete to one of those filenames. Assignee:
doktor5000 =>
qa-bugs It's still not working in Cauldron ! This bug was originally opened for cauldron and even if someone changed it for 1/ the bug should be corrected in cauldron before pushing update in 1/ . forgot to but back Florian in copy for previous comment CC:
(none) =>
doktor5000 Shlomi Fish submitted the fix for cauldron (as for mga1 after my first one didn't fix it properly) which is different than mine, and i needed to push another fix because it spew out errors like Dave mentioned, sorry but i haven't tested for Cauldron. Tomorrow i can push my commit also to cauldron after testing it there. But this does not block the validation of the update candidate for mga1. Testing complete on i586 for the srpm bash-completion-1.3-2.2.mga1.src.rpm xv /usr/share/texmf-dist/tex/latex/bclogo/bc followed by a tab now shows the eps files. Testing x86_64 Before ------ # grep -b xv /etc/bash_completion grep: /etc/bash_completion: No such file or directory bash-completion not installed, which is strange, it seems to be on my i586 system. After installing it and restarting... $ grep -b xv /etc/bash_completion 3109:complete -f -X '!*.@(gif|jp?(e)g|tif?(f)|png|p[bgp]m|bmp|x[bp]m|rle|rgb|pcx|fits|pm)' xv qiv Doesn't list pdf's After ----- $ grep -b xv /etc/bash_completion 3199:complete -f -X '!*.@(gif|jp?(e)g|tif?(f)|png|p[bgp]m|bmp|x[bp]m|rle|rgb|pcx|fits|pm|?(e)ps|?(E)PS)' xv Tested i586 too. Update validated Advisory: ------------------- This update addresses the following issue: bash-completion was missing a completion for (e)ps files for xv, a picture viewer. The completion has now been added for xv. ------------------- SRPM: bash-completion-1.3-2.2.mga1.src.rpm Could sysadmin please push from core/updates_testing to core/updates. Thankyou! Keywords:
(none) =>
validated_update FWIW, bash-completion is not included in a default install. Also xv is not good for opening PDFs (or any multipage document). Yep it's OK. I edited the posting and deleted a line that related to where it would have made sense :\ Without it installed it was listing everything, even pdf's. Still full of cold and my head isn't working properly. (In reply to comment #6) > It's still not working in Cauldron ! FYI, should now be also fixed in cauldron with bash-completion-1.90-5.mga2 Please report whether it works now. (In reply to comment #13) > FYI, should now be also fixed in cauldron with bash-completion-1.90-5.mga2 > Please report whether it works now. It works ! thanks Florian :) Update pushed. Status:
ASSIGNED =>
RESOLVED |