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] Integrate with pr-preview #836
Comments
I think @tobie has a mode where it can just use the branch-snapshots stuff that already exists, which gets us 90% of the way there. It doesn't help for external contributor PRs (from forks), though. |
What's the issue? |
We run a custom build script beyond just Bikeshed, basically. |
Oh, right. It's node based? |
Yep |
It's post-processing, right? On BS output, not BS source, correct? |
Indeed! |
Give this a spin: https://github.com/tobie/pr-preview#post_processing-optional. And ping me when you do so I can check the logs. Might completely break, or just work. |
Relevant line of code is here: https://github.com/tobie/pr-preview/blob/master/lib/post-processor.js#L9. |
Does |
Yes. |
@dontcallmedom already fixed it. |
Config is pulled from the master branch, not the PR branch. |
Let me go through the logs, though. |
Does this mean that testing via https://tobie.github.io/pr-preview/config.html won't work? |
No, it will. |
Tracking this config file issue here: tobie/pr-preview#10 |
Use the [pr-preview tool](https://tobie.github.io/pr-preview/) to automatically generate previews for pull requests. Closes #836.
@ricea just editing the body of any of your existing PRs (just add an extra line break) should trigger pr-preview for it. |
Okay, this happened: https://s3.amazonaws.com/pr-preview/whatwg/streams/20f9c64...5ebb666.html |
Ah, the preview works, just not the diff. |
Yeah, saw that. Tidy still requires custom-element white-listing for now. @dontcallmedom, can you add |
done @tobie |
Thanks a bunch, @dontcallmedom! |
<emu-val> is the only other one I found in a quick check. |
Same here. |
Alright, I need to manually wipe the S3 cache, and then we should be good to give it another try. |
Cache wiped. You can give this another go (or alternatively temporarily give me credentials to edit the repo). |
And btw, you don't need to push to the PR to trigger a new update, you can just edit the body of the PR on GitHub's web interface. |
pr-preview would automatically provide diffs of the visible HTML for standard changes. Example output: https://s3.amazonaws.com/pr-preview/whatwg/encoding/ee357f3...6bc288b.html
Unfortunately it doesn't appear to support emu-algify so the integration would be non-trivial. It looks like we'd need a web service to do the translation?
The text was updated successfully, but these errors were encountered: