-
Notifications
You must be signed in to change notification settings - Fork 78
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
Meta: use the common deploy.sh #121
Conversation
This successfully deployed a branch snapshot to the new server. I'm not sure whether the checker step is equivalent before and after since the method used is different. @sideshowbarker? |
Would the output from the checker even show if it's non-fatal with the current setup? It seems like it might not be shown, which isn't ideal. |
https://travis-ci.org/whatwg/encoding/builds/232362067 is from before @sideshowbarker added the filter. Shows lots of warnings "Text run is not in Unicode Normalization Form C." that are typically useful to know about, but we know are not a problem for this document, which is why we filter them. |
(I'd actually argue for making such warnings an error for WHATWG documents, except when we decide it's not an error.) |
https://travis-ci.org/whatwg/encoding/builds/271487608 is the run with these changes, and the checker must have run and passed, even though there's no output. So I guess the common deploy.sh is more lenient than the previous setup? But https://checker.html5.org/?doc=https%3A%2F%2Fencoding.spec.whatwg.org%2F shows no errors, is that expected? |
Oh, then the problem is that you don't run the checker on all the other HTML files that end up being generated. |
@sideshowbarker, the common deploy.sh does |
Yes, that traverses the entire |
I’m not sure either. Is the difference that in case it’s sending the documents to https://checker.html5.org/ for checking using checker’s network API, and in the other case it’s downloading the jar and checking the documents locally? If so, I think we want to be using the checker’s network API—not the jar—for all specs except the HTML spec. See whatwg/meta#4 (comment) for why. |
Well, Encoding also has a lot of HTML files and I suspect they may end up being rather big in total, but I haven't verified. The main problem here is that @foolip removed filtering for warnings, but the new output doesn't show warnings. So where did those go? |
OK, so I've run the existing script locally a bit to understand what these warnings are. https://encoding.spec.whatwg.org/big5.html has warnings like "Text run is not in Unicode Normalization Form C.", which show up when using the https://checker.html5.org/ API. The warnings also show up when using @sideshowbarker, is there a way of making errors into warnings and the suppressing some warnings using the vnu.jar? |
Hmm, looks like |
There previously was no way of making the checker exit non-zero if there are only warnings, but I just today added a new |
Yay, thanks! I think we should add a CHECKER_FILTER environment variable that is passed to |
b00cbc4
to
5f02fcf
Compare
This is ready for review again, best reviewed together with whatwg/whatwg.org#111. |
No description provided.