Closed Bug 784875 Opened 12 years ago Closed 12 years ago

permissions.sqlite files in talos need to be upgraded

Categories

(Testing :: Talos, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mounir, Assigned: mounir)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The schema of that file has been upgraded and the upgrade should happen automatically. However, those files (in talos) don't carry the version number which means we don't know the version and assume they are of the latest. We need to upgrade them to v3 and make sure they are marked as v3.
Blocks: 784884
Attached patch PatchSplinter Review
This is equivalent of doing:

ALTER TABLE moz_hosts ADD appId INTEGER;
ALTER TABLE moz_hosts ADD isInBrowserElement INTEGER;
PRAGMA user_version=3;
Assignee: nobody → mounir
Status: NEW → ASSIGNED
Comment on attachment 654466 [details] [diff] [review]
Patch

Review of attachment 654466 [details] [diff] [review]:
-----------------------------------------------------------------

Please, redirect to someone else if you are not the right person to review that change.
Attachment #654466 - Flags: review?(jmaher)
We will want this in the next talos deploy to m-c.

I'm not sure what needs to be changed in the sqlite files.  :mounir, could you maybe point to some documentation?  Or if you have time to make a patch, even better
Looks like me beat me to the punch. Pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=a40504790c2e
Comment on attachment 654466 [details] [diff] [review]
Patch

Review of attachment 654466 [details] [diff] [review]:
-----------------------------------------------------------------

I can't think of any other permissions or sqlite files that need to be modified.
Attachment #654466 - Flags: review?(jmaher) → review+
try server run is looking good.  jhammel, we need to ensure mozbase has these changes.

From the looks of the changes, we are probably safe allowing this on older versions of firefox as well.
landed: http://hg.mozilla.org/build/talos/rev/cb2a2ed6859e

We will need a follow-up to get this and other talos changes running on m-c
(In reply to Joel Maher (:jmaher) from comment #6)
> try server run is looking good.  jhammel, we need to ensure mozbase has
> these changes.

ticketed: bug 785146
(In reply to Jeff Hammel [:jhammel] from comment #7)
> landed: http://hg.mozilla.org/build/talos/rev/cb2a2ed6859e
> 
> We will need a follow-up to get this and other talos changes running on m-c

https://bugzilla.mozilla.org/show_bug.cgi?id=785249
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: