jenkinsci / jenkinsci/git-parameter-plugin
[JENKINS-56944] Sort tags in git-parameter plugin
- Dominant language
- Java
- Stars
- 131
- Forks
- 134
- Avg merge
- 21h 5m
- Merged PRs (30d)
- 1
Description
Sort the tags for the git parameter plugin.
For projects with many tags the current UI makes finding the right tag very difficult.
Currently, no matter what sort mode I select, of the available five sort modes: None, Assending Smart, Descending Smart, Assenting or Descending I get the same semi-ordered list of tags:
0.1.3-7
0.1.3-8
0.0.0-0
0.1.3-8_Test_Build
0.1.3-7_Test_Build
Interestingly, if I add a tag similar to 0.1.3-8_Test_Build, it will sink to the bottom, and if I add one similar to 0.1.3-8, it will rise to the top - but both top and bottom sections are not sorted.
It does not seem like the order is related to the tag creation order, but just in case it's interesting, the tags were added to the (Bitbucket) repository in the following order, to commits in the repository that progress naturally in time:
- 0.0.0-0
- 0.1.3-7_Test_Build
- 0.1.3-7
- 0.1.3-8_Test_Build
- 0.1.3-8
---
Originally reported by
fsteff, imported from: Sort tags in git-parameter plugin
Raw content of original issue
Sort the tags for the git parameter plugin.
For projects with many tags the current UI makes finding the right tag very difficult.Currently, no matter what sort mode I select, of the available five sort modes: None, Assending Smart, Descending Smart, Assenting or Descending I get the same semi-ordered list of tags:
0.1.3-7
0.1.3-8
0.0.0-0
0.1.3-8_Test_Build
0.1.3-7_Test_BuildInterestingly, if I add a tag similar to 0.1.3-8_Test_Build, it will sink to the bottom, and if I add one similar to 0.1.3-8, it will rise to the top - but both top and bottom sections are not sorted.
It does not seem like the order is related to the tag creation order, but just in case it's interesting, the tags were added to the (Bitbucket) repository in the following order, to commits in the repository that progress naturally in time:
- 0.0.0-0
- 0.1.3-7_Test_Build
- 0.1.3-7
- 0.1.3-8_Test_Build
- 0.1.3-8
environment
```
Jenkins 2.170
Git Parameter Plug-in 0.9.10
```
Contributor guide
Assessment
This issue has not been assessed yet.