diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-07-15 13:01:56 +0100 |
---|---|---|
committer | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-07-23 17:53:19 +0100 |
commit | 1b5835e5d48cbfb7d38e38437c45d161052dfb37 (patch) | |
tree | 17ef34ce96bef91642bacf2d56f977230b957aba /lib/toaster/bldcontrol/models.py | |
parent | d17500d3f73fdeeef5f11fb3773a65e927be3f02 (diff) | |
download | bitbake-contrib-1b5835e5d48cbfb7d38e38437c45d161052dfb37.tar.gz |
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.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'lib/toaster/bldcontrol/models.py')
-rw-r--r-- | lib/toaster/bldcontrol/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/toaster/bldcontrol/models.py b/lib/toaster/bldcontrol/models.py index 8285257c8..1f253ffb2 100644 --- a/lib/toaster/bldcontrol/models.py +++ b/lib/toaster/bldcontrol/models.py @@ -71,6 +71,8 @@ class BRLayer(models.Model): name = models.CharField(max_length = 100) giturl = models.CharField(max_length = 254) commit = models.CharField(max_length = 254) + dirpath = models.CharField(max_length = 254) + class BRVariable(models.Model): req = models.ForeignKey(BuildRequest) |