Workaround a design flaw in data-files globbing; increase coverage.

A longstanding design error in Cabal requires data-files' full
extension to match exactly, so *.xml matches CERT.xml but not
CERT.fi.xml. The previous specification dropped 27% of rules.
master
vi 2017-12-11 03:55:40 +01:00
parent ed1933f2c5
commit 72e984ebcb
1 changed files with 110 additions and 0 deletions

View File

@ -25,6 +25,116 @@ cabal-version:
data-dir:
vendor/https-everywhere/src/chrome/content/rules
data-files:
-- A longstanding design error in Cabal requires data-files' full extension to
-- match exactly, so *.xml matches CERT.xml but not CERT.fi.xml. Last I checked,
-- specifying *.xml here would capture only capture about 70% of the rules in the
-- database. As a (temporary?) workaround, before upgrading the rules database,
-- repopulate this list with the output of:
--
-- find rules -name '*.xml' | sed 's/^[^.]*//' | sort -u | sed 's/^/*/'
--
-- If you have a better idea, LMK.
*.ac.th.xml,
*.ac.uk.xml,
*.arizona.edu.xml,
*.as.xml,
*.at.xml,
*.bbyo.org.xml,
*.bg.xml,
*.Bitcoin.cz.xml,
*.biz.xml,
*.BKA.gv.at.xml,
*.bs.xml,
*.cat.xml,
*.ca.xml,
*.cc.xml,
*.CC.xml,
*.Chevronwp7.com.xml,
*.ch.xml,
*.com.au.xml,
*.com-breakchat.xml,
*.com-break.xml,
*.com-clients.xml,
*.com-expired.xml,
*.com-falsemixed.xml,
*.com-noscript.xml,
*.com.tr.xml,
*.com.tw.xml,
*.com.xml,
*.Com.xml,
*.coop.xml,
*.co.th.xml,
*.co.uk.xml,
*.co.xml,
*.co.za.xml,
*.cz.xml,
*.de-falsemixed.xml,
*.demandprogress.org.xml,
*.de-mixedcontent.xml,
*.de.xml,
*.dk.xml,
*.ebm.fi.xml,
*.edu.xml,
*.English.Purdue.edu.xml,
*.es.xml,
*.eu.xml,
*.fi.xml,
*.fm.xml,
*.fr-falsemixed.xml,
*.fr.xml,
*.fsdn.com.xml,
*.go.jp.xml,
*.govt.nz.xml,
*.gov.xml,
*.iet.unipi.it.xml,
*.ie.xml,
*.info.xml,
*.int.xml,
*.IN.xml,
*.io.xml,
*.is.xml,
*.it.xml,
*.jp.xml,
*.kursuslogin.dk.xml,
*.leseweb.dk.xml,
*.li.xml,
*.ly.xml,
*.me.xml,
*.mitre.org.xml,
*.name.xml,
*.net-falsemixed.xml,
*.net-self-signed.xml,
*.net.xml,
*.NET.xml,
*.nl.xml,
*.no.xml,
*.org-CACert.xml,
*.org-falsemixed.xml,
*.org.ru.xml,
*.org-self-signed.xml,
*.org.uk.xml,
*.org.xml,
*.pl.xml,
*.proteste.pt.xml,
*.pro.xml,
*.pt.xml,
*.Python.org.xml,
*.Resource.Org.xml,
*.ru.xml,
*.se.xml,
*.sh.xml,
*.sk.xml,
*.snoobi.com.xml,
*.st.xml,
*.surftown.com.xml,
*.su.xml,
*.sx.xml,
*.theory.xml,
*.to.xml,
*.tv.xml,
*.us.xml,
*.utwente.xml,
*.virtadpt.net.xml,
*.xml
library