summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/orm/models.py
diff options
context:
space:
mode:
authorSujith H <sujith.h@gmail.com>2016-07-20 08:57:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-11 00:09:28 +0100
commit8cad51965d07a6e395793224fa4103bc4bc2b967 (patch)
treef4e7c92bb950c8b315591628371cbeedf9f5b432 /bitbake/lib/toaster/orm/models.py
parent494eae3db0585f45007ad8950933d9a1802a2105 (diff)
downloadpoky-8cad51965d07a6e395793224fa4103bc4bc2b967.tar.gz
bitbake: toaster: add local_source_dir field to model
Add a new field local_source_dir to model. This will clearly differentiate us from the vcs_url which is for git path. Adding migration file 0010_layer_local_source_dir_path.py along with this patch. [YOCO #9911] (Bitbake rev: 83763d89f9d0bc535e930a2094ba8201675d40be) Signed-off-by: Sujith H <sujith.h@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/orm/models.py')
-rw-r--r--bitbake/lib/toaster/orm/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index 1c9f3a9363..432b51e0e1 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -1353,6 +1353,7 @@ class Layer(models.Model):
1353 name = models.CharField(max_length=100) 1353 name = models.CharField(max_length=100)
1354 layer_index_url = models.URLField() 1354 layer_index_url = models.URLField()
1355 vcs_url = GitURLField(default=None, null=True) 1355 vcs_url = GitURLField(default=None, null=True)
1356 local_source_dir = models.TextField(null = True, default = None)
1356 vcs_web_url = models.URLField(null=True, default=None) 1357 vcs_web_url = models.URLField(null=True, default=None)
1357 vcs_web_tree_base_url = models.URLField(null=True, default=None) 1358 vcs_web_tree_base_url = models.URLField(null=True, default=None)
1358 vcs_web_file_base_url = models.URLField(null=True, default=None) 1359 vcs_web_file_base_url = models.URLField(null=True, default=None)