diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-07-15 13:01:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-23 20:06:57 +0100 |
commit | 5aba3d7fcc3a9edf477bedeced96444b2fbcb8be (patch) | |
tree | f273adece5de31e95cc6f6e24b216706ed43c859 /bitbake/lib/toaster/bldcontrol/models.py | |
parent | 6cfb76fa8bd1c192e6a0524b7670e2172e5d8e26 (diff) | |
download | poky-5aba3d7fcc3a9edf477bedeced96444b2fbcb8be.tar.gz |
bitbake: toaster: improved Project models
A layer may live in a subdirectory of a git repository,
so we add a field to track this setting in the Project layers.
We add the Project schedule_build function, which creates
a build request from the current project configuration.
We also fix an import problem with Projects in views.
(Bitbake rev: 1b5835e5d48cbfb7d38e38437c45d161052dfb37)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/models.py')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/models.py b/bitbake/lib/toaster/bldcontrol/models.py index 8285257c8e..1f253ffb22 100644 --- a/bitbake/lib/toaster/bldcontrol/models.py +++ b/bitbake/lib/toaster/bldcontrol/models.py | |||
@@ -71,6 +71,8 @@ class BRLayer(models.Model): | |||
71 | name = models.CharField(max_length = 100) | 71 | name = models.CharField(max_length = 100) |
72 | giturl = models.CharField(max_length = 254) | 72 | giturl = models.CharField(max_length = 254) |
73 | commit = models.CharField(max_length = 254) | 73 | commit = models.CharField(max_length = 254) |
74 | dirpath = models.CharField(max_length = 254) | ||
75 | |||
74 | 76 | ||
75 | class BRVariable(models.Model): | 77 | class BRVariable(models.Model): |
76 | req = models.ForeignKey(BuildRequest) | 78 | req = models.ForeignKey(BuildRequest) |