Skip to content

Commit b01e850

Browse files
committed
Disable thinkprogress and zillow.
Fixes EFForg#1353 Also update requirements.txt and ruleset-testing.md per contributor feedback.
1 parent 1836a6b commit b01e850

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
lxml>=3.3.3
2+
pycurl
3+
regex
4+
bsdiff4
5+
python-Levenshtein

ruleset-testing.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,10 @@ will break the build. This means that even fixes of existing rules may require
5757
additional work to bring them up to snuff.
5858

5959
To run the tests locally, you'll need the https-everywhere-checker, which is now
60-
a submodule of https-everywhere. Run these commands to set it up:
60+
a submodule of https-everywhere. To set it up, run:
6161

62-
git submodule init
63-
git submodule update
64-
cd https-everywhere-checker
65-
pip install --user -r requirements.txt
66-
cd -
67-
./test-ruleset-coverage.sh
68-
69-
Note you may also need to apt-get install libcurl4-openssl-dev so that one of
70-
the requirements in https-everywhere-checker can be satisfied.
62+
./install-dev-dependencies.sh
7163

7264
To test a specific ruleset:
7365

74-
python2.7 https-everywhere-checker/src/https_everywhere_checker/check_rules.py https-everywhere-checker/checker.config.sample rules/Example.xml
66+
./fetch-test.sh rules/Example.xml

src/chrome/content/rules/Center-for-American-Progress.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
¹ Secured by us
1515
1616
-->
17-
<ruleset name="Center for American Progress (partial)">
17+
<ruleset name="Center for American Progress (partial)" default_off="breaks site">
1818

1919
<target host="thinkprogress.org"/>
2020
<target host="www.thinkprogress.org"/>

src/chrome/content/rules/Zillow.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<!--
2+
Disbaled because it breaks overlay on pages like http://www.zillow.com/homes/for_sale/San-Francisco-CA/San-Francisco-CA_rb/
3+
See https://github.com/EFForg/https-everywhere/issues/1353
4+
25
For problematic rules, see Zillow-problematic.xml
36
47
@@ -63,7 +66,7 @@
6366
* Secured by us, doesn't trip MCB anyway
6467
6568
-->
66-
<ruleset name="Zillow (partial)">
69+
<ruleset name="Zillow (partial)" default_off="Breaks overlays">
6770

6871
<target host="zillow.com" />
6972
<target host="*.zillow.com" />

0 commit comments

Comments
 (0)