Closed
Bug 942829
Opened 12 years ago
Closed 12 years ago
Add option to skip contact pictures in b2gpopulate
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: davehunt, Assigned: sebastiaan)
References
Details
(Keywords: perf, Whiteboard: [c=profiling p= s=2013.12.06 u=])
Attachments
(1 file, 2 obsolete files)
For bug 937730 we need to be able to populate contacts without their pictures. We should add an optional argument to populate_contacts [1] such as include_pictures which defaults to True. If it's False we should avoid pushing the pictures to the device [2].
At this time we don't need a command line option for this.
[1] https://github.com/mozilla/b2gpopulate/blob/94355d1cc063f6104d44b4eeec9dcca0f67b0bee/b2gpopulate/b2gpopulate.py#L139
[2] https://github.com/mozilla/b2gpopulate/blob/94355d1cc063f6104d44b4eeec9dcca0f67b0bee/b2gpopulate/b2gpopulate.py#L164
![]() |
Assignee | |
Updated•12 years ago
|
Assignee: nobody → sebastiaan
![]() |
Assignee | |
Comment 1•12 years ago
|
||
We don't really need the '== True' part but I think it adds to the readability.
Attachment #8338342 -
Flags: review?(dave.hunt)
Reporter | ||
Comment 2•12 years ago
|
||
Comment on attachment 8338342 [details] [review]
Bug942829: option: Skip contact picture population
Good start, just a couple of tweaks and I think this will be good to land.
Attachment #8338342 -
Flags: review?(dave.hunt) → review-
![]() |
Assignee | |
Comment 3•12 years ago
|
||
Comments addressed!
Attachment #8338342 -
Attachment is obsolete: true
Attachment #8338417 -
Flags: review?(dave.hunt)
Reporter | ||
Comment 4•12 years ago
|
||
Comment on attachment 8338417 [details] [review]
Bug942829: option: Skip contact picture population
Just a couple of comments added to the pull request. With these changes we should be good to merge.
Attachment #8338417 -
Flags: review?(dave.hunt) → review-
![]() |
Assignee | |
Comment 5•12 years ago
|
||
Comments addressed.
Attachment #8338417 -
Attachment is obsolete: true
Attachment #8340756 -
Flags: review?(dave.hunt)
Reporter | ||
Comment 6•12 years ago
|
||
Comment on attachment 8340756 [details] [review]
Bug 942829 - option: Skip contact picture population
Landed in:
https://github.com/mozilla/b2gpopulate/commit/3ed89a1cce0cc41cb72d260133aef4a42a4ab64d
Attachment #8340756 -
Flags: review?(dave.hunt) → review+
Reporter | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Whiteboard: [c=profiling p= s= u=] → [c=profiling p= s=2013.12.06 u=]
You need to log in
before you can comment on or make changes to this bug.
Description
•