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>
This commit is contained in:
Alexandru DAMIAN
2014-11-05 14:47:51 +00:00
committed by Richard Purdie
parent 990fb9ed6c
commit 78e3a7877b
5 changed files with 406 additions and 31 deletions

View File

@@ -62,6 +62,7 @@ class BuildRequest(models.Model):
REQ_INPROGRESS = 2
REQ_COMPLETED = 3
REQ_FAILED = 4
REQ_DELETED = 5
REQUEST_STATE = (
(REQ_CREATED, "created"),
@@ -69,6 +70,7 @@ class BuildRequest(models.Model):
(REQ_INPROGRESS, "in progress"),
(REQ_COMPLETED, "completed"),
(REQ_FAILED, "failed"),
(REQ_DELETED, "deleted"),
)
project = models.ForeignKey(Project)