Skip to content

API for transfer progress stats #3054

Open

Description

@whyrusleeping

There has been a fair amount of demand for a way to check the 'transfer progress' of a given file, similarly to how torrent clients show.

This is not currently a very easy thing to track, but i think that we can abuse context values and the commands diagnostics api (ipfs diag cmds) codebase to get something working here.

We first should design what we want this api to look like, and what format the information it provides should be in. Then we can go ahead and try to implement it.

Activity

  1. added
    help wantedSeeking public contribution on this issue
    exp/noviceSomeone with a little familiarity can pick up
    on Aug 7, 2016
  2. added
    need/analysisNeeds further analysis before proceeding
    status/deferredConscious decision to pause or backlog
    and removed
    need/analysisNeeds further analysis before proceeding
    on Nov 28, 2016
  3. adamlawrencium commented on Mar 10, 2017

    @adamlawrencium

    @whyrusleeping Is this still of interest?

  4. whyrusleeping commented on Mar 10, 2017

    @whyrusleeping
    MemberAuthor

    @adamalawrence Yeah, it is.

    We've made a small bit of progress on this since i posted this. In the ipfs pin add code, we put a 'progress tracker' in a context and pass it down through the calls to help us get a small amount of progress information.

    see: https://github.com/ipfs/go-ipfs/blob/master/core/commands/pin.go#L84
    and: https://github.com/ipfs/go-ipfs/blob/master/merkledag/merkledag.go#L167

    for how its being used.

    We definitely want more fine grained information about transfers than that (and we need to improve the UX of it a bunch), so theres still things to be done for this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    exp/noviceSomeone with a little familiarity can pick uphelp wantedSeeking public contribution on this issuestatus/deferredConscious decision to pause or backlog

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions