Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for transfer progress stats #3054

Open
whyrusleeping opened this issue Aug 7, 2016 · 2 comments
Open

API for transfer progress stats #3054

whyrusleeping opened this issue Aug 7, 2016 · 2 comments
Labels
exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue status/deferred Conscious decision to pause or backlog

Comments

@whyrusleeping
Copy link
Member

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.

@whyrusleeping whyrusleeping added help wanted Seeking public contribution on this issue exp/novice Someone with a little familiarity can pick up labels Aug 7, 2016
@whyrusleeping whyrusleeping added need/analysis Needs further analysis before proceeding status/deferred Conscious decision to pause or backlog and removed need/analysis Needs further analysis before proceeding labels Nov 28, 2016
@adamlawrencium
Copy link

@whyrusleeping Is this still of interest?

@whyrusleeping
Copy link
Member Author

@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
Labels
exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue status/deferred Conscious decision to pause or backlog
Projects
None yet
Development

No branches or pull requests

2 participants