Lines Matching refs:items
328 for this group of items" (so perhaps print a header).
330 group of items." Additional strings can be passed via
370 self.items = 0
395 # Start 'starttime' when 'items' is first set (even to zero)
399 # Special behavior only for 'items' and only when not resetting
400 if attrname != "items" or self.starttime == -1:
406 "can't set items after explicit done(). " \
432 return "<{0}: {1}{2}>".format(self.name, self.items, info)
450 # start 'starttime' when items gets set to non-zero
452 # Special behavior only for 'items' and only when not resetting
453 if attrname != "items" or self.starttime == -1:
462 # see if this is the first time we're setting items
466 "Cannot alter items until goalitems is set")
482 current=self.items)
487 if self.items == 0 and self.goalitems is None:
489 return self.items == self.goalitems
493 assert self.items == 0
495 return format_pair("{0:d}", self.items, self.goalitems)
499 # such as: Downloading item 3/3, since typically items is
505 assert self.items == 0
507 if self.items == self.goalitems:
508 items = self.items
510 items = self.items + 1
511 return format_pair("{0:d}", items, self.goalitems)
521 self.items / self.goalitems)
696 # pkgrepo job items
1072 self.archive_items = GoalTrackerItem(_("Archived items"))
1136 # pkgrepo job items
1237 self.pub_refresh.items += 1
1245 self.pub_refresh_bytes.items += nbytes
1272 planitem.items += nitems
1297 self.mfst_fetch.items += 1
1305 self.mfst_commit.items += 1
1322 self.repo_ver_pkgs.items += 1
1366 self.archive_items.items += nitems
1367 self.archive_bytes.items += nbytes
1400 self.dl_pkgs.items += 1
1409 # to these items, since they in this case might have no goals.
1412 self.dl_bytes.items += nbytes
1414 self.dl_files.items += nfiles
1438 self.dl_pkgs.items = self.dl_pkgs.goalitems
1439 self.dl_files.items = self.dl_files.goalitems
1440 self.dl_bytes.items = self.dl_bytes.goalitems
1467 actionitem.items += 1
1468 self._act_output(OutSpec(first=(actionitem.items == 1)),
1480 total_actions = sum(x.items for x in self._actionitems.values())
1500 jobitem.items += nitems
1533 self.dl_bytes.items = 0
1537 self.repub_send_bytes.items = 0
1544 # dl_bytes.items is zero because it might have been reset
1556 self.repub_pkgs.items += 1
1568 self.repub_send_bytes.items += nbytes
1574 self.repub_pkgs.items = self.repub_pkgs.goalitems
1575 self.repub_send_bytes.items = \
1577 self.dl_bytes.items = self.dl_bytes.goalitems
1610 self.lintitems.items += 1
1663 self.reversion_revs.items += reversioned
1664 self.reversion_adjs.items += adjusted
1665 self.reversion_pkgs.items += pkgs
2063 mbs = format_pair("{0:.1f}", self.dl_bytes.items,
2066 _("Download: {num} items {mbs}MB "
2103 mbs = format_pair("{0:.1f}", self.archive_bytes.items,
2106 _("Archiving: {pair} items {mbs}MB {pctcomplete}% "
2123 sum(x.items for x in self._actionitems.values())
2226 revs=self.reversion_revs.items,
2227 pkgs=self.reversion_pkgs.items,
2228 adjs=self.reversion_adjs.items))
2236 adjs=self.reversion_adjs.items))
2404 self.O_PRO_ITEMS: self.mfst_fetch.items,
2433 self.O_PRO_ITEMS: self.dl_bytes.items,
2480 self.O_PRO_ITEMS: self.archive_bytes.items,
2499 sum(x.items for x in self._actionitems.values())
2614 self.O_PRO_ITEMS: self.reversion_pkgs.items,
2615 self.O_REV_ITEMS: self.reversion_revs.items,
2616 self.O_ADJ_ITEMS: self.reversion_adjs.items,
2624 self.O_PRO_ITEMS: self.reversion_pkgs.items,
2626 self.O_REV_ITEMS: self.reversion_revs.items,
2628 self.O_ADJ_ITEMS: self.reversion_adjs.items,
2791 if self.pub_refresh_bytes.items <= 32 * 1024:
2795 misc.bytes_to_str(self.pub_refresh_bytes.items)
2885 self.reversion_revs.pair(), self.reversion_adjs.items)
2955 mbs = format_pair("{0:.1f}", self.archive_bytes.items,
2992 mbstr = format_pair("{0:.1f}", self.dl_bytes.items,
3024 format_pair("{0:.1f}", self.dl_bytes.items,
3027 format_pair("{0:.1f}", self.repub_send_bytes.items,
3222 ProgressTrackerFrontend.__dict__.items()
3228 # for ungoaled items, so then we try again
3349 for jobname, job in ProgressTrackerFrontend.__dict__.items():
3354 # ungoaled items, so then we try again without a goal.