So I've been playing around with my ports-mgmt/synth builder server, using it with a GNOME3 profile. So of course after a week or so there are a fair few ports that have changed. As a result it will say something like prefetch 80 or 90 or so packages and rebuilding 200 or so. However I discovered something. I let it build a few dozen. Then I do a
From what I can tell Synth is rock solid in getting it right when it comes to the logic of determining what to do. So am I right in thinking this method is kinda like cheating, but is perfectly okay? if so, it would be real slick if Synth could recheck to see what can be pre-fetched after the build of each port. I realize it would likely be really complex, but frankly marino@ I think you are up for the challenge.![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
And the cherry on the top would be a slight modification to the ncurses display that shows a realtime counter for packages fetched, that would increment as Synth loops through its checking, fetching, building, checking, fetching, building, etc. Call it version 2.0.![Big Grin :D :D](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
CTRL-Q
to do a graceful shutdown. Then I rerun synth - synth just-build
with my ports list. And ta da! It will now say it will prefetch another 150+ packages, and only build 12+. I assume I would see the same behavior using a LiveProfile and synth upgrade-system
.From what I can tell Synth is rock solid in getting it right when it comes to the logic of determining what to do. So am I right in thinking this method is kinda like cheating, but is perfectly okay? if so, it would be real slick if Synth could recheck to see what can be pre-fetched after the build of each port. I realize it would likely be really complex, but frankly marino@ I think you are up for the challenge.
And the cherry on the top would be a slight modification to the ncurses display that shows a realtime counter for packages fetched, that would increment as Synth loops through its checking, fetching, building, checking, fetching, building, etc. Call it version 2.0.