jfrog / jfrog/jfrog-cli

Add some way of indicating progress on a download when `CI=true`

Open
#3,425 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
Go
Stars
595
Forks
307
Avg merge
4d 17h
Merged PRs (30d)
17

Description

Is your feature request related to a problem? Please describe.
When downloading larger files in a CI with CI=true there is no way of telling the progress / speed at which things are happening. The only thing I can see is something like:

10:04:28 [Info] [Thread 0] [0]: 206 ...
10:04:29 [Info] [Thread 1] [0]: 206 ...
10:04:30 [Info] [Thread 2] [0]: 206 ...
10:04:32 [Info] [Thread 1] [1]: 206 ...

Which does not really tell me much other than that a download is apparently happening.

Describe the solution you'd like to see
I'd like to have some option so that even when CI=true I periodically get information about the progress and speed of the current download.

Describe alternatives you've considered
Not using CI=true is not an option for me, since otherwise my download doesn't even start because of the prompt that asks me to add the server to my configuration. I don't want that since I prefer to pass url and access token as part of the jf rt download command with the respective flags.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the jf rt download command and trace how CI=true changes its output and how the existing download messages are emitted. Define periodic progress and speed reporting for larger downloads, then verify the output during a CI-mode download using the command's URL and access-token flags.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.