Occasionally I find strange stuff happening on https://allthe.codes, so here’s a thread @tim can subscribe to and we can discuss as needed.
I can’t get the commits to load for a particular repo:
https://allthe.codes/api/v1/repos/mirror/radio/commits
message: "Not Found"
I’ve looked around in the settings and can’t find a way to flush the cache or reset it. I don’t expect you to know the issue, @tim. I might delete and re-import that mirror.
I noticed this because I left the repo off the entry for https://interi.org/awesome-lol/awesome-radio/, and when I tried to correct it I got:
[maiki@yuzu interi]$ hugo
Building sites … ERROR 2019/12/30 10:48:05 Failed to get JSON resource "https://allthe.codes/api/v1/repos/mirror/radio/commits": Failed to retrieve remote file: Not Found
Total in 535 ms
Error: Error building site: failed to render pages: render of "page" failed: "/home/maiki/projects/interi/layouts/awesome-lol/single.html:24:9": execute of template failed: template: awesome-lol/single.html:24:9: executing "main" at <first 5 $commits>: error calling first: both limit and seq must be provided
Now I’ve got to figure out if I want to have a possible API error blocking a site build, or if I want to fail gracefully and still build…
Re-imported, same message:
{"documentation_url":"https://allthe.codes/api/swagger","errors":null,"message":"Not Found"}
Oh yeah, I do check for this: if I remove the repo info, it just shows discussions. Very boring.