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

command/cp: add progress bar #590

Merged
merged 57 commits into from
Jul 27, 2023
Merged

Conversation

ahmethakanbesel
Copy link
Contributor

@ahmethakanbesel ahmethakanbesel commented Jul 12, 2023

Resolves #51

Enables usage of cp command with show-progress flag to show progress bar for a copy task.

Example progress bar:
78.00% ━━━━━━━━━━━━━━━━━━━━──────── 780 MB / 1.00 GB (189.37 MB/s) 5.9s (28/29)

@ahmethakanbesel ahmethakanbesel marked this pull request as ready for review July 13, 2023 13:28
@ahmethakanbesel ahmethakanbesel requested a review from a team as a code owner July 13, 2023 13:28
@ahmethakanbesel ahmethakanbesel requested review from ilkinulas and sonmezonur and removed request for a team July 13, 2023 13:28
@szeitlin
Copy link

love this!

progressbar/progressbar.go Outdated Show resolved Hide resolved
progressbar/progressbar.go Outdated Show resolved Hide resolved
progressbar/progressbar.go Outdated Show resolved Hide resolved
progressbar/progressbar.go Outdated Show resolved Hide resolved
progressbar/progressbar.go Outdated Show resolved Hide resolved
command/cp.go Outdated Show resolved Hide resolved
command/cp.go Outdated Show resolved Hide resolved
ilkinulas
ilkinulas previously approved these changes Jul 25, 2023
command/cp.go Outdated Show resolved Hide resolved
command/cp.go Outdated Show resolved Hide resolved
command/cp.go Outdated Show resolved Hide resolved
command/cp.go Outdated Show resolved Hide resolved
command/cp.go Show resolved Hide resolved
@igungor
Copy link
Member

igungor commented Jul 26, 2023

The more I use it , the more progressbar's position indicator looks invisible to me :) This is a subjective matter of course, but I'd like to propose a minor change. What do you guys think?

Before:
Screenshot 2023-07-26 at 11 08 06

After:
Screenshot 2023-07-26 at 11 05 18

e2e/cp_test.go Outdated Show resolved Hide resolved
e2e/cp_test.go Outdated Show resolved Hide resolved
igungor
igungor previously approved these changes Jul 27, 2023
@igungor igungor merged commit 8bbd960 into peak:master Jul 27, 2023
19 checks passed
igungor added a commit that referenced this pull request Jul 27, 2023
Resolves #51

Enables usage of cp command with show-progress flag to show progress bar for a copy task.

Example progress bar:
78.00%  ━━━━━━━━━━━━━━━━━━━━────────  780 MB / 1.00 GB (189.37 MB/s) 5.9s (28/29)
@ahmethakanbesel ahmethakanbesel deleted the cp-progress-bar branch July 29, 2023 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add console progress bar for multipart upload/download
5 participants