Skip to content

Show progress while downloading package index #1223

@hdgarrood

Description

@hdgarrood

Here is a part of my terminal session directly after installing stack for the first time:

$ stack install purescript-0.7.5
Run from outside a project, using implicit global project config
Using latest snapshot resolver: lts-3.10
Writing implicit global project config file to: /home/harry/.stack/global-project/stack.yaml
Note: You can change the snapshot via the resolver field there.
Downloaded lts-3.10 build plan.    
Caching build plan
Updating package index Hackage (mirrored at https://github.com/commercialhaskell
Fetching package index ...

I happen to have an extremely slow internet connection at the moment, so fetching the package index took a long time. I think it might be nice to show progress (eg, X MiB / Y MiB, Z% downloaded) here, like stack setup does when it is downloading GHC.

Also, in case it's important, I'm using the deb package on Ubuntu 14.04.

$ stack --version
Version 0.1.6.0, Git revision e22271f5ce9afa2cb5be3bad9cafa392c623f85c (2313 commits) x86_64

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions