[yocto] [[PATCH][error-report-web] 3/8] Post/models.py: Increase the TASK field length
Aníbal Limón
anibal.limon at linux.intel.com
Mon Jun 13 16:32:11 PDT 2016
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 at linux.intel.com>
---
Post/migrations/0004_auto_20160530_1126.py | 20 ++++++++++++++++++++
Post/models.py | 2 +-
2 files changed, 21 insertions(+), 1 deletion(-)
create mode 100644 Post/migrations/0004_auto_20160530_1126.py
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))
--
2.1.4
More information about the yocto
mailing list