Repository navigation
More helpful message when refusing to evaluate "broken" package - #2455
Conversation
|
There would be a 6-line part of text block identically repeated three times (very close together). It might better be factored out, IMO. |
|
Ok. I'll refactor it in a 2nd commit. If it is more readable we can squash and merge. |
|
@vcunat: Like that? |
|
Oh, I didn't notice there was one word changed. Nice solution. Maybe I'd wait roughly a day, so others have chance to comment. |
|
The only problem with this is that it will explode the size of the evaluation errors of the nixpkgs:trunk jobset, which are already vast: http://hydra.nixos.org/jobset/nixpkgs/trunk#tabs-errors |
|
The size will still be O(n) :-) Joking aside, isn't potentially important errors already hidden in between all the "not supported on platform" and "marked as broken" messages? Is there a way to separate "real" eval errors and warnings about broken/unsupported packages? |
|
We might shorten it, e.g. by replacing the text by a link to online docs. |
|
Still, isn't the eval error list full of non-errors, like refusing to build broken/unsupported packages? The O(n) comment was only partly a joke, because if the list contents is mostly about broken/unsupported package anyway, it doesn't matter how short we make the additional help message; real errors will still be hidden in the myriad of non-errors. |
|
Big +1 to link errors to manual nixpkgs manual explaining in details what's going on. |
|
@iElectric: Would you rather have the link than the text? Or are you suggesting it as a compromise? For the latter, I agree, it's better than what we currently have. But I feel having the text right there is much more user friendly (e.g. what if you're offline?). Like I said in my previous comment, shortening the help text doesn't fix the problem of the eval error list being too big and full of non-errors. Its size is still O(n). @edolstra: Is it possible to filter out broken and unsupported packages from the eval error list? |
|
Yes, I agree that messages on Hydra for trying to evaluate unsupported/broken/unfree packages are really useless. |
|
I don't agree about unfree packages. For example, faac was stopping hydra On Sat, May 3, 2014 at 10:59 PM, Vladimír Čunát [email protected]:
www.debian.org - The Universal Operating System |
|
@lethalman: depending on a broken package might be a problem as well. Since there are lots of these messages, we might at least split them away (or add a checkbox to only show the regular evaluation errors). I stopped reading them long ago, as most seem useless, and moreover always the same. That's why I'd personally consider package evaluation just as another step of failing to build it, adding to "aborted", "dependency failed" and "build failed". That way it should be easier to watch the changes via the current "newly failing/succeeding" tabs. |
|
@bjornfor I agree being offline is a problem, we could print out url and manual section of the explanation. |
A "broken" package is one where either "meta.broken = true" or build platform != meta.platforms.
…-eval More helpful message when refusing to evaluate "broken" package
A "broken" package is one where either "meta.broken = true" or build
platform != meta.platforms.