chocolatey / choco

Chocolatey - the package manager for Windows
https://chocolatey.org
Other
10.35k stars 903 forks source link

Restoring multiple packages from a package config file creates duplicate progress messages #1223

Open AdmiringWorm opened 7 years ago

AdmiringWorm commented 7 years ago

What You Are Seeing?

When restoring multiple packages from a package config file creates duplicate progress messages after the first package have been installed. I.E: On the first package, only 1 progress message is displayed, on the second package, two progress messages is displayed, on the third package, three progress messages is displayed. This continues to add one more progress message on each package until it hit some kind of threshold. image

What is Expected?

Expects only one progress message per package to be displayed.

How Did You Get This To Happen? (Steps to Reproduce)

Create the following package config file:

<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="7zip.portable" version="16.04" />
  <package id="becyicongrabber" version="2.30.0.20161027" />
  <package id="cake.portable" version="0.19.1" />
  <package id="ussf" version="1.5.0" />
</packages>

then run choco install 'path\to\config\file

Output Log

Unfortunately wasn't able to get the log itself this time, if it is truly needed in this case then I'll try running it again.

Environment

choco version: 0.10.4

ferventcoder commented 7 years ago

@AdmiringWorm missed this for some reason until just now. Still an issue?

AdmiringWorm commented 7 years ago

@ferventcoder yes it is still a small annoying problem.