diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-11-05 14:47:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-12 17:04:48 +0000 |
commit | 78e3a7877b361e9c3ae4865231d97a47bd8220bc (patch) | |
tree | 1d8e76e4228ab6f17d2c198dd4f5df1d6f192326 /bitbake/lib/toaster/bldcontrol/models.py | |
parent | 990fb9ed6cc8414e9a0b1baed8990261650af1db (diff) | |
download | poky-78e3a7877b361e9c3ae4865231d97a47bd8220bc.tar.gz |
bitbake: toaster: update Release model to pinpoint to specific Branch
We update the release model to pinpoint to specific branch,
instead of holding a branch name that needs to be matched.
This is needed because we move away from mixing branches on different
layer sources.
Various minor changes to models file.
(Bitbake rev: d58aacc69b1832f99758b941803123329e06082d)
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 15270c3a57..f72fb8fbc9 100644 --- a/bitbake/lib/toaster/bldcontrol/models.py +++ b/bitbake/lib/toaster/bldcontrol/models.py | |||
@@ -62,6 +62,7 @@ class BuildRequest(models.Model): | |||
62 | REQ_INPROGRESS = 2 | 62 | REQ_INPROGRESS = 2 |
63 | REQ_COMPLETED = 3 | 63 | REQ_COMPLETED = 3 |
64 | REQ_FAILED = 4 | 64 | REQ_FAILED = 4 |
65 | REQ_DELETED = 5 | ||
65 | 66 | ||
66 | REQUEST_STATE = ( | 67 | REQUEST_STATE = ( |
67 | (REQ_CREATED, "created"), | 68 | (REQ_CREATED, "created"), |
@@ -69,6 +70,7 @@ class BuildRequest(models.Model): | |||
69 | (REQ_INPROGRESS, "in progress"), | 70 | (REQ_INPROGRESS, "in progress"), |
70 | (REQ_COMPLETED, "completed"), | 71 | (REQ_COMPLETED, "completed"), |
71 | (REQ_FAILED, "failed"), | 72 | (REQ_FAILED, "failed"), |
73 | (REQ_DELETED, "deleted"), | ||
72 | ) | 74 | ) |
73 | 75 | ||
74 | project = models.ForeignKey(Project) | 76 | project = models.ForeignKey(Project) |