From e85e9f77539939ca16039e178925454b31755016 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Tue, 6 Feb 2024 10:46:42 -0800 Subject: [PATCH] layerindex: fix edit layer vcs_subdir max length EditLayerForm was missed in the previous commit. [YOCTO #15374] Signed-off-by: Tim Orling --- layerindex/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layerindex/forms.py b/layerindex/forms.py index 2cb9b52..10acb88 100644 --- a/layerindex/forms.py +++ b/layerindex/forms.py @@ -75,7 +75,7 @@ LayerMaintainerFormSet = inlineformset_factory(LayerBranch, LayerMaintainer, for class EditLayerForm(StyledModelForm): # Additional form fields - vcs_subdir = forms.CharField(label='Repository subdirectory', max_length=40, required=False, 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 = forms.CharField(label='Repository subdirectory', max_length=60, required=False, 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)') actual_branch = forms.CharField(label='Actual branch', max_length=80, required=False, help_text='Name of the actual branch in the repository matching the core branch (e.g. the development branch is "master" by default)') deps = forms.ModelMultipleChoiceField(label='Other layers this layer depends upon', queryset=LayerItem.objects.filter(comparison=False), required=False) captcha = CaptchaField(label='Verification', help_text='Please enter the letters displayed for verification purposes', error_messages={'invalid':'Incorrect entry, please try again'})