Hello and congrats on the recent release of 0.1.6!
I was reading the blog post, and after I read the section on Lazy publishing, I had an idea: what if brioche check had some way of signaling to brioche publish that a package had already been checked? This would avoid the need to run brioche publish with the --no-verify flag, allowing the safety measure of the last-step check to remain in place without sacrificing performance.
The way I imagine it could be implemented is that brioche check would compute a checksum of a project, and if checks are successful, it would write the checksum somewhere in $XDG_CACHE_HOME. Then, when brioche publish is run, it would first check if the checksum matches that of the cached checksum, and if it did, it would automatically skip checking.
What do you think? If this sounds sounds good, I'd be happy to cobble together a PR.
Hello and congrats on the recent release of 0.1.6!
I was reading the blog post, and after I read the section on Lazy publishing, I had an idea: what if
brioche checkhad some way of signaling tobrioche publishthat a package had already been checked? This would avoid the need to runbrioche publishwith the--no-verifyflag, allowing the safety measure of the last-step check to remain in place without sacrificing performance.The way I imagine it could be implemented is that
brioche checkwould compute a checksum of a project, and if checks are successful, it would write the checksum somewhere in$XDG_CACHE_HOME. Then, whenbrioche publishis run, it would first check if the checksum matches that of the cached checksum, and if it did, it would automatically skip checking.What do you think? If this sounds sounds good, I'd be happy to cobble together a PR.