mozilla / observatory-cli

Mozilla Public License 2.0
187 stars 24 forks source link

keep vs skip on rules, and how it affects grade if at all #4

Closed gregglind closed 8 years ago

gregglind commented 8 years ago

Should (using rc or similar) offer a --keep and --ignore | skip set?

Example:

--skip strict-transport-security  --skip contribute

Some discussion

  1. What happens when new rules exist? Claim: it should break code. We are outsourcing our grade to April King's brain already, so let's lean into that. To me, this also implies SKIP, but not KEEP should exist.
  2. Can 'grades' co-exist with this system? NO. The only place this filtering happens is at the CLIENT json / csv

    Proposal: --skip

  3. in REPORTING (not at server) a 0+ --skip rulename [--skip otherrulename] can exist.
  4. there is no --keep option
  5. these can also be defined in an rc file.
gregglind commented 8 years ago

complete. --skip only.