summaryrefslogtreecommitdiffstats
path: root/lib/toaster/orm/migrations/0016_clone_progress.py
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2017-07-11 14:56:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-21 09:26:13 +0100
commitd25a3088150b2a277242027c12becdeb88c45517 (patch)
tree9ae5478112162738eeb61e745930daa020c56554 /lib/toaster/orm/migrations/0016_clone_progress.py
parent485b328430dcdfd0b52f09f01ebd490d09459ea3 (diff)
downloadbitbake-contrib-d25a3088150b2a277242027c12becdeb88c45517.tar.gz
toaster: set clone progress default to off
Set the clone progress to be off by default for the benefit of command line projects and 'Local Yocto' builds. For Toaster managed projects that do use the clone feature the clone progress status is already explicitly set by the existing code and thus displayed. [YOCTO #11744] Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster/orm/migrations/0016_clone_progress.py')
-rw-r--r--lib/toaster/orm/migrations/0016_clone_progress.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/toaster/orm/migrations/0016_clone_progress.py b/lib/toaster/orm/migrations/0016_clone_progress.py
index 852b8785f..cd4023b6f 100644
--- a/lib/toaster/orm/migrations/0016_clone_progress.py
+++ b/lib/toaster/orm/migrations/0016_clone_progress.py
@@ -13,12 +13,12 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='build',
name='repos_cloned',
- field=models.IntegerField(default=0),
+ field=models.IntegerField(default=1),
),
migrations.AddField(
model_name='build',
name='repos_to_clone',
- field=models.IntegerField(default=1),
+ field=models.IntegerField(default=1), # (default off)
),
]