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

Implement periodically checked assertions #44

Open
myrdd opened this issue Mar 25, 2016 · 0 comments
Open

Implement periodically checked assertions #44

myrdd opened this issue Mar 25, 2016 · 0 comments

Comments

@myrdd
Copy link
Member

myrdd commented Mar 25, 2016

Maintaining the lists is hard work – we should find a solution there. Some kind of assertions per rule could help. An example could be:

„In order to maintain the ‚allow‘ rule some-blog.com -> youtube.com in list ‚allow_embedded‘, there must be at least one request from http://some-blog.com/some-blog-entry.html to *.youtube.com.“

That assertion could be checked automatically, and the rule could be removed if the assertion fails, e.g. if the site goes down permanently.

The implementation could look like this (json format):

{
  "entries": {
    "allow": [
      {
        "o": {"h": "*.heise.de"},
        "d": {"h": "*.ix.de"},
        "assertions": [
          {
            "site": "http://www.heise.de/",
            "minMatchedRequests": 5,
            "minMatchedImages": 5
          }
        ]
      }
    ]
  }
}

The discussion started at #41 (comment).

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

No branches or pull requests

1 participant