Open Ambrevar opened 1 year ago
After having done it manually in #3085, it may be hard to fully automatize the task. There are too many variable at stake.
I'd argue that it's not worth it. I did it in ~4 hours, but it should be noted that the last full sync was done quite a long time ago. Such a task should be made perhaps every major release, so I don't think it justifies yet the use of heavier machinery.
4 hours for every major release seems OK. My big question is why do we care at all about Guix? Why not just sync the submodules to their latest releases every major version?
In short (suppressing some details):
Other point:
There are too many variable at stake.
True, but I did use the script once in the past and I believe that it did a big part of the job. So with a small fix, I believe it'd be able to shave off some 3/4 of the work, in other words, reduce the workload from 4 hours to 1.
Follow up to https://github.com/atlas-engineer/nyxt/issues/2780#issuecomment-1424752997 👍
There is a draft of this in
build-scripts/sync-submodules-with-guix.scm
.It won't work for all deps though since some Guix package don't use Git repos. But for the vast majority it does.