Open Bug 1731648 Opened 4 years ago Updated 4 years ago

Versions are off-by-one

Categories

(Testing :: mozregression, defect, P4)

Default
defect

Tracking

(Not tracked)

People

(Reporter: sfoster, Unassigned)

Details

Starting mozregression with a release number seems to download the subsequent release.

STR:
./mach mozregression --good 88

ER:
about:support shows version 88

AR:
about:supoport shows version 89.

The same seems to be true for the gui.

The severity field is not set for this bug.
:wlach, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(wlachance)

The algorithm used to get the current release is approximate, since it truncates the exact branching point to a date:

https://github.com/mozilla/mozregression/blob/597fac2354cfbda1371cdaad8c96f0b4146b40c8/mozregression/releases.py#L10

I think it's close enough for most purposes. I'd accept a well-thought-out PR that improves things, but I suspect "fixing" this might be more trouble than it's worth.

Severity: -- → S4
Flags: needinfo?(wlachance)
Priority: -- → P4
You need to log in before you can comment on or make changes to this bug.