Closed
Bug 1120983
Opened 10 years ago
Closed 10 years ago
Split manifestparser into manifestparser.py, cli.py, expression.py and maybe ini.py
Categories
(Testing :: Mozbase, defect)
Testing
Mozbase
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla38
People
(Reporter: ahal, Assigned: ahal)
References
(Blocks 1 open bug)
Details
Attachments
(3 files, 1 obsolete file)
Manifestparser is currently one giant file. I'd like to do a simple refactor to split it into a several smaller files. The obvious separations are the command line handling stuff, and the expression parser stuff and possibly the ini parsing stuff.
This will help me make more logical sense out of this module and allow me to add support for chunking and test runtimes etc., more easily.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8548880 -
Flags: review?(wlachance)
Assignee | ||
Comment 2•10 years ago
|
||
/r/2477 - Bug 1120983 - [manifestparser] Split commandline handling into cli.py
/r/2479 - Bug 1120983 - [manifestparser] Split expression parsing into expression.py
/r/2481 - Bug 1120983 - [manifestparser] Split ini parsing into ini.py
Pull down these commits:
hg pull review -r ab672252a827d9595ed366cfc63c767c686af391
Assignee | ||
Comment 3•10 years ago
|
||
I was worried that removing manifestparser.py from mochitest's moz.build would break android, but apparently we don't need to do that anymore:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a826f9497f07
Comment 4•10 years ago
|
||
Comment on attachment 8548880 [details]
MozReview Request: bz://1120983/ahal
Looks good to me, assuming it passes try. I'd probably squash these changes into a single commit though.
Attachment #8548880 -
Flags: review?(wlachance) → review+
Assignee | ||
Comment 5•10 years ago
|
||
Try runs:
android - https://treeherder.mozilla.org/#/jobs?repo=try&revision=a826f9497f07
other - https://treeherder.mozilla.org/#/jobs?repo=try&revision=9a3acb76b79b
Squashed and landed:
https://hg.mozilla.org/integration/mozilla-inbound/rev/efc0e28680fd
Comment 6•10 years ago
|
||
The single file design is a holdover from the days before we had virtualenvs, FWIW. Glad to see code modularity is no longer blocked on crap like that. :)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Assignee | ||
Comment 8•10 years ago
|
||
Attachment #8548880 -
Attachment is obsolete: true
Attachment #8619119 -
Flags: review+
Attachment #8619120 -
Flags: review+
Attachment #8619121 -
Flags: review+
Assignee | ||
Comment 9•10 years ago
|
||
Assignee | ||
Comment 10•10 years ago
|
||
Assignee | ||
Comment 11•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•