Closed
Bug 617790
Opened 14 years ago
Closed 14 years ago
[profile] mozprofile should have a clone option
Categories
(Testing Graveyard :: Mozmill, defect)
Testing Graveyard
Mozmill
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: k0scist, Assigned: k0scist)
References
Details
(Whiteboard: [mozmill-2.0+])
Attachments
(1 file)
2.80 KB,
patch
|
harth
:
review+
|
Details | Diff | Splinter Review |
Currently, MozMill restart bends over backwards to reconstruct a
profile:
https://github.com/mozautomation/mozmill/blob/master/mozmill/mozmill/__init__.py#L422
Instead, this functionality should be introduced as a .clone method
(maybe @classmethod, if that makes sense) into MozProfile. This lets
the data and duplication lives where it makes sense.
Assignee | ||
Updated•14 years ago
|
Whiteboard: [mozmill-2.0?]
Assignee | ||
Updated•14 years ago
|
Summary: mozprofile should have a clone option → [profile] mozprofile should have a clone option
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → jhammel
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #508952 -
Flags: review?(fayearthur+bugs)
Assignee | ||
Comment 2•14 years ago
|
||
The patch actually does reset instead of clone because that is in fact the functionality that is needed. A clone would be easy to do if additionally required.
Comment 3•14 years ago
|
||
Comment on attachment 508952 [details] [diff] [review]
moves managing of profile state to the profile
nice code improvement, r=me.
Attachment #508952 -
Flags: review?(fayearthur+bugs) → review+
Assignee | ||
Comment 4•14 years ago
|
||
pushed to master https://github.com/mozautomation/mozmill/commit/4a0f83edea97e2ca73b0f8a2ef33ffc05fe4e4e1
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 5•14 years ago
|
||
Jeff, why have you switched the docstyle? As you told me everything should be in the same line for short descriptions. That's also what we have in this file in other areas.
Updated•8 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•