Closed Bug 301250 Opened 19 years ago Closed 11 years ago

User displayable version numbers should be stored in one place

Categories

(Toolkit Graveyard :: XULRunner, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: bugs, Unassigned)

Details

If we develop a new versioning scheme with complex systems of comparison etc
that are not necessarily obvious to regular users (or even our testing
community) we should have a separate system for storing and displaying human
readable versions. These need not be parseable, and may contain actual text etc. 

Right now we have 

brandShortName=Firefox
brandFullName=Mozilla Firefox
vendorShortName=Mozilla

we might also have

        shortVersion=2
somewhatShortVersion=2.0
         fullVersion=2.0.1

...and then the complete version number with build identifying components could
be obtained from nsIXULAppInfo. 

This allows us to build user interface strings like "Firefox 2" and "version
2.0" etc without having to hard code versions in all over the place. Also the
scheme should allow us to do things like have values like "1.0 Preview Release"
etc.
Just remember that whatever you build must be supported by the online
counterparts of AMO and AUS.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.