summaryrefslogtreecommitdiff
path: root/Biz/Cloud/post-receive
AgeCommit message (Collapse)Author
2023-10-10Don't swallow namespace-parsing errorsBen Sima
Previously, if there was a problem with the inputs and bild failed to determine the namespace, 'fromPath' would return 'Nothing' and then 'catMaybes' would drop the error-causing input altogether. In the one time that I had a bad input, this made debugging incredibly difficult. It's always a bad idea to swallow errors silently, so instead lets just kill the program if we have bad inputs.
2021-11-26Fix stupid typoBen Sima
2021-11-26Only generate the archive on public reposBen Sima
Publicity is marked by the presences of the git-daemon-export-ok file.
2021-11-26Publish and archive some git reposBen Sima
Also adds a post-receive script that creates and publishes a git-archive of the repo at that commit. This way I can depend on my own nixpkgs fork. It took me forever but I finally figured out that I need --prefix in the git archive. I also switched to using gzip instead of xz because its faster, and I figured out how to get the sha256 that nix expects, so I can now just copy that and paste it into Biz/Bild/Sources.json.