summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/orm/migrations
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2017-06-27 13:44:29 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-28 16:02:15 +0100
commit43aaa802c35ecc9d972f3b9adcd060033de1d9de (patch)
treebd8e0fd2ec8c01df2316538ac07527fe67823e6b /bitbake/lib/toaster/orm/migrations
parentd74bcbeaf241a67871d62b7e2c17900ae900642e (diff)
downloadpoky-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/orm/migrations')
-rw-r--r--bitbake/lib/toaster/orm/migrations/0016_clone_progress.py24
1 files changed, 24 insertions, 0 deletions
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 @@
1# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import migrations, models
5
6class Migration(migrations.Migration):
7
8 dependencies = [
9 ('orm', '0015_layer_local_source_dir'),
10 ]
11
12 operations = [
13 migrations.AddField(
14 model_name='build',
15 name='repos_cloned',
16 field=models.IntegerField(default=0),
17 ),
18 migrations.AddField(
19 model_name='build',
20 name='repos_to_clone',
21 field=models.IntegerField(default=1),
22 ),
23 ]
24