Dear Marius, On Sun, 12 Jul 2020 at 14:33, Marius Bakke <mar...@gnu.org> wrote:
> One possible solution that has been discussed before is to have the CI > continously merge master to a 'stable' branch when lights are green. > There are quite a few challenges to solve with that approach though. > > We could make the pre-push hook run 'guix pull' and 'guix system build' > but it will quickly get annoying. A server-side hook for the same would > be less annoying, but would have a hard time if someone accidentally > pushes a full rebuild. > > In practice there will always be problems that cannot be caught in an > automated way. I hope such breakages are rare, but from your message it > sounds like there were many problems just this week-end? If all the patches go to Debuggs (guix-patches) then using the commit (format-patch --base=auto), the infrastructure could automatically build, run tests, lint etc. then it eases the job of the reviewer and the substitutes are available when the end-user pull. The merge would be done by hand --as today-- by the committer (pusher) to master. Well, Cuirass could track guix-patches instead of tracking master. The issue of the rebuild-the-world accident could happen. But it could also happen now, with the current model. It is a difficult topic but what is the feedback of such initiatives [1,2]? 1: https://patchwork.cbaines.net/project/guix-patches/list/ 2: https://data.guix-patches.cbaines.net/ All the best, simon