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

Make sortorder and sorttype of type choices

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.4.0
    • Release Doc Maker
    • 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.00.patch
          1 kB
          Ajay Yadav
        2. YETUS-423.01.patch
          3 kB
          Ajay Yadav

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: