Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-423

Make sortorder and sorttype of type choices

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: Release Doc Maker
    • Labels:
      None

      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".

        Attachments

        1. YETUS-423.01.patch
          3 kB
          Ajay Yadav
        2. YETUS-423.00.patch
          1 kB
          Ajay Yadav

          Activity

            People

            • Assignee:
              ajayyadava Ajay Yadav
              Reporter:
              ajayyadava Ajay Yadav
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: