Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Changes to ruleset validation output#3070

Merged
semenko merged 1 commit into
EFForg:masterEFForg/https-everywhere:masterfrom
fuglede:more-explicit-errorsCopy head branch name to clipboard
Dec 17, 2015
Merged

Changes to ruleset validation output#3070
semenko merged 1 commit into
EFForg:masterEFForg/https-everywhere:masterfrom
fuglede:more-explicit-errorsCopy head branch name to clipboard

Conversation

@fuglede

@fuglede fuglede commented Oct 14, 2015

Copy link
Copy Markdown
Contributor

This achieves a couple of different things:

  • Previously, when some rulesets contained errors, xmllint would be run twice when running it only once was sufficient. This thus saves a fair amount of time.
  • Previously, the end of the script would never actually be executed since xmllint would break it. In particular, the obtained exit status might not have been the expected one.
  • Echo errors to stderr instead of stdout.
  • Most importantly: Give some additional output when validation failure is due to one of the two most common ruleset errors, where the existing error output was not particularly helpful.

This achieves a couple of different things:
- Previously, when some rulesets contained errors, xmllint would be run twice when running it only once was sufficient. This thus saves a fair amount of time.
- Previously, the end of the script would never actually be executed since xmllint would break it.
- Echo errors to stderr instead of stdout,
- Most importantly: Give some additional output when validation failure is due to one of the two most common ruleset errors, where the existing error output was not particularly helpful.
@semenko

semenko commented Dec 17, 2015

Copy link
Copy Markdown
Contributor

Nice work -- thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.