Re: Deprecating localstore.rdf

2014-08-05 Thread Axel Hecht

On 8/4/14 9:55 PM, Benjamin Smedberg wrote:


On 7/22/2014 8:47 AM, Roberto Agostino Vitillo wrote:

Localstore.rdf will soon be replaced with a json store (see Bug
559505). I am currently planning to leave the localstore.rdf
implementation as it is and issue a warning when a client tries to
access to it. This is needed as some add-ons seem still to rely on it.
We could use some Telemetry probes to see effectively how many add-ons
are still using the rdf store once the patch lands.

Are there any objections or remarks to the deprecation of localstore.rdf?


This does involve a one-time import of localstore data into the new
format, correct?

I'm happy that we are doing this. I *believe* that this may be the last
client of the RDF code in Firefox, which may allow us to remove RDF from
Firefox in a future release. Do you already have an addon validation
warning about addons using localstore?

--BDS



How much of XUL templates with RDF do we support still? Never kept track 
of templates to start with :-/


Axel
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Deprecating localstore.rdf

2014-08-05 Thread rvitillo
On Monday, August 4, 2014 8:55:35 PM UTC+1, Benjamin Smedberg wrote:

 This does involve a one-time import of localstore data into the new 
 format, correct?

Correct.

 
 I'm happy that we are doing this. I *believe* that this may be the last 
 client of the RDF code in Firefox, which may allow us to remove RDF from 
 Firefox in a future release. Do you already have an addon validation 
 warning about addons using localstore?

What do you mean exactly by addon validation warning? In an earlier version of 
the patch there was a warning for any user of the old localstore API but Neil 
suggested to remove it.

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Deprecating localstore.rdf

2014-08-05 Thread Benjamin Smedberg


On 8/5/2014 9:14 AM, rviti...@mozilla.com wrote:

What do you mean exactly by addon validation warning?
I mean an rule in the AMO automated checking/validation system: normally 
they are simple grep rules to detect that an addon is using an obsolete 
interface or code pattern. This will warn on new addon uploads; it's 
also used sometime near release to warn addon authors about potentially 
breaking changes. Talk to Jorge about the details of getting this kind 
of rule added to the validator.


--BDS

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Deprecating localstore.rdf

2014-08-04 Thread Benjamin Smedberg


On 7/22/2014 8:47 AM, Roberto Agostino Vitillo wrote:

Localstore.rdf will soon be replaced with a json store (see Bug 559505). I am 
currently planning to leave the localstore.rdf implementation as it is and 
issue a warning when a client tries to access to it. This is needed as some 
add-ons seem still to rely on it. We could use some Telemetry probes to see 
effectively how many add-ons are still using the rdf store once the patch lands.

Are there any objections or remarks to the deprecation of localstore.rdf?


This does involve a one-time import of localstore data into the new 
format, correct?


I'm happy that we are doing this. I *believe* that this may be the last 
client of the RDF code in Firefox, which may allow us to remove RDF from 
Firefox in a future release. Do you already have an addon validation 
warning about addons using localstore?


--BDS

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Deprecating localstore.rdf

2014-08-04 Thread Gavin Sharp
This is certainly a big one, but
https://bugzilla.mozilla.org/showdependencytree.cgi?id=833098maxdepth=1hide_resolved=1
suggests we will still need to worry about mimeTypes.rdf and
install.rdf/update.rdf, unfortunately...

Gavin

On Mon, Aug 4, 2014 at 12:55 PM, Benjamin Smedberg
benja...@smedbergs.us wrote:

 On 7/22/2014 8:47 AM, Roberto Agostino Vitillo wrote:

 Localstore.rdf will soon be replaced with a json store (see Bug 559505). I
 am currently planning to leave the localstore.rdf implementation as it is
 and issue a warning when a client tries to access to it. This is needed as
 some add-ons seem still to rely on it. We could use some Telemetry probes to
 see effectively how many add-ons are still using the rdf store once the
 patch lands.

 Are there any objections or remarks to the deprecation of localstore.rdf?


 This does involve a one-time import of localstore data into the new format,
 correct?

 I'm happy that we are doing this. I *believe* that this may be the last
 client of the RDF code in Firefox, which may allow us to remove RDF from
 Firefox in a future release. Do you already have an addon validation warning
 about addons using localstore?

 --BDS


 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Deprecating localstore.rdf

2014-08-04 Thread Kyle Huey
How many of these, if any, are used on b2g?

- Kyle

On Mon, Aug 4, 2014 at 2:06 PM, Gavin Sharp ga...@gavinsharp.com wrote:
 This is certainly a big one, but
 https://bugzilla.mozilla.org/showdependencytree.cgi?id=833098maxdepth=1hide_resolved=1
 suggests we will still need to worry about mimeTypes.rdf and
 install.rdf/update.rdf, unfortunately...

 Gavin

 On Mon, Aug 4, 2014 at 12:55 PM, Benjamin Smedberg
 benja...@smedbergs.us wrote:

 On 7/22/2014 8:47 AM, Roberto Agostino Vitillo wrote:

 Localstore.rdf will soon be replaced with a json store (see Bug 559505). I
 am currently planning to leave the localstore.rdf implementation as it is
 and issue a warning when a client tries to access to it. This is needed as
 some add-ons seem still to rely on it. We could use some Telemetry probes to
 see effectively how many add-ons are still using the rdf store once the
 patch lands.

 Are there any objections or remarks to the deprecation of localstore.rdf?


 This does involve a one-time import of localstore data into the new format,
 correct?

 I'm happy that we are doing this. I *believe* that this may be the last
 client of the RDF code in Firefox, which may allow us to remove RDF from
 Firefox in a future release. Do you already have an addon validation warning
 about addons using localstore?

 --BDS


 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform
 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Deprecating localstore.rdf

2014-08-04 Thread Benjamin Smedberg


On 8/4/2014 5:06 PM, Gavin Sharp wrote:

This is certainly a big one, but
https://bugzilla.mozilla.org/showdependencytree.cgi?id=833098maxdepth=1hide_resolved=1
suggests we will still need to worry about mimeTypes.rdf and
install.rdf/update.rdf, unfortunately...


ok. mimeTypes.rdf is read/write and so we'd need to replace it.

install/update.rdf are read-only and so we could use the simple JS shim 
library pretty easily.


--BDS

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Deprecating localstore.rdf

2014-07-29 Thread Philip Chee
On 28/07/2014 08:08, Jim Porter wrote:
 On 07/23/2014 07:10 AM, rviti...@mozilla.com wrote:
 Are there any objections or remarks to the deprecation of
 localstore.rdf?
 
 Just to be proactive, is there anything that other applications (read:
 Thunderbird) will need to do about this, or will it just automatically work?

As far as I know nothing in Thunderbird or SeaMonkey talks directly to
localstore.rdf. As long as the APIs remain the same (and perhaps some
shims) it shouldn't matter if the backend is using RDF or JSON or SQLite.

Phil

-- 
Philip Chee phi...@aleytys.pc.my, philip.c...@gmail.com
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Deprecating localstore.rdf

2014-07-27 Thread Jim Porter
On 07/23/2014 07:10 AM, rviti...@mozilla.com wrote:
 Are there any objections or remarks to the deprecation of
 localstore.rdf?

Just to be proactive, is there anything that other applications (read:
Thunderbird) will need to do about this, or will it just automatically work?

- Jim
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Deprecating localstore.rdf

2014-07-23 Thread Trevor Saunders
On Wed, Jul 23, 2014 at 05:10:33AM -0700, rviti...@mozilla.com wrote:
 Localstore.rdf will soon be replaced with a json store (see Bug 559505). I am 
 currently planning to leave the localstore.rdf implementation as it is and 
 issue a warning when a client tries to access to it. This is needed as some 
 add-ons seem still to rely on it. We could use some Telemetry probes to see 
 effectively how many add-ons are still using the rdf store once the patch 
 lands.
 
 Are there any objections or remarks to the deprecation of localstore.rdf?

you sir are a hero of the people.

Trev

 
 Roberto
 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Deprecating localstore.rdf

2014-07-23 Thread Mike de Boer
On 23 Jul 2014, at 14:10, rviti...@mozilla.com wrote:

 Localstore.rdf will soon be replaced with a json store (see Bug 559505). I am 
 currently planning to leave the localstore.rdf implementation as it is and 
 issue a warning when a client tries to access to it. This is needed as some 
 add-ons seem still to rely on it. We could use some Telemetry probes to see 
 effectively how many add-ons are still using the rdf store once the patch 
 lands.
 
 Are there any objections or remarks to the deprecation of localstore.rdf?

Is this a trick question? :-P


Seriously, thanks for working on this!


Mike.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Deprecating localstore.rdf

2014-07-23 Thread Mike Hommey
On Wed, Jul 23, 2014 at 05:10:33AM -0700, rviti...@mozilla.com wrote:
 Localstore.rdf will soon be replaced with a json store (see Bug
 559505). I am currently planning to leave the localstore.rdf
 implementation as it is and issue a warning when a client tries to
 access to it. This is needed as some add-ons seem still to rely on it.
 We could use some Telemetry probes to see effectively how many add-ons
 are still using the rdf store once the patch lands.
 
 Are there any objections or remarks to the deprecation of
 localstore.rdf?

Who would object to less use of the rdf code?

Mike
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Deprecating localstore.rdf

2014-07-23 Thread Neil

Mike Hommey wrote:


Who would object to less use of the rdf code?
 


Especially as you get to reinvent each replacement independently!

--
Warning: May contain traces of nuts.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform