diff options
Diffstat (limited to 'bitbake/lib/bb/event.py')
| -rw-r--r-- | bitbake/lib/bb/event.py | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index 5f292bccbc..5b0a183acd 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
| @@ -296,10 +296,16 @@ class MultipleProviders(Event): | |||
| 296 | """ | 296 | """ |
| 297 | return self._candidates | 297 | return self._candidates |
| 298 | 298 | ||
| 299 | class ParseProgress(Event): | 299 | class ParseStarted(Event): |
| 300 | """ | 300 | """Recipe parsing for the runqueue has begun""" |
| 301 | Parsing Progress Event | 301 | def __init__(self, total, skipped, masked): |
| 302 | """ | 302 | Event.__init__(self) |
| 303 | self.total = total | ||
| 304 | self.skipped = skipped | ||
| 305 | self.masked = masked | ||
| 306 | |||
| 307 | class ParseCompleted(Event): | ||
| 308 | """Recipe parsing for the runqueue has completed""" | ||
| 303 | 309 | ||
| 304 | def __init__(self, cached, parsed, skipped, masked, virtuals, errors, total): | 310 | def __init__(self, cached, parsed, skipped, masked, virtuals, errors, total): |
| 305 | Event.__init__(self) | 311 | Event.__init__(self) |
| @@ -312,6 +318,12 @@ class ParseProgress(Event): | |||
| 312 | self.sofar = cached + parsed | 318 | self.sofar = cached + parsed |
| 313 | self.total = total | 319 | self.total = total |
| 314 | 320 | ||
| 321 | class ParseProgress(Event): | ||
| 322 | """Recipe parsing progress""" | ||
| 323 | |||
| 324 | def __init__(self, current): | ||
| 325 | self.current = current | ||
| 326 | |||
| 315 | class DepTreeGenerated(Event): | 327 | class DepTreeGenerated(Event): |
| 316 | """ | 328 | """ |
| 317 | Event when a dependency tree has been generated | 329 | Event when a dependency tree has been generated |
