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

Users get confused by not seeing anything happening #112

Open
cperciva opened this issue Jan 7, 2016 · 7 comments
Open

Users get confused by not seeing anything happening #112

cperciva opened this issue Jan 7, 2016 · 7 comments

Comments

@cperciva
Copy link
Member

cperciva commented Jan 7, 2016

Like all good UNIX utilities, tarsnap runs quietly unless it has a reason to be noisy (e.g., an error occurred, or the user asked for verbosity). Unfortunately this is provoking a FAQ: "Tarsnap doesn't seem to be doing anything, did it hang?"

I think the solution to this might simply be better documentation, but I'm creating the issue here in case anyone wants to chime in with suggestions.

@gperciva
Copy link
Member

gperciva commented Jan 7, 2016

I personally don't think it would be terrible if an abbreviated version of --print-stats happened automaticaly. Namely, something like:

$ tarsnap --dry-run -c ~/backup
tarsnap: Removing leading '/' from member names
                                       Total size  Compressed size
This archive                               2.7 MB           915 kB
New data                                   1.5 MB           9.7 kB

I figure there's no way that you would accept that, though. :|

Another option could be making -v imply --print-stats (or --print-short-stats for the above material?). I mean, -v by itself doesn't have any kind of "completed" message. Sure, experienced UNIX people know that the lack of an error message means that it completed (or they could even check echo $?), but not everybody knows that.

@cperciva
Copy link
Member Author

cperciva commented Jan 7, 2016

Adding --print-stats wouldn't help. The problem is that people are pointing tarsnap at many GB of data, and seeing nothing happen, when in fact tarsnap is running smoothly uploading data. They think it got stuck because it hasn't output anything and hasn't exited either. Then they hit ^C.

@gperciva
Copy link
Member

gperciva commented Jan 7, 2016

Hmm. What about a --upload-progress flag which printed how much data was uploaded (and perhaps also how much data was read from disk / in cache) ? As discussed previously, we can't tell them "uploaded 1.2 / 7.5 GB", but at least they could see "uploaded xyz MB" updating in realtime.

@shinnok
Copy link
Contributor

shinnok commented Jan 8, 2016

Any progress parameter would be useful for the GUI too. I'd be happy to incorporate an extra piece of useful info along with the loading gif.

On the original FAQ, personally I have nothing against the command line client running silently by default. I think it works well like this in true allegiance to UNIX utils. Any command line user should be apt enough to check on its status on his own or ask for verbosity. How about also printing network progress on SIGINFO along with current file.

@zatricky
Copy link

I see isatty() is used elsewhere in the project. Not uncommon to use that to decide whether or not to print something useful.

@cperciva
Copy link
Member Author

cperciva commented Mar 16, 2018 via email

@gperciva gperciva mentioned this issue Apr 3, 2018
@holmesworcester
Copy link

This is still worth doing! It confused me!

(Though this is a funny case where the open issue is its own solution.)

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

No branches or pull requests

5 participants