new file mode 100644
@@ -0,0 +1,23 @@
+# Generated by Django 4.2.28 on 2026-03-07 22:43
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('layerindex', '0049_alter_layerbranch_vcs_subdir'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='recipe',
+ name='inherits',
+ field=models.CharField(blank=True, max_length=383),
+ ),
+ migrations.AlterField(
+ model_name='recipe',
+ name='license',
+ field=models.CharField(blank=True, max_length=3072),
+ ),
+ ]
@@ -467,12 +467,12 @@ class Recipe(models.Model):
summary = models.CharField(max_length=200, blank=True)
description = models.TextField(blank=True)
section = models.CharField(max_length=100, blank=True)
- license = models.CharField(max_length=2048, blank=True)
+ license = models.CharField(max_length=3072, blank=True)
homepage = models.URLField(blank=True)
bugtracker = models.URLField(blank=True)
provides = models.CharField(max_length=2048, blank=True)
bbclassextend = models.CharField(max_length=100, blank=True)
- inherits = models.CharField(max_length=255, blank=True)
+ inherits = models.CharField(max_length=383, blank=True)
updated = models.DateTimeField(auto_now=True)
blacklisted = models.CharField(max_length=255, blank=True)
configopts = models.CharField(max_length=4096, blank=True)
Fixes: WARNING: Recipe.license: recipes-kernel/linux-firmware/linux-firmware_20260221.bb: length 3042 exceeds maximum (2048), truncating Fixes (many similar): WARNING: Recipe.inherits: recipes-graphics/images/core-image-x11.bb: length 298 exceeds maximum (255), truncating Also add necessary migration. Signed-off-by: Tim Orling <tim.orling@konsulko.com> --- ...er_recipe_inherits_alter_recipe_license.py | 23 +++++++++++++++++++ layerindex/models.py | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 layerindex/migrations/0050_alter_recipe_inherits_alter_recipe_license.py