On 6/11/15 7:04 AM, Steven Schveighoffer wrote:
On 6/11/15 8:21 AM, Vladimir Panteleev wrote:
I've put together a CI system of sorts that builds the documentation for
all pull requests. Hopefully this should avoid the dlang.org build
breaking again in the future. It integrates with GitHub as well, and on
repositories covered by Brad's auto-tester, will create a second status
for the documentation. The whole thing is Digger-powered, so uses the
same code as Digger and http://digger.k3.1azy.net/trend/.
Sample page:
http://dtest.thecybershadow.net/results/a6e6883454a4d62c8d4b41819b9a7e33899b6222/31744d2fb90cf25ef1778f52ef640abc56c494c2/
Source code: https://github.com/CyberShadow/DAutoTest
Cool fact: When you request a built file (e.g. a .html page), it'll
fetch the data directly from the Git cache repository, through a named
pipe (bypassing disk) connected to a long-living Git process. This is
also done transparently for included resources (images, CSS etc.)
On a PR I was doing for ddoc, the "old" and "new" seem to be reversed:
http://dtest.thecybershadow.net/results/a6e6883454a4d62c8d4b41819b9a7e33899b6222/6d3c95ecc5422ae1d5bd6f3308da78b733175ba7/
While randomly browsing through for a PR to see this magic on, I ran
across an error page:
http://dtest.thecybershadow.net/artifact/website-9bbe7b16aaa20f28b879722609308a024a12ae52-005ef14643f10a0919ace4bd80bcfa44/web/library-prerelease/std/range/merge.html
I get it when I click on the New link for merge.html on this page:
http://dtest.thecybershadow.net/results/a6e6883454a4d62c8d4b41819b9a7e33899b6222/82878d02c06ec112663fd953e78d541dda69a38e/
I believe that, like Steven says, the Old and New links are reversed
(since the diff shows that merge.html to be new in this PR but the new
page shows up under the Old link), and perhaps the tool should better
handle added/deleted files.
In any case this is a seriously awesome tool!