プロジェクト

全般

プロフィール

Vote #68599

未完了

Version numbering sort

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Roadmap_22
対象バージョン:
-
開始日:
2010/11/13
期日:
進捗率:

0%

予定工数:
category_id:
22
version_id:
0
issue_org_id:
6881
author_id:
20575
assigned_to_id:
0
comments:
7
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

This is my first bug report im not sure if it is a bug but

0.1
0.2
1.0
1.1

Works good but if you do

0.1
0.2
0.11

It be a bit wrong

/ Slaktarn


journals

I think, you should use
<pre>
0.01
0.02
0.11
0.20
</pre>

If you want to change the version number from 0.1 to 0.01, I think, you can do that.
--------------------------------------------------------------------------------
Versions are sorted by date then by name (alphabetically), so what you describe is not a defect (1.1 < 1.10 < 1.2 is alphabetically correct).
What you expect is some kind of version numbering sort when names looks like x.y where x and y are integers.
--------------------------------------------------------------------------------
Are it not any way to first sort them after numbering?

/ Slaktarn
--------------------------------------------------------------------------------
SwedishMatch TimerWolf wrote:
> Are it not any way to first sort them after numbering?
>
> / Slaktarn

Or atlest if that not possibel first store after date and not name to get it right anyways it culd be a workaround
--------------------------------------------------------------------------------
I don't know of any versioning scheme in which "1.10" is smaller than "1.2". I think this issue deserves a higher priority, or even it could be set as a "defect".
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I guess the reason for this ticket not being solved within 10 years is the fact that there is no one-size-fits-all solution.

However, if you would refactor the code for the internal version sort to be extensible, I could help myself with a plugin.
--------------------------------------------------------------------------------


related_issues

relates,New,6974,Define manually the versions order in Roadmap (when date isn't defined)
duplicates,Closed,7269,Sort versions by version numbers x.y.z{z} instead of alphabetically
duplicates,Closed,28035,Order of versions is not correctly ordered

Admin Redmine さんが約2年前に更新

  • カテゴリRoadmap_22 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0