new file mode 100644
@@ -0,0 +1,22 @@
+# Generated by Django 4.2.9 on 2024-01-30 03:48
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("layerindex", "0048_bbclassglobal_bbclassrecipe_bbclass_bbclass_type"),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name="layerbranch",
+ name="vcs_subdir",
+ field=models.CharField(
+ blank=True,
+ help_text="Subdirectory within the repository where the layer is located, if not in the root (usually only used if the repository contains more than one layer)",
+ max_length=60,
+ verbose_name="Repository subdirectory",
+ ),
+ ),
+ ]
@@ -234,7 +234,7 @@ class LayerBranch(models.Model):
branch = models.ForeignKey(Branch, on_delete=models.CASCADE)
collection = models.CharField('Layer Collection', max_length=40, null=True, blank=True, help_text='Name of the collection that the layer provides for the purpose of expressing dependencies (as specified in BBFILE_COLLECTIONS). Can only contain letters, numbers and dashes.')
version = models.CharField('Layer Version', max_length=10, null=True, blank=True, help_text='The layer version for this particular branch.')
- vcs_subdir = models.CharField('Repository subdirectory', max_length=40, blank=True, help_text='Subdirectory within the repository where the layer is located, if not in the root (usually only used if the repository contains more than one layer)')
+ vcs_subdir = models.CharField('Repository subdirectory', max_length=60, blank=True, help_text='Subdirectory within the repository where the layer is located, if not in the root (usually only used if the repository contains more than one layer)')
vcs_last_fetch = models.DateTimeField('Last successful fetch', blank=True, null=True)
vcs_last_rev = models.CharField('Last revision fetched', max_length=80, blank=True)
vcs_last_commit = models.DateTimeField('Last commit date', blank=True, null=True)
https://github.com/webosose/meta-webosose has layers like: meta-webos-backports/meta-webos-backports-4.1 which is 45 characters. Allow for up to 60 characters in the vcs_subdir field in the LayerBranch class. [YOCTO #15374] Signed-off-by: Tim Orling <tim.orling@konsulko.com> --- .../0049_alter_layerbranch_vcs_subdir.py | 22 +++++++++++++++++++ layerindex/models.py | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 layerindex/migrations/0049_alter_layerbranch_vcs_subdir.py