Skip to content

Dynamic status indicator for parallel install #975

Open

Description

@23Skidoo

While the output of cabal install in the parallel case was improved recently, 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 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).

Activity

  1. 23Skidoo commented on Oct 18, 2012

    @23Skidoo
    MemberAuthor

    Related: #1062

  2. dag commented on Dec 4, 2013

    @dag

    Just in case not everyone was aware; the simplest way to do this is by printing carriage returns. On terminals this moves the cursor to the beginning of the line without starting a new line, and you can then write over the previous content. It's also best to pad it with spaces to the length of the previous content.

    I have no idea if this works in cmd.exe though.

  3. modified the milestones: , cabal-install-1.22 on Apr 23, 2015
  4. modified the milestones: cabal-install 1.24, on Feb 21, 2016
  5. modified the milestone: cabal-install 2.0 on Sep 6, 2016
  6. removed their assignment
    on Sep 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions