From: Ross Burton Date: Wed, 10 Dec 2025 13:56:03 +0000 (+0000) Subject: buildhistory_analysis: show renamed directories X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bf22112ea4687e4bf855f12b592b37479aa40df;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git buildhistory_analysis: show renamed directories 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py index c1d502e89c..4a95a928ad 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))