diff options
| author | David Reyna <David.Reyna@windriver.com> | 2017-06-27 13:44:29 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-28 16:02:15 +0100 |
| commit | 43aaa802c35ecc9d972f3b9adcd060033de1d9de (patch) | |
| tree | bd8e0fd2ec8c01df2316538ac07527fe67823e6b /bitbake/lib/toaster/toastergui/widgets.py | |
| parent | d74bcbeaf241a67871d62b7e2c17900ae900642e (diff) | |
| download | poky-43aaa802c35ecc9d972f3b9adcd060033de1d9de.tar.gz | |
bitbake: toaster: git clone progress bar
If a project has a lot of additional layers, the build may
appear to hang while those layers are checked out.
This patch adds a clone progress bar that is visible before
the parsing progress appears.
[YOCTO #9916]
(Bitbake rev: 0c94d947b74c4dee23d7b9d255facd3cf839ccbe)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/widgets.py')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/widgets.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/widgets.py b/bitbake/lib/toaster/toastergui/widgets.py index 6b7b981f3b..67c1ff9615 100644 --- a/bitbake/lib/toaster/toastergui/widgets.py +++ b/bitbake/lib/toaster/toastergui/widgets.py | |||
| @@ -511,6 +511,10 @@ class MostRecentBuildsView(View): | |||
| 511 | int((build_obj.recipes_parsed / | 511 | int((build_obj.recipes_parsed / |
| 512 | build_obj.recipes_to_parse) * 100) | 512 | build_obj.recipes_to_parse) * 100) |
| 513 | 513 | ||
| 514 | build['repos_cloned_percentage'] = \ | ||
| 515 | int((build_obj.repos_cloned / | ||
| 516 | build_obj.repos_to_clone) * 100) | ||
| 517 | |||
| 514 | tasks_complete_percentage = 0 | 518 | tasks_complete_percentage = 0 |
| 515 | if build_obj.outcome in (Build.SUCCEEDED, Build.FAILED): | 519 | if build_obj.outcome in (Build.SUCCEEDED, Build.FAILED): |
| 516 | tasks_complete_percentage = 100 | 520 | tasks_complete_percentage = 100 |
