container icon indicating copy to clipboard operation
container copied to clipboard

[Request]: UX: Replace `--disable-progress-updates` with `--progress mode`.

Open jglogan opened this issue 1 year ago • 13 comments

Feature or enhancement request details

Modes are:

  • none: no progress output, replaces the --disable-progress-updates flag
  • ansi: progress output using ANSI escape codes to produce clean, compact progress bar output

This makes it possible to have follow-on option values such as:

  • plain: plain text output, one line per progress step with no ANSI codes
  • color: allows differentiation between ANSI output with just cursor control, and color-coded output

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

jglogan avatar Sep 18 '25 18:09 jglogan

@jglogan @dkovba Hello! We are students at UT Austin working on issues for our virtualization class. If no one has taken this, we would love to work on it. Thank you!

karenheckel avatar Nov 06 '25 22:11 karenheckel

@karenheckel I noticed you are going through all the issues and commenting on them asking which is a good one to work on. I was going to come back to this one and wrap it up, but y'all can go ahead and work on this one! Looks like the two option values below need to be added. I will be active on this issue and help out as much as I can, if any questions arise.

plain: plain text output, one line per progress step with no ANSI codes color: allows differentiation between ANSI output with just cursor control, and color-coded output

Could you also do me a favor and take a look at #855? I want to start collecting questions and things that new contributors have, so that it is easier for new developers to get up to speed on the codebase. Anything you have questions on (that is not already noted in ANY of the docs), just post them there.

Hook Em 🤘🏽

saehejkang avatar Nov 06 '25 23:11 saehejkang

@saehejkang Great thank you! We're looking for 3 issues to contribute to for our class, so this is a great issue to start with. We'll let you know if we have any questions!

Yes, we can definitely post any questions that come up to that discussion! Thanks again!

karenheckel avatar Nov 06 '25 23:11 karenheckel

@karenheckel Definitely feel free to pick up this issue! Thanks for checking in! Feel free to tag me for questions as well.

katiewasnothere avatar Nov 09 '25 22:11 katiewasnothere

hey @saehejkang @katiewasnothere @jglogan i have opened to a pr to push this forward could you please take a look? thanks.

PhantomInTheWire avatar Nov 19 '25 20:11 PhantomInTheWire

Hi @jglogan If no progress has been made on this, I'd love to pick it up

nrthakur avatar Mar 27 '26 18:03 nrthakur

@nrthakur Were you thinking of adding additional progress modes?

I looked at the code and the work to address this issue was done by #808 (https://github.com/apple/container/blob/main/Sources/Services/ContainerAPIService/Client/Flags.swift#L330).

If you want to take a crack at adding another progress mode (e.g. plain or color), feel free to file an enhancement issue for it and we can assign you. It'd be best keep plain and color as separate issues to keep the PRs small and easily reviewable.

jglogan avatar Mar 29 '26 19:03 jglogan

Closed by #808.

jglogan avatar Mar 29 '26 19:03 jglogan

@jglogan Yes I was. Thanks for the insight, I'll do that now!

nrthakur avatar Mar 29 '26 19:03 nrthakur

@jglogan #1365 & #1366 are created, can I be assigned to both?

nrthakur avatar Mar 29 '26 20:03 nrthakur

@nrthakur There is already #899 in flight (just needs to be reviewed). Although it has not been updated in a while, it is worthwhile to ask @PhantomInTheWire if he is still working on it. You could possibly take over and help get that across the finish line.

saehejkang avatar Mar 29 '26 21:03 saehejkang

@saehejkang Apologies didn't realize there was #899 in flight, I already opened a PR for Plain (#1367). Any idea on how to move forward?

nrthakur avatar Mar 29 '26 21:03 nrthakur

Apologies didn't realize there was https://github.com/apple/container/pull/899 in flight, I already opened a PR for Plain (https://github.com/apple/container/pull/1367). Any idea on how to move forward?

Should be fine to just merge your changes.

saehejkang avatar Apr 01 '26 02:04 saehejkang