-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
s3 sync: basic progress display #4190
Comments
@leezu - Thank you for reporting this behavior. We've labeled this as enhancement pending further review. |
Could I also suggest with the live logging progress output, considering the ability to change the rate of updates? Being able to do this can be usefull in a logging scenario if its not too verbose (I'm using gitlab ci). If we can alter the rate, that would be awesome. Perhaps --progress-update-rate could accept a number in seconds? or if set to 0 or -1, it would only produce a single line of output, equivalent to the suggestion of --non-interactive-output Currently with gitlab ci in ansible running s3 sync in a shell will fill a full 500Kb log with download progress by default. |
To add to this, I'd really like to be able to do |
When you run @leezu can you provide any more context for your use case? I’m trying to think of scenarios where a user would want to see each object’s transfer status but not the overall progress. I can see why someone might want the inverse of that as @Twipped suggested. |
Hi @tim-finnigan, the usecase is to support non-interactive environments, such as AWS CloudWatch or CI tools such as Jenkins or Github Actions. Those environments don't handle carriage return well. |
Thanks @leezu for following up. I see the reasoning behind what you're saying. To sum up this feature request, I think there is an ask for two new optional parameters that might be something like:
|
Thank you @tim-finnigan. Yes, your proposal would address the issue. |
any update on this? |
Hi @Scouter9001 we don't have any updates at this time, but we encourage everyone interested in this feature to 👍 the original issue to indicate their support. That will help the team better prioritize this relative to other feature requests. |
There's the same issue with |
aws s3 sync
uses carriage return when printing progress to erase the line and start over, providing a live progress experience. This works fine in interactive session, but not for logging (see eg #2598).Passing
--no-progress
disables all progress reporting.Unfortunately, with
--no-progress
nothing is logged. It would good to have a--non-interactive-progress
logging option, which simply logs each object transferred without the carriage return based live logging.The text was updated successfully, but these errors were encountered: