[Bug 14714] New: koha-mysql tab-completion in bash
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14714 Bug ID: 14714 Summary: koha-mysql tab-completion in bash Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Command-line Utilities Assignee: gmcharlt@gmail.com Reporter: tomascohen@gmail.com QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz The koha-mysql script lacks tab-completion in bash which would be handy. It should complete using only one valid instance name. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14714 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|gmcharlt@gmail.com |tomascohen@gmail.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14714 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14714 --- Comment #1 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 41867 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41867&action=edit Bug 14714: Add tab-completion to koha-mysql command This patch introduces tab-completion in bash to the koha-mysql command. It completes using valid instance names. It stops completing once an instance name is chosen (i.e. it respects the fact that koha-mysql accepts only one instance name as parameter). To test: - Have a packages install (kohadevbox works) - Run: $ . debian/koha-common.bash-completion - Type koha-mysql <tab> => SUCCESS: You are prompted valid instance names for completion. - Sign off :-D -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14714 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |12372 Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12372 [Bug 12372] Make koha-mysql handle arbitrary mysql arguments -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14714 --- Comment #2 from Nick Clemens <nick@quecheelibrary.org> --- Created attachment 41868 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41868&action=edit [SIGNED OFF] Bug 14714: Add tab-completion to koha-mysql command This patch introduces tab-completion in bash to the koha-mysql command. It completes using valid instance names. It stops completing once an instance name is chosen (i.e. it respects the fact that koha-mysql accepts only one instance name as parameter). To test: - Have a packages install (kohadevbox works) - Run: $ . debian/koha-common.bash-completion - Type koha-mysql <tab> => SUCCESS: You are prompted valid instance names for completion. - Sign off :-D Signed-off-by: Nick Clemens <nick@quecheelibrary.org> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14714 Nick Clemens <nick@quecheelibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |nick@quecheelibrary.org -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14714 Nick Clemens <nick@quecheelibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41867|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14714 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14714 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41868|0 |1 is obsolete| | --- Comment #3 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 41928 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41928&action=edit [PASSED QA] Bug 14714: Add tab-completion to koha-mysql command This patch introduces tab-completion in bash to the koha-mysql command. It completes using valid instance names. It stops completing once an instance name is chosen (i.e. it respects the fact that koha-mysql accepts only one instance name as parameter). To test: - Have a packages install (kohadevbox works) - Run: $ . debian/koha-common.bash-completion - Type koha-mysql <tab> => SUCCESS: You are prompted valid instance names for completion. - Sign off :-D Signed-off-by: Nick Clemens <nick@quecheelibrary.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14714 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |14727 Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14727 [Bug 14727] koha-indexer tab completion in bash -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14714 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com Status|Passed QA |Pushed to Master --- Comment #4 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Patch pushed to master. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org