Closed
Bug 739601
Opened 13 years ago
Closed 10 years ago
Replace config/milestone.pl
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla37
People
(Reporter: joey, Assigned: Ms2ger)
References
Details
Attachments
(1 file)
9.10 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
Port config/milestone.pl to python and write unit a unit test for the script.
- the .pl script will also generate an uninit var warning when called w/o --topsrcdir.
toolkit/xre/Makefile.in - this makefile is setup to read milestone.txt in different ways {stale code?}. Calling milestone.pl and cat config/milestone.txt. Cat should be replaced by a call to the script so whitespace and embedded newlines cannot affect extracting a value from the file.
Comment 1•13 years ago
|
||
I'm not sure why we read the file in two ways, but it may be that certain locations actually want the full version number there. milestone.pl simply strips off the trailing bits (like "a1"), which seems like hugely overkill at this point. Perhaps it did more in an ancient time, I can't remember.
Comment 2•13 years ago
|
||
It probably made sense when we had versions like x.ya1pre.
Updated•12 years ago
|
Summary: config/milestone.pl → Replace config/milestone.pl
Assignee | ||
Comment 4•10 years ago
|
||
Assignee | ||
Comment 5•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → Ms2ger
Assignee | ||
Comment 6•10 years ago
|
||
Attachment #8542902 -
Flags: review?(gps)
Comment 7•10 years ago
|
||
Comment on attachment 8542902 [details] [diff] [review]
Rewrite (the used parts of) config/milestone.pl in python
Review of attachment 8542902 [details] [diff] [review]:
-----------------------------------------------------------------
Most excellent.
Attachment #8542902 -
Flags: review?(gps) → review+
Assignee | ||
Comment 8•10 years ago
|
||
Comment 9•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•