Closed Bug 1197568 Opened 9 years ago Closed 9 years ago

create a main.Application class

Categories

(Testing :: mozregression, defect)

defect
Not set
normal

Tracking

(firefox43 affected)

RESOLVED FIXED
Tracking Status
firefox43 --- affected

People

(Reporter: parkouss, Assigned: parkouss)

References

Details

Attachments

(1 file)

The bisector.BisectRunner is not really well named. I propose to move that code in a new Application class, where it will make more sense.

Application will be the entry point to run the bisection (after the command line arguments have been parsed and verified). It will be also useful when we will want to implement the --launch argument.
Assignee: nobody → j.parkouss
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Oups, I did not meant to close it.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Again, a big change! Sorry for that, but this is time for some good refactoring in mozregression. :)

Well, this will also help to implement the --launch feature in a nice and clean way.

Copy paste of the commit comment:

Replace the bisector.BisectRunner class with a main.Application class.

The purpose of this class is a bit more generic though it can still run
nightlies and inbounds bisection. Application is reponsible to create and
manage the required instances of BuildDownloadManager, TestRunner and Bisector.
It also create a temporary download dir if no persist dir is given.
Attachment #8651685 - Flags: review?(sabergeass)
Attachment #8651685 - Flags: feedback?(wlachance)
Comment on attachment 8651685 [details] [review]
create a main.Application class

Just test it on locally, I think it's good to go :)
Attachment #8651685 - Flags: review?(sabergeass) → review+
Thanks MikeLing!

So this is a great change I think (and I want to go on hacking with some things that needs that), so I decided to land in https://github.com/mozilla/mozregression/commit/2d123ccb1704e1c9248d851c3fc8117cc6e1363b.

Will, feel tree to give some feedback, I will take it in consideration of course and could address issues in follow-ups.
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
Comment on attachment 8651685 [details] [review]
create a main.Application class

If :mikeling looked over it, I think that's good enough for a review. :)
Attachment #8651685 - Flags: feedback?(wlachance)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: