HaxeFoundation / haxelib

The Haxe library manager
https://lib.haxe.org/
MIT License
173 stars 78 forks source link

haxelib --quiet install #389

Closed soywiz closed 4 years ago

soywiz commented 7 years ago

I'm using haxelib in travis https://github.com/jtransc/jtransc/pull/236#issuecomment-321368128

But the progress of the Downloading part occupies like 80% of the whole log, and travis takes a lot of time to load because of that. Can you make the --quiet to not display progress? Or display it less frequently? Or add another option to no display anything at all?

Gama11 commented 7 years ago

IIRC, we had to redirect to /dev/null so that logs wouldn't get too big (Travis sets some limit)...

https://github.com/HaxeFlixel/flixel/blob/4.3.0/.travis.yml#L27-L41

soywiz commented 7 years ago

Yep. We ended doing the same, thanks!. But that also disables other potentially relevant output. Also it seems that the buffer/split is something like 1K so 40MB are 40.000 lines of output. Growing that or limiting line outputs to something like 10 times per second, and honoring --quit would be better I think.

sebthom commented 6 years ago

@andyli Wouldn't that be solved by https://github.com/HaxeFoundation/haxelib/pull/373 ?

andyli commented 6 years ago

Yeah, I think #373 is in the right direction. Not sure if there is any other places that should respect --quiet, but I will just merge that first.

RealyUniqueName commented 4 years ago

Duplicates #371