You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/02/18 00:37:18 UTC
[jira] [Closed] (MNG-5977) Improve output readability of our
MavenTransferListener implementations
[ https://issues.apache.org/jira/browse/MNG-5977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MNG-5977.
-------------------------------
Resolution: Fixed
Fixed with [ea73fcdb6c0d2bafad75085a38906fcccfa1c049|https://git-wip-us.apache.org/repos/asf?p=maven.git;a=commit;h=ea73fcdb6c0d2bafad75085a38906fcccfa1c049].
Almost everything fixed and found all issues. The commit message has a prolonged explanation.
Filename has been omitted from the progress meter for the moment. This line tends to get long with parallel downloads and looks broken (as previously mentioned). This problem is neither Maven not Java but simply the default settings of a terminal. The buffer size of columns is too small which chops the content as well as the carriage return.
> Improve output readability of our MavenTransferListener implementations
> -----------------------------------------------------------------------
>
> Key: MNG-5977
> URL: https://issues.apache.org/jira/browse/MNG-5977
> Project: Maven
> Issue Type: Improvement
> Components: Command Line, Embedding
> Affects Versions: 3.3.9
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Fix For: 3.4.0
>
> Attachments: MNG-5977-w-filename.patch, MNG-5977.patch, current.zip, improved.zip, improved.zip
>
>
> The current output of Downloading/Downladed/Uploading/Uploaded transfer notification has some flaws:
> 1. It does not scale numbers between 1 and 1000 with appropriate units
> 2. It uses incorrect size and time units
> 3. When Aether downloads in parallel (which applies for non-POM files) the progress interleaves and you do not know to which resource a progress belongs.
> Let's use MPIR {{DependenciesRenderer}}'s [{{FileDecimalFormat}}|https://github.com/apache/maven-plugins/blob/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java#L1583] for it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)