Closed
Bug 947506
Opened 11 years ago
Closed 11 years ago
Rename PerProfileContentProvider to SQLiteBridgeContentProvider
Categories
(Firefox for Android Graveyard :: Data Providers, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 29
People
(Reporter: Margaret, Assigned: marcos.cezar.mendes)
References
Details
(Whiteboard: [mentor=margaret][lang=java][good first bug])
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
Margaret
:
review+
|
Details | Diff | Splinter Review |
PerProfileContentProvider was written (and named) before all our other content providers kept track of per-profile databases. However, PerProfileContentProvider is still different from our other content providers because it keeps track of a SQLiteBridge per profile (rather than a SQLiteOpenHelper).
So, I think we should rename this file to make it easier to understand its purpose.
Assignee | ||
Comment 1•11 years ago
|
||
(In reply to :Margaret Leibovic from comment #0)
> PerProfileContentProvider was written (and named) before all our other
> content providers kept track of per-profile databases. However,
> PerProfileContentProvider is still different from our other content
> providers because it keeps track of a SQLiteBridge per profile (rather than
> a SQLiteOpenHelper).
>
> So, I think we should rename this file to make it easier to understand its
> purpose.
Can I grab this bug to work on!? I'm new to firefox mobile development, i already compiled the code and i wanna to join to the development.
Reporter | ||
Comment 2•11 years ago
|
||
(In reply to Marcos Cezar Mendes da Costa Junior from comment #1)
> (In reply to :Margaret Leibovic from comment #0)
> > PerProfileContentProvider was written (and named) before all our other
> > content providers kept track of per-profile databases. However,
> > PerProfileContentProvider is still different from our other content
> > providers because it keeps track of a SQLiteBridge per profile (rather than
> > a SQLiteOpenHelper).
> >
> > So, I think we should rename this file to make it easier to understand its
> > purpose.
>
> Can I grab this bug to work on!? I'm new to firefox mobile development, i
> already compiled the code and i wanna to join to the development.
Sure thing! If you already have a build environment set up, you're well on your way!
Is the description I provided clear enough for you? If you haven't already found it, this is the file I'm talking about:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/db/PerProfileContentProvider.java
You'll also need to update the places where that class is used:
http://mxr.mozilla.org/mozilla-central/search?string=PerProfileContentProvider
Once you've made changes locally, you can follow these directions to make a patch, and set the review? flag to me:
https://developer.mozilla.org/en-US/docs/Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F
Feel free to hop in #mobile on irc.mozilla.org if you have any questions!
Assignee: nobody → marcos.cezar.mendes
Assignee | ||
Comment 3•11 years ago
|
||
Verify if i miss anything ok!? Sorry for the late.
Attachment #8355833 -
Flags: review?(margaret.leibovic)
Assignee | ||
Comment 4•11 years ago
|
||
The missing part of the patch i forgot to attach.
Attachment #8355852 -
Flags: review?(margaret.leibovic)
Assignee | ||
Comment 5•11 years ago
|
||
This is the official with all changes in one unique patch.
Attachment #8355854 -
Flags: review?(margaret.leibovic)
Reporter | ||
Comment 6•11 years ago
|
||
Comment on attachment 8355854 [details] [diff] [review]
renamePerProfileContentProvider.patch
Review of attachment 8355854 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for the patch! This is looking good, but instead of removing the old file and adding a new one, we should do an |hg rename| to preserve hg blame.
Attachment #8355854 -
Flags: review?(margaret.leibovic) → feedback+
Reporter | ||
Updated•11 years ago
|
Attachment #8355833 -
Attachment is obsolete: true
Attachment #8355833 -
Flags: review?(margaret.leibovic)
Reporter | ||
Updated•11 years ago
|
Attachment #8355852 -
Attachment is obsolete: true
Attachment #8355852 -
Flags: review?(margaret.leibovic)
Reporter | ||
Comment 7•11 years ago
|
||
Hey Marcos, how's it going? If you upload an updated version of your patch, I can give it and r+ and help you land it :)
Flags: needinfo?(marcos.cezar.mendes)
Reporter | ||
Comment 8•11 years ago
|
||
I just updated your patch to address my comment, and landed it for you:
https://hg.mozilla.org/integration/fx-team/rev/c95c77bbd0d1
Thanks for your help! Let us know if you need help finding more bugs to work on :)
Flags: needinfo?(marcos.cezar.mendes)
Reporter | ||
Comment 9•11 years ago
|
||
Comment on attachment 8355854 [details] [diff] [review]
renamePerProfileContentProvider.patch
Review of attachment 8355854 [details] [diff] [review]:
-----------------------------------------------------------------
(Post-hoc r+ with comments addressed)
Attachment #8355854 -
Flags: feedback+ → review+
Assignee | ||
Comment 10•11 years ago
|
||
Ok Margaret, Thanks. I've been too busy in the last month sorry for the slow answer i'm alive kkkkkkkkk.
Comment 11•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•