| Message ID | 20251210135603.2980546-1-ross.burton@arm.com |
|---|---|
| State | New |
| Headers | show |
| Series | buildhistory_analysis: show renamed directories | expand |
diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py index c1d502e89cf..4a95a928adf 100644 --- a/meta/lib/oe/buildhistory_analysis.py +++ b/meta/lib/oe/buildhistory_analysis.py @@ -150,10 +150,10 @@ class ChangeRecord: lines.append('removed "{colour_remove}{value}{colour_default}"'.format(value=' '.join(removed), **colours)) if added: lines.append('added "{colour_add}{value}{colour_default}"'.format(value=' '.join(added), **colours)) - else: + elif not renamed_dirs: lines.append('changed order') - if not (removed or added or changed_order): + if not (removed or added or changed_order or renamed_dirs): out = '' else: out = '%s: %s' % (self.fieldname, ', '.join(lines))
If a directory was just renamed but the contents did not change, it was not listed in the output. This change should be listed, so be sure to handle that case. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/lib/oe/buildhistory_analysis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)