Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upSimpler cli output #491
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
This looks great! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
joehand
Jun 21, 2016
Member
@mafintosh a few questions:
- How do we do progress for adding files? I thought we didn't know the total size until we added them.
- Is there any way in the live archive to tell its done downloading for now? I've just been comparing downloaded files to total files but that seems weird for large live archives that are being updated.
I'll need to look at the yolowatch stuff a bit to see if we can tell how many files are being updated. Otherwise, most of this (minus progress bars) I put up on the new branch.
|
@mafintosh a few questions:
I'll need to look at the yolowatch stuff a bit to see if we can tell how many files are being updated. Otherwise, most of this (minus progress bars) I put up on the new branch. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
mafintosh
Jun 21, 2016
Member
- The stat object returned from folder-walker contains the size
- Yea, we'll add a 'synchronized' event that'll tell you everything available has been downloaded
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Yeah I like this minimal approach. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
we'll be incorporating these ideas in a future implementation |
maxogden
closed this
Jun 28, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mafintosh commentedJun 20, 2016
•
edited
Was playing around with ideas to simplify the output of the cli earlier today as an experiment. The linear list of files is good at showing all files in the dat, however it is a bit verbose and makes the cli "jump up/down" once in a while. Files also aren't necessarily being downloaded linearly (the most efficient approach is "rarest first" where you sync the parts of a dat that fewest people are sharing first).
Adding files / resuming a dat you own
Done adding files
Adding live updates
Downloading a dat from a link / re-sharing it
Dat fully downloaded
Downloading live updated files