-
Notifications
You must be signed in to change notification settings - Fork 216
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
Leverage Maven's -Dstyle.color to avoid coloring instead of stripping the ASCII codes in the client #371
Conversation
… the ASCII codes in the client
I don't think leveraging the somewhat broken (atm) |
With my current proposal,
No, I do not tie no-color to noBuffering. You probably saw this location https://github.com/mvndaemon/mvnd/pull/371/files#diff-2e0b63101a0e22feb7df48ea1a5e83e867c4d076bb72ea4eeccfc5a79dca756bR117 but there, noBuffering is i.a. triggered by
I agree, and do not think I did anything against the benefits the default buffering mode brings.
Originally, I had two motivations for these changes (and when implementing another two appeared):
Points 3. and 4. are separate problems and I would not mind discussing them separately, after we find an agreement about 1. and 2. |
Ok. I'd rather keep the
We'd have to verify the behavior of MNG-6719
Yes, that one should be fixed. My idea was to always have coloring on the server side, but it's true that unless the system property is always set explicitly, it could keep the previous values, which is wrong.
I don't think I agree on that one. I often redirect the output to a log file, but that does not mean I want the project's output to be interleaved.
Can we move #4 out. Also, I think constants would be nice to have for |
OK, let me add it back.
I have verified that
Filed #373 so that we have it in the change log.
Yes, thanks, that sounds as a valid reason. Let me remove it.
+1 |
All done, could you please review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's another thing that comes to my mind.
client/src/main/java/org/mvndaemon/mvnd/client/DefaultClient.java
Outdated
Show resolved
Hide resolved
d4fcd5c
to
c039824
Compare
c039824
to
20dbe94
Compare
the ASCII codes in the client
56f5e91
to
ae67ac0
Compare
daemon/src/test/java/org/mvndaemon/mvnd/cache/impl/CacheFactoryTest.java
Show resolved
Hide resolved
ae67ac0
to
f931280
Compare
Added Thread.sleep(1) to CacheFactoryTest |
Fix #373