-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Make the error window size configurable #2111
Comments
I don't think it should be configurable (you can always access the log file which IIRC is actually printed with the error). However the default size could be much larger. |
Making it configurable would be quite convenient in Travis, especially in the case of multiple errors in a parallel build. |
Ok, can be easily added now. Note that I already tried to make it slightly more clever by printing the latest unindented line on top (à la diff). |
Ha ! When was that introduced ? (still on 1.2.0, such an old fart). That said I'm wondering if in case of error it wouldn't be more smart to dump all the shit -- followed by a high-level error message, this could maybe avoid a few round trips with repo maintainers when problems occur. Mais pas clair. |
What I'm afraid of is that it may make relevent information above (on what OPAM is doing and why) lost ; starting to get more complicated, but an UI could be:
Just an idea... |
I also pushed the default from 10 to 12. Closes #2111
isn't that already the case? |
It could store more information on the run thant the individual logs we already have if needed, and keep links to the different processes' outputs. |
I think something like But surely there are lot of UI nitty gritty details to solve to make sure you a) know what you are reading b) read what you want to read. Regarding the multiple failures it seems to me it that you are interested in each of them (unless there may be cascading errors but I think this should not be the case, since opam will not proceed if the dependends of some things errored). So it seems to me that a |
|
This is done, |
Would be nice if we can configure the size of error message (using for instance an env variable). Because this is not very helpful:
The text was updated successfully, but these errors were encountered: