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

Experiment: New Maven4 transfer logging #1238

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Sep 11, 2023

Example of rough sketch (actual loggers are not fully done yet) for mvn4 logging:

Supports:

  • quiet (as before)
  • classic (as Maven3 did always log)
  • classic_light (as Maven3 but only "Downloaded..." lines)
  • summary

Examples (building maven-resolver-ant-tasks always with empty local repo):

"Tricks" like those mentioned by @gnodet are NOT implemented, but would be cool to have them (progress with deleted lines), as currently summary "looks strange" (is silent but has strange pauses -- while downloads silently)

@cstamas cstamas changed the title Experiment: New Maven4 tansfer logging Experiment: New Maven4 transfer logging Sep 11, 2023
Comment on lines +43 to +46
/**
* Classic "light": similar to CLASSIC but without "Downloading..." lines (only "Downloaded...").
*/
CLASSIC_LIGHT,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this one which sounds like a good compromise. I have the suspicion that some of the complaints might come from users which use maven without a fully featured terminal which would allow in-place updates (e.g in CI).

The classic mode would print every dl progress update into a new line which is not optimal. This is not a unique problem to maven, git does the exacts same last time I checked.

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