1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-17 04:07:06 +00:00

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>
This commit is contained in:
Alexandru DAMIAN
2014-07-15 13:01:56 +01:00
committed by Richard Purdie
parent 6cfb76fa8b
commit 5aba3d7fcc
5 changed files with 364 additions and 2 deletions
+2
View File
@@ -1773,6 +1773,8 @@ if toastermain.settings.MANAGED:
from django.contrib.auth import authenticate, login
from django.contrib.auth.decorators import login_required
from orm.models import Project
import traceback
class BadParameterException(Exception): pass # error thrown on invalid POST requests