Skip to content

[MCHANGES-419] Make IssueAdapter#getReleases return releases in a sensible order.#29

Closed
bendardenne wants to merge 1 commit into
apache:masterfrom
bendardenne:sorted-releases
Closed

[MCHANGES-419] Make IssueAdapter#getReleases return releases in a sensible order.#29
bendardenne wants to merge 1 commit into
apache:masterfrom
bendardenne:sorted-releases

Conversation

@bendardenne

@bendardenne bendardenne commented Sep 19, 2023

Copy link
Copy Markdown
Contributor

The list of releases is provided to the velocity template as $releases, however this list is unsorted (as per Map#values documentation).

Because velocity doesn't allow you to easily sort version strings, it seems to make sense to me that they are provided in descending order to velocity.

The use-case is to generate reports/announcements containing changes for all releases.

@bendardenne bendardenne changed the title Make IssueAdapter#getReleases return releases in a sensible order. [MCHANGES-419] Make IssueAdapter#getReleases return releases in a sensible order. Sep 25, 2023
@slachiewicz slachiewicz added the enhancement New feature or request label Jan 13, 2024
asfgit pushed a commit that referenced this pull request Jan 13, 2024
@jira-importer

Copy link
Copy Markdown

Resolve #290

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants