diff --git a/cmd/installer/root.go b/cmd/installer/root.go index ca32262..221838d 100644 --- a/cmd/installer/root.go +++ b/cmd/installer/root.go @@ -298,11 +298,14 @@ func DownloadPDSCFiles(skipInstalledPdscFiles bool, concurrency int, timeout int } pdscTags := Installation.PublicIndexXML.ListPdscTags() - if len(pdscTags) == 0 { + numPdsc := len(pdscTags) + if numPdsc == 0 { log.Info("(no packs in public index)") return nil } + log.Infof("[J%d:F\"%s\"]", numPdsc, Installation.PublicIndex) + queue := concurrency for _, pdscTag := range pdscTags { if concurrency == 0 || len(pdscTags) <= concurrency { diff --git a/cmd/utils/encodedProgress.go b/cmd/utils/encodedProgress.go index 9c9250e..752d450 100644 --- a/cmd/utils/encodedProgress.go +++ b/cmd/utils/encodedProgress.go @@ -45,6 +45,7 @@ func (p *EncodedProgress) Write(bs []byte) (int, error) { * T: Total bytes of file or numbers of files * P: Currently processed percentage * C: Currently processed bytes or numbers of files + * J: Total number of files beeing processed */ func (p *EncodedProgress) Print() { newPercent := int(float64(p.current) / float64(p.total) * 100)