ofborg icon indicating copy to clipboard operation
ofborg copied to clipboard

Request: maintain build time db

Open wmertens opened this issue 7 years ago • 2 comments

For each attribute, maintain how long it takes to build.

Then, for builds, automatically do dependent attribute builds if they won't take too long (eg < 2 mins)

wmertens avatar Mar 23 '18 05:03 wmertens

I thought about having a black list in nix-review too.

Mic92 avatar Mar 23 '18 10:03 Mic92

It might even make sense to implement this on the nix level. I've already wanted to ask nix how long a build took several times.

ofBorg could then print something like

The following reverse dependencies were not tested because they exceed the current build capacity:

  • chromium (estimated build-time: forever)
  • gcc (estimated build-time: 42d)

And nag the contributor to at least test it locally.

timokau avatar Apr 24 '18 12:04 timokau