[Bugs] [Bug 1276208] New: [RFE] 'gluster volume help' output could be sorted alphabetically

bugzilla at redhat.com bugzilla at redhat.com
Thu Oct 29 05:40:45 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1276208

            Bug ID: 1276208
           Summary: [RFE] 'gluster volume help' output could be sorted
                    alphabetically
           Product: GlusterFS
           Version: 3.7.5
         Component: cli
          Keywords: EasyFix, FutureFeature, Triaged
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: mliyazud at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com,
                    kaushal at redhat.com, kparthas at redhat.com,
                    sasundar at redhat.com
        Depends On: 1193298, 1242894



+++ This bug was initially created as a clone of Bug #1242894 +++

+++ This bug was initially created as a clone of Bug #1193298 +++

Description of problem:
-----------------------
'gluster volume help' output is not sorted alphabetically.
This makes little harder for the user to search or get to know of few gluster
volume commands usage just from gluster cli.

This could be improved by sorting the volume subset alphabetically

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
mainline

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Execute 'gluster volume help' on CLI

Actual results:
---------------
all volume subset options are not sorted alphabetically

Expected results:
-----------------
Volume subset options should be sorted

Additional info:
----------------
Current output looks like this,

[~]# gluster v help
volume info ...
volume create ...
volume delete ...
volume start ...
volume stop ...
volume add-brick ...
volume remove-brick ...
volume rebalance ...
volume replace-brick ... 
volume set ...
volume help ...
'
'
volume clear-locks ...

It could be sorted alphabetically as,
[~]# gluster v help
volume add-brick ...

volume create ...
volume clear-locks ...
volume delete ...
volume help ...
volume info ...
volume rebalance ...
volume remove-brick ...
volume replace-brick ... 
'
'
volume set ...
volume start ...
volume stop ...
'
'

The justification is that future days could bring in more new options to
'volume' command, and it is difficult to search through that output.

--- Additional comment from Anand Avati on 2015-07-14 08:20:38 EDT ---

REVIEW: http://review.gluster.org/11663 (cli : 'gluster volume help' output
sorted alphabetically) posted (#2) for review on master by Mohamed Ashiq
(ashiq333 at gmail.com)

--- Additional comment from Anand Avati on 2015-07-15 04:59:07 EDT ---

REVIEW: http://review.gluster.org/11663 (cli : 'gluster volume help' output
sorted alphabetically) posted (#3) for review on master by Mohamed Ashiq
(ashiq333 at gmail.com)

--- Additional comment from Anand Avati on 2015-07-16 02:46:06 EDT ---

REVIEW: http://review.gluster.org/11663 (cli : 'gluster volume help' output
sorted alphabetically) posted (#4) for review on master by Mohamed Ashiq
(ashiq333 at gmail.com)

--- Additional comment from Anand Avati on 2015-07-23 02:56:37 EDT ---

REVIEW: http://review.gluster.org/11663 (cli : 'gluster volume help' output
sorted alphabetically) posted (#5) for review on master by Mohamed Ashiq
(ashiq333 at gmail.com)

--- Additional comment from Anand Avati on 2015-07-28 11:21:31 EDT ---

REVIEW: http://review.gluster.org/11663 (cli : 'gluster volume help' output
sorted alphabetically) posted (#6) for review on master by Mohamed Ashiq
(mliyazud at redhat.com)

--- Additional comment from Anand Avati on 2015-08-03 01:35:58 EDT ---

REVIEW: http://review.gluster.org/11663 (cli : 'gluster volume help' output
sorted alphabetically) posted (#8) for review on master by Mohamed Ashiq
Liyazudeen (mliyazud at redhat.com)

--- Additional comment from Anand Avati on 2015-08-05 03:20:31 EDT ---

REVIEW: http://review.gluster.org/11663 (cli : 'gluster volume help' output
sorted alphabetically) posted (#9) for review on master by Mohamed Ashiq
Liyazudeen (mliyazud at redhat.com)

--- Additional comment from Anand Avati on 2015-08-05 05:05:14 EDT ---

REVIEW: http://review.gluster.org/11663 (cli : 'gluster volume help' output
sorted alphabetically) posted (#10) for review on master by Mohamed Ashiq
Liyazudeen (mliyazud at redhat.com)

--- Additional comment from Vijay Bellur on 2015-09-15 12:28:58 EDT ---

REVIEW: http://review.gluster.org/11663 (cli : 'gluster volume help' output
sorted alphabetically) posted (#13) for review on master by Mohamed Ashiq
Liyazudeen (mliyazud at redhat.com)

--- Additional comment from Vijay Bellur on 2015-10-27 03:12:20 EDT ---

REVIEW: http://review.gluster.org/11663 (cli : 'gluster volume help' output
sorted alphabetically) posted (#14) for review on master by Mohamed Ashiq
Liyazudeen (mliyazud at redhat.com)

--- Additional comment from Vijay Bellur on 2015-10-28 16:42:35 EDT ---

COMMIT: http://review.gluster.org/11663 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit 323e71617fee5020324540776d0d4469577f0afe
Author: Mohamed Ashiq <mliyazud at redhat.com>
Date:   Wed Jul 15 14:19:49 2015 +0530

    cli : 'gluster volume help' output sorted alphabetically

    'gluster volume help' output is not sorted alphabetically.
    This makes little harder for the user to search or get to know of
    few gluster volume commands usage just from gluster cli.

    Change-Id: I855da2e4748a5c2ff3be319c50fa9548d676ee8a
    BUG: 1242894
    Signed-off-by: Mohamed Ashiq <mliyazud at redhat.com>
    Reviewed-on: http://review.gluster.org/11663
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Manikandan Selvaganesh <mselvaga at redhat.com>
    Reviewed-by: Anand Nekkunti <anekkunt at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1193298
[Bug 1193298] [RFE] 'gluster volume help' output could be sorted
alphabetically
https://bugzilla.redhat.com/show_bug.cgi?id=1242894
[Bug 1242894] [RFE] 'gluster volume help' output could be sorted
alphabetically
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list