vericast / conda-mirror

Mirror upstream conda channels
BSD 3-Clause "New" or "Revised" License
72 stars 60 forks source link

conda_mirror.py: corrected numbering in output when validating #75

Closed magnuhho closed 6 years ago

magnuhho commented 6 years ago

When validating packages 'num' of 'count' is logged as the progress indicator. Num being the position of the package in a zero based list gives the output: "Validating 0 of 5" packages, stopping av "4 of 5". This fix adds +1 to num so the first of five packages gives "1 of 5" and the validation process ends with 5 of 5 packages.

codecov-io commented 6 years ago

Codecov Report

Merging #75 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #75   +/-   ##
=======================================
  Coverage   94.96%   94.96%           
=======================================
  Files           2        2           
  Lines         258      258           
=======================================
  Hits          245      245           
  Misses         13       13
Impacted Files Coverage Δ
conda_mirror/conda_mirror.py 94.9% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update eaaeaf8...a2d95e1. Read the comment docs.

parente commented 6 years ago

👍