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

[Feature Request] Show more session details of push/pulls #18

Open
ikwyl6 opened this issue Jan 2, 2015 · 14 comments
Open

[Feature Request] Show more session details of push/pulls #18

ikwyl6 opened this issue Jan 2, 2015 · 14 comments

Comments

@ikwyl6
Copy link

ikwyl6 commented Jan 2, 2015

From rakyll#53

Would be nice to show, before the 'Proceed with changes', some overall details of the changes before committing:

  1. Overall how many files are + and - at the end of the remote/source file comparison.
  2. Number of files to be changed, shown by 1st level dirs under the 'root' dir
  3. After user commits to proceeding, add push/pull kB or MB rate and total file size on the same line as:

112 / 1614 [======>----------------------------------------------------------------------------------------] 6.94 % 19h43m9s

@ikwyl6
Copy link
Author

ikwyl6 commented Jan 11, 2015

@odeke-em any thoughts on this one?

@odeke-em
Copy link
Owner

Got the counts in, just the kB/mB rate left. Probably will be in for release 6.

@odeke-em odeke-em added this to the Release 6 milestone Jan 11, 2015
@odeke-em odeke-em modified the milestones: Release 7, Release 6 Jan 21, 2015
@ikwyl6
Copy link
Author

ikwyl6 commented Feb 5, 2015

Any update on the last feature?

@odeke-em
Copy link
Owner

odeke-em commented Feb 6, 2015

I haven't yet gotten a mechanism for capturing the transfer rate aside from calculating it.

@ikwyl6
Copy link
Author

ikwyl6 commented Mar 16, 2015

Is there any news for the transfer rate?

@odeke-em
Copy link
Owner

None so far :(

@odeke-em
Copy link
Owner

Thanks for that link. Actually I already wrote a package that produced byte updates see https://github.com/odeke-em/statos/blob/master/reader.go#L23-35 and https://github.com/odeke-em/statos/blob/master/writer.go#L23-35.
and even in use in drive this was incorporated about two months ago in April with commit b2659cf
This byte transfer information is used to interactively update the progress bar as you might have noticed.

@odeke-em odeke-em removed this from the Release 7 milestone Jun 14, 2015
@odeke-em odeke-em self-assigned this Jun 14, 2015
@ikwyl6
Copy link
Author

ikwyl6 commented Jun 14, 2015

Yes but I was referring to the transfer speeds.

@MWP
Copy link

MWP commented Jun 26, 2015

Unless im mistaken, there appears to be no way of showing which files are actually being push/pulled?
Can this be added?

At the moment, every time i run "drive pull", its downloading ~400kB of data. Nothing is changing on the drive.
It would be nice to see why drive is doing this.

@odeke-em
Copy link
Owner

@MWP that is right. Currently printing that information would mess up the pretty print of the progress bar, but no worries that's why OSS forks work, I'll try to see a way of adding that plus @ikwyl6's request into the progress reporter.

@MWP
Copy link

MWP commented Jun 26, 2015

Ok. Is there a log file anywhere? Any output to syslog?
Sorry, but it seems rather strange that there is no more detailed information anywhere about what drive is actually doing.
We all know how temperamental cloud storage can be, so not seeing any kind of information is rather nerve-racking.

@odeke-em
Copy link
Owner

Nope. I am more of the view that only give me information when things fail, imagine every recursive move on your terminal showed you actually output, I personally wouldn't like that. When errors are encountered, for sure, I personally would like to see output only then or after completion.
However, I understand what you mean there is ground for both expectations.

@odeke-em
Copy link
Owner

I'll probably add a verbosity mode or so. We'll see :)

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

No branches or pull requests

3 participants