Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purpose of kinto.sqlite #164

Closed
Gitoffthelawn opened this issue Jul 7, 2017 · 17 comments
Closed

Purpose of kinto.sqlite #164

Gitoffthelawn opened this issue Jul 7, 2017 · 17 comments

Comments

@Gitoffthelawn
Copy link

Gitoffthelawn commented Jul 7, 2017

Does anyone know the purpose of kinto.sqlite?

It is present in profile folders, including new ones.

Searching DXR comes up nil... why is that?

@earthlng
Copy link
Contributor

earthlng commented Jul 7, 2017

It stores the individual kinto blocklists all in one file (from addons, gfx, plugins).
Why does it need addons.sqlite, etc AND kinto.sqlite? IDK!

@Gitoffthelawn
Copy link
Author

Gitoffthelawn commented Jul 7, 2017

@earthlng Thanks. So we can all delete the separate blocklist-addons,json, blocklist-gfx.json and blocklist-plugins.json blocklists in the profiles?

What does kinto mean in "kinto blocklists"?

BTW, I no longer see addons.sqlite, but I do see blocklist.xml.

Still curious why the string "kinto" is not showing up in a DXR search.

@earthlng
Copy link
Contributor

earthlng commented Jul 7, 2017

So we can all delete the separate blocklist-addons,json, blocklist-gfx.json and blocklist-plugins.json blocklists in the profiles?

Um, I have never seen any of those in my profile. But I'm now using ESR so that doesn't mean much.


What does kinto mean in "kinto blocklists"?

https://wiki.mozilla.org/Firefox/Kinto

Kinto is a simple JSON storage service that is used in Firefox for remote settings and the storage.sync API.


Still curious why the string "kinto" is not showing up in a DXR search.

Um, https://dxr.mozilla.org/mozilla-central/search?q=kinto&redirect=false

407 results from the mozilla-central tree

??


Surely in all the time since then, I would have expected at least some revoked certs.

Um ...

(from addons, gfx, plugins)

revoked certs are handled differently

@Atavic
Copy link

Atavic commented Jul 7, 2017

A JSON document store with sharing and synchronisation capabilities, which can block

  • addons
  • plugins
  • gfx
  • certificates

I added mozilla.com to the partial URLs on bottom page here and got redirected to:
https://blocked.cdn.mozilla.net/

@Gitoffthelawn
Copy link
Author

@earthlng Thanks. BTW, DXR search must have been broken when I tried, because the same search performed now returns results. Thanks again.

@Atavic
Copy link

Atavic commented Jul 9, 2017

Aren't the addons labeled as Legacy with this method?

@Atavic
Copy link

Atavic commented Jul 10, 2017

The bagde is what I meant.

@Gitoffthelawn
Copy link
Author

Gitoffthelawn commented Jul 10, 2017

@Thorin-Oakenpants wrote

so are these three blocklist.* json files still used, or redundant due to the kinto sqlite?

Redundant. I don't see references to them in the source code anywhere. I say delete 'em.

@Thorin-Oakenpants wrote:

the kinto.sqlite in a brand new portable 54 is a different size (slightly smaller)

I noticed this too. Weird. Not sure if best to delete it and let Firefox recreate it, or just leave it as is.

@earthlng
Copy link
Contributor

Starting with FF54 the 4 json files are included in omni.ja. It will now only create/update copies in the profile folder if there's an update on the remote server. That could explain the older last modified dates.

@Gitoffthelawn
Copy link
Author

@earthlng Hmmm... isn't the point of kinto to (largely) store those json files within the kinto sqlite database?

@Thorin-Oakenpants That's exciting news... hopefully they can do it.

@earthlng
Copy link
Contributor

Hmmm... isn't the point of kinto to (largely) store those json files within the kinto sqlite database?

Yes, afaik. Why, what's your point? You guys were wondering if the json files are obsolete. They are definitely not because copies of them are now shipped with FF.

@earthlng
Copy link
Contributor

I already have removed about-scheme from the default whitelist

lol, I noticed and mentioned GA on the addons page ages ago. What took you so long? xD

@earthlng
Copy link
Contributor

in a brand new FF portable, there are no such json files. I left a nilla FF running for around 12 hrs and they did not manifest. This is 54

yes, that's because they are now shipped with FF. Unless they change after the release you won't see them anymore in the profile folder.

I haven't deleted mine

you can delete them, np. Any action based on those blocklists would have long been done already by now.

@earthlng
Copy link
Contributor

but come WebExtension it says its blocked but it isn;t (on about pages)

still looking forward to FF57 ?? ;)

@Gitoffthelawn
Copy link
Author

Blocking GA via hosts should always work.

@Gitoffthelawn
Copy link
Author

@Thorin-Oakenpants For 0320, in the comments, add something regarding GA.

@fmarier
Copy link

fmarier commented Jul 12, 2017

OT: what a shitstorm .. read mozilla/addons#3145

The tracking protection regression is tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1380448.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants