Lines Matching full:progress
26 import bb.progress
119 Task made some progress that could be reported to the user, usually in
120 the form of a progress bar or similar.
125 The progress value is normally 0-100, but can also be negative
126 indicating that progress has been made but we aren't able to determine
131 def __init__(self, progress, rate=None): argument
132 self.progress = progress
371 def create_progress_handler(func, progress, logfile, d): argument
372 if progress == 'percent':
374 return bb.progress.BasicProgressHandler(d, outfile=logfile)
375 elif progress.startswith('percent:'):
377 return bb.progress.BasicProgressHandler(d, regex=progress.split(':', 1)[1], outfile=logfile)
378 elif progress.startswith('outof:'):
380 return bb.progress.OutOfProgressHandler(d, regex=progress.split(':', 1)[1], outfile=logfile)
381 elif progress.startswith("custom:"):
382 # Use a custom progress handler that was injected via OE_EXTRA_IMPORTS or __builtins__
386 parts = progress.split(":", 2)
401 …bb.warn('%s: unknown custom progress handler in task progress varflag value "%s", ignoring' % (fun…
403 bb.warn('%s: invalid task progress varflag value "%s", ignoring' % (func, progress))
448 progress = d.getVarFlag(func, 'progress')
449 if progress:
451 logfile = create_progress_handler(func, progress, logfile, d)
454 logger.error("Failed to create progress handler")