From 43aaa802c35ecc9d972f3b9adcd060033de1d9de Mon Sep 17 00:00:00 2001 From: David Reyna Date: Tue, 27 Jun 2017 13:44:29 -0700 Subject: 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 Signed-off-by: Richard Purdie --- .../toaster/orm/migrations/0016_clone_progress.py | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 bitbake/lib/toaster/orm/migrations/0016_clone_progress.py (limited to 'bitbake/lib/toaster/orm/migrations') diff --git a/bitbake/lib/toaster/orm/migrations/0016_clone_progress.py b/bitbake/lib/toaster/orm/migrations/0016_clone_progress.py new file mode 100644 index 0000000000..852b8785fe --- /dev/null +++ b/bitbake/lib/toaster/orm/migrations/0016_clone_progress.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models + +class Migration(migrations.Migration): + + dependencies = [ + ('orm', '0015_layer_local_source_dir'), + ] + + operations = [ + migrations.AddField( + model_name='build', + name='repos_cloned', + field=models.IntegerField(default=0), + ), + migrations.AddField( + model_name='build', + name='repos_to_clone', + field=models.IntegerField(default=1), + ), + ] + -- cgit v1.2.3-54-g00ecf