Build error
https://libressl-d.dpldocs.info/
The project build failed. copy/paste this link to adam so he can fix the bug.
std.file.FileException@std/file.d(4661): /dpldocs/libressl-d/master/adrdox-generated/: No such file or directory
----------------
??:? @safe core.sys.posix.dirent.DIR* std.file.cenforce!(core.sys.posix.dirent.DIR*).cenforce(core.sys.posix.dirent.DIR*, scope lazy const(char)[], immutable(char)[], ulong) [0x5eeec8]
??:? @safe bool std.file.DirIteratorImpl.stepIn(immutable(char)[]) [0x5edb7d]
??:? ref @safe std.file.DirIteratorImpl std.file.DirIteratorImpl.__ctor!(immutable(char)[]).__ctor(immutable(char)[], std.file.SpanMode, bool) [0x6269b3]
??:? ref @safe std.conv.emplaceRef!(std.file.DirIteratorImpl, std.file.DirIteratorImpl, immutable(char)[], std.file.SpanMode, bool).emplaceRef(ref std.file.DirIteratorImpl, ref immutable(char)[], ref std.file.SpanMode, ref bool).S std.conv.emplaceRef!(std.file.DirIteratorImpl, std.file.DirIteratorImpl, immutable(char)[], std.file.SpanMode, bool).emplaceRef(ref std.file.DirIteratorImpl, ref immutable(char)[], ref std.file.SpanMode, ref bool).S.__ctor(ref immutable(char)[], ref std.file.SpanMode, ref bool) [0x621888]
??:? @safe void std.conv.emplaceRef!(std.file.DirIteratorImpl, std.file.DirIteratorImpl, immutable(char)[], std.file.SpanMode, bool).emplaceRef(ref std.file.DirIteratorImpl, ref immutable(char)[], ref std.file.SpanMode, ref bool) [0x621832]
??:? @safe std.file.DirIteratorImpl* std.conv.emplace!(std.file.DirIteratorImpl, immutable(char)[], std.file.SpanMode, bool).emplace(std.file.DirIteratorImpl*, ref immutable(char)[], ref std.file.SpanMode, ref bool) [0x6217e4]
??:? void std.typecons.RefCounted!(std.file.DirIteratorImpl, 0).RefCounted.RefCountedStore.initialize!(immutable(char)[], std.file.SpanMode, bool).initialize(ref immutable(char)[], ref std.file.SpanMode, ref bool) [0x5fd120]
??:? ref std.typecons.RefCounted!(std.file.DirIteratorImpl, 0).RefCounted std.typecons.RefCounted!(std.file.DirIteratorImpl, 0).RefCounted.__ctor!(immutable(char)[], std.file.SpanMode, bool).__ctor(ref immutable(char)[], ref std.file.SpanMode, ref bool) [0x5fd0dc]
??:? ref @trusted std.file.DirIterator std.file.DirIterator.__ctor(immutable(char)[], std.file.SpanMode, bool) [0x5ee3a4]
??:? std.algorithm.iteration.FilterResult!(std.file.dirEntries(immutable(char)[], immutable(char)[], std.file.SpanMode, bool).f(std.file.DirEntry), std.file.DirIterator).FilterResult std.file.dirEntries(immutable(char)[], immutable(char)[], std.file.SpanMode, bool) [0x5ee54f]
dl.d:63 immutable(char)[] dl.findRootPage(immutable(char)[], immutable(char)[]) [0x526493]
dl.d:286 void dl.app(arsd.cgi.Cgi) [0x5281f6]
/home/me/arsd/cgi.d:3815 void arsd.cgi.doThreadScgiConnection!(arsd.cgi.Cgi, dl.app(arsd.cgi.Cgi), 5000000L).doThreadScgiConnection(std.socket.Socket) [0x546edf]
/home/me/arsd/cgi.d:4361 void arsd.cgi.ConnectionThread.run() [0x53b344]
??:? void core.thread.Thread.run() [0x5c893d]
??:? thread_entryPoint [0x6158db]
??:? [0x7f0991af16da]
@adamdruppe : Maybe you should give a link to where to copy/paste this ;)
It is fixed now.
But really many of these ARE dub registry problems... so many intermittent connection issues. Of course I could make my code more resilient... right now it retries the next day but a day is a long time, maybe i will make it retry at least once instantly.
Sounds like a good case for exponential backoff, no ?
yeah. the current code is dead-stupid. when a request comes in for a page that isn't there, it tries to immediately download and build the docs (piping the stdout of that process right ot he browser so you can watch its output). if this fails for any reason, it marks the whole project as "Failed" and will not retry again until 24 hours have passed and someone tries loading the page again.
would prolly be better making a background work queue or something i just barely have time to do anything.
and while that docs page is built now, the source code has no doc comments, so very little of it actually shows up.
but since it is a binding you can look up C docs.