haskell / haskell/cabal

Dynamic status indicator for parallel install

Aperta
#975 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
cabal-install: other old-milestone: cabal-install 2.0 type: enhancement
Lingua principale
Haskell
Stelle
1.7k
Fork
750
Merge medio
4g 3h
PR unite (30g)
28

Descrizione

While the output of `cabal install` in the parallel case [was improved recently](https://gist.github.com/3032723), it can still be made better. As described in #440, we want to implement a dynamically-updated status indicator (similar to Gentoo's `emerge` UI) that would show the number of packages that are being processed, that are already installed and that have failed; possibly also their names.

If we opt to also use the dynamic status indicator for sequential install, we'll have to get rid of or modify the internal setup method since it doesn't support build logging.

One related issue that @dcoutts [mentions here](https://github.com/haskell/cabal/pull/964#issuecomment-6722293) is that printing of the last 10 lines of the build log for each failed package should be done during the post-install step (currently it's done in `executeInstallPlan`).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.