Bug 14426

Summary: Layerindex should allow longer compatible version names
Product: [Yocto Project Subprojects] Layer Index Reporter: Randy MacLeod <randy.macleod>
Component: Layer IndexAssignee: Randy MacLeod <randy.macleod>
Status: RESOLVED INVALID QA Contact: apoorv sangal <apoorvsangal>
Severity: enhancement    
Priority: Medium+ CC: liezhi.yang
Version: 3.4   
Target Milestone: 3.4 M2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Randy MacLeod 2021-06-08 19:28:52 UTC
In this email thread:
https://lists.yoctoproject.org/g/yocto/message/53744?p=,,,20,0,0,0::Created,,layer.conf%3A+set+LAYERSERIES_COMPAT+with+honister,20,2,0,83300536

Kai, points out that there's a warning:
  WARNING: YPCompatibleVersion.name: dunfell gatesgarth hardknott: length 28 exceeds maximum (25), truncating 

when setting:
  LAYERSERIES_COMPAT_realtime = "gatesgarth hardknott honister"
in meta-realtime.

Should the maximum length be increased?
Comment 1 Randy MacLeod 2021-06-10 14:35:24 UTC
Randy to see who at WR has layerindex patches.
Comment 2 Robert Yang 2021-06-11 10:43:55 UTC
The original layerindex doesn't have this issue.
Comment 3 Randy MacLeod 2021-06-11 15:03:53 UTC
Robert, 

I want to confirm that I understand why you closed this defect.
Are you saying that we only saw this in the Wind River clone of the layer index?

../Randy
Comment 4 Randy MacLeod 2021-06-11 15:27:26 UTC
I see from a private email from Robert that:
"I found that it is caused by our local patches. Upstream's layerindex doesn't have this issue."