Services/Shavar/Lists: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
m (modify stage, prod columns)
(→‎Overview: link to the list of lists served by shavar)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Shavar Lists =  
= Overview =  
 
To quickly check which lists are being served by shavar:
 
* [https://shavar.services.mozilla.com/list prod]
* [https://shavar.stage.mozaws.net/list stage]


== Summary ==
== Summary ==


The purpose of this wiki is to provide:
The purpose of this wiki is to provide information related to the Shavar server lists.
* A list-centric matrix of shavar dependencies.
These lists will be rolled / phased out from both the (Shavar) server and the (Firefox) client.
** intent is to easily view a match-up between lists and when they will appear in a specific version of the client as well as when they will be available from the shavar server itself.
 
* A Basic overview of list "pref sets" used for testing
'''Server-side'''
* What lists are currently being server by the Shavar server in STAGE, in PRODUCTION?
* What lists will be removed / added and when (as of which shavar server deployment)


'''Client-side'''
'''Client-side'''
Line 12: Line 19:
* What lists will be removed / added and when (and in what client version)
* What lists will be removed / added and when (and in what client version)


'''Server-side'''
'''Reference'''
* What lists are currently being server in STAGE, in PRODUCTION?
 
* What lists are to be removed (no longer served) and with what deployment?
Tesplan:
* What lists are to be added (to be served) and with what deployment?
* see: [[Services/TrackingProtection/Shavar Server - Testing]]
 
 
[[#top]]
 
 
== Purpose ==
 
In this wiki you'll find the following:
 
* a list-centric matrix of shavar dependencies
** Can be used to easily view a match-up between lists and (a) when they will be available from the shavar server as well as (b) when they will enabled in a specific version of the Firefox client
* A Basic overview of list "pref sets" used for testing
* A Summary of the various list repositories and what they're used for
 
'''Please Note:'''
 
* there is currently no whitelist for diary testing (mozfull)
* staging and production list are the same (except moztestpub is only used in staging tests)
* In staging environment, we use the same shavar code, just using different lists which get served from different shavar stacks.
* moztespub lists are generated on stage by committing changes to: https://github.com/mozilla-services/shavar-test-lists
 
[[#top]]
 
 
== List Types & Repos ==
 
# [https://github.com/mozilla-services/shavar-prod-lists Disconnect list]
#* Canonical list from disconnect
# [https://github.com/mozilla-services/shavar-staging-lists "Staging" List]
#* Our clone of disconnect list we use for testing changes
# [https://github.com/mozilla-services/shavar-test-lists Editing List]
#* Editable black/white lists used by services-QA team for e2e-testing


[[#top]]
[[#top]]


== List Dependency Matrix ==
= List Dependency Matrix =


{| class="wikitable"  
{| class="wikitable"  
Line 46: Line 85:
|
|
|
|
|Fx43
| 43
|
|
|
| the "strict" Disconnect list (uses the same whitelist)
|
|
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|mozfullstaging-track-digest256
|mozfullstaging-track-digest256
|X
| X
|X
| X
|
| 0.7
|
|N/A
|
|
|
|
|
| testing new entries to the strict blacklist before we
submit them to Disconnect
|Never shipped w/ FF
|Never shipped w/ FF
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|mozplugin-block-digest256  
| mozplugin-block-digest256  
|X
| X
|X
| X
|
| 0.7
|
|
|Fx47
| 47
|
|
|
|
|
|
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|mozplugin2-block-digest256
| mozplugin2-block-digest256
|X
| X
|X
| X
|
| 0.7
|
|
|Fx47
| 47
|
|
|
|
Line 82: Line 122:
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|mozpub-track-digest256
|mozpub-track-digest256
|X
| X
|X
| X
|
|
|
| 0.7
|Fx38
| 38
|Fx42
| 42
|
|
|
|
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|mozstd-track-digest256
|mozstd-track-digest256
|X
| X
|X
| X
|
|
|
|
|Fx42
| 42
|
|
|
|
Line 102: Line 142:
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|mozstd-trackwhite-digest256
|mozstd-trackwhite-digest256
|X
| X
|X
| X
|
|
|
|
|Fx42
| 42
|
|
|
|
Line 112: Line 152:
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|mozstdstaging-track-digest256
|mozstdstaging-track-digest256
|X
| X
|X
| X
|
| 0.7
|
|
|N/A
|  
|
|
|testing new entries before we  
| testing new entries to the default blacklist before we  
submit them to Disconnect
submit them to Disconnect
|Never shipped w/ FF
| Never shipped w/ FF
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|mozstdstaging-trackwhite-digest256
| mozstdstaging-trackwhite-digest256
|X
| X
|X
| X
|
| 0.7
|
|
|N/A
|  
|
|
|testing new entries before we  
| testing new entries to the whitelist before we  
submit them to Disconnect
submit them to Disconnect
|Never shipped w/ FF
| Never shipped w/ FF
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|moztestpub-track-digest256
| moztestpub-track-digest256
|X
| X
|
|
|
|
|
|
|N/A
|  
|
|
|testing additions and removals during  
| testing additions and removals during  
the end-to-end tests
the end-to-end tests
|Never shipped w/ FF
| Never shipped w/ FF
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|moztestpub-trackwhite-digest256
| moztestpub-trackwhite-digest256
|X
| X
|
|
|
|
|
|
|N/A
|  
|
|
|testing additions and removals during  
|testing additions and removals during  
Line 155: Line 195:
|Never shipped w/ FF
|Never shipped w/ FF
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|base-track-digest256
| base-track-digest256
|X
| X
|X
| X
|
|
|
|
Line 165: Line 205:
|
|
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|basew3c-track-digest256
| basew3c-track-digest256
|X
| X
|X
| X
|
|
|
|
Line 175: Line 215:
|
|
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|baseeff-track-digest256
| baseeff-track-digest256
|X
| X
|X
| X
|
|
|
|
Line 185: Line 225:
|
|
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|content-track-digest256
| content-track-digest256
|X
| X
|X
| X
|
|
|
|
Line 195: Line 235:
|
|
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|contentw3c-track-digest256
| contentw3c-track-digest256
|X
| X
|X
| X
|
|
|
|
Line 205: Line 245:
|
|
|-
|-
|contenteff-track-digest256
| contenteff-track-digest256
|X
| X
|X
| X
|
|
|
|
Line 218: Line 258:
[[#top]]
[[#top]]


= List Testing - "Pref Sets" =
= List Testing =


== "Pref Sets" ==
For testing shavar and tracking protection client behavior (in the browser), we need to set certain custom preferences in about:config.
For testing shavar and tracking protection client behavior (in the browser), we need to set certain custom preferences in about:config.


Line 245: Line 286:
| change white & blacklist because we those are the ones we can edit in github
| change white & blacklist because we those are the ones we can edit in github
| should be called "editing-list" or "e2e-test". For all other tests, the actual underlying list is the disconnect one (except mozstaging which has another upstream repo)
| should be called "editing-list" or "e2e-test". For all other tests, the actual underlying list is the disconnect one (except mozstaging which has another upstream repo)
|-
| base
| same purpose as mozfull since we set the tracking table to include both "base" (equivalent to mozstd) and "content" (which has the entries in mozfull that aren't in mozstd)
|
|}
|}
[[#top]]
= List Types =
# staging one
# disconnect list
# editing list


[[#top]]
[[#top]]

Latest revision as of 20:16, 6 April 2017

Overview

To quickly check which lists are being served by shavar:

Summary

The purpose of this wiki is to provide information related to the Shavar server lists. These lists will be rolled / phased out from both the (Shavar) server and the (Firefox) client.

Server-side

  • What lists are currently being server by the Shavar server in STAGE, in PRODUCTION?
  • What lists will be removed / added and when (as of which shavar server deployment)

Client-side

  • What lists are currently being consumed by the client (in Nightly, DevEd, Beta, etc.)?
  • What lists will be removed / added and when (and in what client version)

Reference

Tesplan:


#top


Purpose

In this wiki you'll find the following:

  • a list-centric matrix of shavar dependencies
    • Can be used to easily view a match-up between lists and (a) when they will be available from the shavar server as well as (b) when they will enabled in a specific version of the Firefox client
  • A Basic overview of list "pref sets" used for testing
  • A Summary of the various list repositories and what they're used for

Please Note:

  • there is currently no whitelist for diary testing (mozfull)
  • staging and production list are the same (except moztestpub is only used in staging tests)
  • In staging environment, we use the same shavar code, just using different lists which get served from different shavar stacks.
  • moztespub lists are generated on stage by committing changes to: https://github.com/mozilla-services/shavar-test-lists

#top


List Types & Repos

  1. Disconnect list
    • Canonical list from disconnect
  2. "Staging" List
    • Our clone of disconnect list we use for testing changes
  3. Editing List
    • Editable black/white lists used by services-QA team for e2e-testing

#top

List Dependency Matrix

List Name Shavar Server Deploy Firefox Client Release Purpose Comments

(Ops/QA/Dev)

STG PRD Add

in

Remove

in

Add

in

Remove

in

mozfull-track-digest256 X X 43 the "strict" Disconnect list (uses the same whitelist)
mozfullstaging-track-digest256 X X 0.7 testing new entries to the strict blacklist before we

submit them to Disconnect

Never shipped w/ FF
mozplugin-block-digest256 X X 0.7 47
mozplugin2-block-digest256 X X 0.7 47
mozpub-track-digest256 X X 0.7 38 42
mozstd-track-digest256 X X 42
mozstd-trackwhite-digest256 X X 42
mozstdstaging-track-digest256 X X 0.7 testing new entries to the default blacklist before we

submit them to Disconnect

Never shipped w/ FF
mozstdstaging-trackwhite-digest256 X X 0.7 testing new entries to the whitelist before we

submit them to Disconnect

Never shipped w/ FF
moztestpub-track-digest256 X testing additions and removals during

the end-to-end tests

Never shipped w/ FF
moztestpub-trackwhite-digest256 X testing additions and removals during

the end-to-end tests

Never shipped w/ FF
base-track-digest256 X X
basew3c-track-digest256 X X
baseeff-track-digest256 X X
content-track-digest256 X X
contentw3c-track-digest256 X X
contenteff-track-digest256 X X


#top

List Testing

"Pref Sets"

For testing shavar and tracking protection client behavior (in the browser), we need to set certain custom preferences in about:config.

Below you will find a matrix of test "pref sets" and their usage

Pref Set Key Feature Comments
mozstd determine what list client uses to block things
mozfull tracking table pref - we switch the blacklist, keep same whitelist
mozstaging for staging changes to the disconnect list
moztestpub change white & blacklist because we those are the ones we can edit in github should be called "editing-list" or "e2e-test". For all other tests, the actual underlying list is the disconnect one (except mozstaging which has another upstream repo)
base same purpose as mozfull since we set the tracking table to include both "base" (equivalent to mozstd) and "content" (which has the entries in mozfull that aren't in mozstd)

#top