Closed
Bug 505688
Opened 16 years ago
Closed 16 years ago
Bespin version update, 2009-07
Categories
(bugzilla.mozilla.org :: Administration, task)
bugzilla.mozilla.org
Administration
Tracking
()
RESOLVED
FIXED
People
(Reporter: GPHemsley, Assigned: timeless)
Details
Development of Bespin is progressing, so it's time for a version number update.
== Version ==
=== REMOVE ===
0.2.4
0.2.5
0.2.6
=== ADD ===
0.3.1
0.4.0
0.4.1
Also, please sort the list so that all the version numbers are in order, with 'unspecified' at the top and 'Trunk' at the bottom.
== Target ==
=== REMOVE ===
0.2.4
0.2.5
0.2.6
=== ADD ===
0.3.2
0.4.x
0.4.0
0.4.1
Also, please move the '---' to between 0.3.2 and 0.4.x.
Thank you kindly.
sorry, versions are sorted alphabetically. I can't move unspecified (without giving it some other name).
Assignee: marcia → timeless
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 2•16 years ago
|
||
(In reply to comment #1)
> sorry, versions are sorted alphabetically.
That can't possibly be the case, because the list is all out of order. It goes 0.2.1, 0.3.0, Trunk, 0.2.2, ..., 0.3.1, 0.4.0, 0.4.1. It seems more like it's sorted by date added or something, which makes no sense. (It could very well be a limitation of Bugzilla... but it still makes no sense.)
(In reply to comment #0)
> == Target ==
> === REMOVE ===
> 0.2.4
> 0.2.5
> 0.2.6
It seems like that part got lost in the shuffle, so I'm marking as REOPENED for the time being.
Thanks again.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
sorry about the missed bits, got them, thanks.
you're looking at query, i think its algorithm is something like:
$position = 0;
%versions = ();
@products = PickProductList(order=Uncertain);
foreach $product (@products) {
@product_versions = getVersions($product);
foreach $version (@product_versions) {
$versions{$version} = $position++ unless defined $versions{$version};
}
}
@versions = ();
foreach $version (keys %versions) {
$versions[$versions{$version}] = $version;
}
print $versions[$version] for ($version = 0; $version < $position; ++$position);
Basically the first product to define a version defines where in the order a version goes, if you're later in the list and most of your versions were defined, they'll be elsewhere, so you only contribute the unique version bits.
And no, it doesn't make sense for the case when you only have one product selected. It's probably actually javascript (not perl), but it's a bug in bugzilla, so file it there :).
The version table that matters to real people is the one in a single bug, and that's alpha sorted. And that I can't fix either :)
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Component: Bugzilla: Keywords & Components → Administration
Product: mozilla.org → bugzilla.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•