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)

ARM
Gonk (Firefox OS)
defect
Not set
normal

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: nobody → sebastiaan
We don't really need the '== True' part but I think it adds to the readability.
Attachment #8338342 - Flags: review?(dave.hunt)
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-
Comments addressed!
Attachment #8338342 - Attachment is obsolete: true
Attachment #8338417 - Flags: review?(dave.hunt)
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-
Comments addressed.
Attachment #8338417 - Attachment is obsolete: true
Attachment #8340756 - Flags: review?(dave.hunt)
Attachment #8340756 - Flags: review?(dave.hunt) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Keywords: perf
Whiteboard: [c=profiling p= s= u=]
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.

Attachment

General

Created:
Updated:
Size: