You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Ajay Yadava (JIRA)" <ji...@apache.org> on 2016/07/07 18:02:11 UTC

[jira] [Updated] (YETUS-423) Make sortorder and sorttype of type choices

     [ https://issues.apache.org/jira/browse/YETUS-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ajay Yadava updated YETUS-423:
------------------------------
    Description: 
sortorder and sorttype can take only specific values, so it will be better to make them choices. A common scenario where this will help is a command like below

python releasedocmaker.py --version trunk --project falcon -t "Apache Falcon" --outputdir result --sortorder desc --sorttype issueid

(Note that the sortorder is "desc" instead of the permitted "dec")
This command will sort the issues in ascending order instead of descending order and is a potential source of confusion given that it is a common typo to give sortorder as "desc".


  was:
sortorder and sorttype can take only specific values, so it will be better to make them choices. A common scenario where this will help is a command like below

python releasedocmaker.py --version trunk --project falcon -t "Apache Falcon" --outputdir result --sortorder=desc --sorttype=issueid

(Note that the sortorder is "desc" instead of the permitted "dec")
This command will sort the issues in ascending order instead of descending order and is a potential source of confusion given that it is a common typo to give sortorder as "desc".



> Make sortorder and sorttype of type choices
> -------------------------------------------
>
>                 Key: YETUS-423
>                 URL: https://issues.apache.org/jira/browse/YETUS-423
>             Project: Yetus
>          Issue Type: Improvement
>            Reporter: Ajay Yadava
>            Priority: Minor
>
> sortorder and sorttype can take only specific values, so it will be better to make them choices. A common scenario where this will help is a command like below
> python releasedocmaker.py --version trunk --project falcon -t "Apache Falcon" --outputdir result --sortorder desc --sorttype issueid
> (Note that the sortorder is "desc" instead of the permitted "dec")
> This command will sort the issues in ascending order instead of descending order and is a potential source of confusion given that it is a common typo to give sortorder as "desc".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)