aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2016-05-30 11:20:05 -0500
committerMichael Wood <michael.g.wood@intel.com>2016-06-23 12:21:30 +0100
commitb963e6b60dbe79754321a04c87ffd93e5f9b0123 (patch)
tree46517259501c933388519213839299cdaa28d0ea
parentba021eef6340720d7f0139390122193758080e0a (diff)
downloaderror-report-web-b963e6b60dbe79754321a04c87ffd93e5f9b0123.tar.gz
error-report-web-b963e6b60dbe79754321a04c87ffd93e5f9b0123.tar.bz2
error-report-web-b963e6b60dbe79754321a04c87ffd93e5f9b0123.zip
models: Increase the TASK field length
Now bitbake exception/errors can be published into ERW so TASK in bitbake is the command line executed. [YOCTO #7583] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com>
-rw-r--r--Post/migrations/0004_auto_20160530_1126.py20
-rw-r--r--Post/models.py2
2 files changed, 21 insertions, 1 deletions
diff --git a/Post/migrations/0004_auto_20160530_1126.py b/Post/migrations/0004_auto_20160530_1126.py
new file mode 100644
index 0000000..936454d
--- /dev/null
+++ b/Post/migrations/0004_auto_20160530_1126.py
@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import models, migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('Post', '0003_auto_20150603_0913'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='buildfailure',
+ name='TASK',
+ field=models.CharField(max_length=1024),
+ preserve_default=True,
+ ),
+ ]
diff --git a/Post/models.py b/Post/models.py
index d1bae38..84f8abf 100644
--- a/Post/models.py
+++ b/Post/models.py
@@ -27,7 +27,7 @@ class Build(models.Model):
LINK_BACK = models.TextField(max_length=300, blank=True, null=True)
class BuildFailure(models.Model):
- TASK = models.CharField(max_length=200)
+ TASK = models.CharField(max_length=1024)
RECIPE= models.CharField(max_length=250)
RECIPE_VERSION = models.CharField(max_length=200)
ERROR_DETAILS = models.TextField(max_length=int(settings.MAX_UPLOAD_SIZE))