Skip to contentSkip to conversation

recipe-style-guide: Clarify when License-Update tag is needed

PATCH Applied Paul Barker 2 participants 2 messages Jun 30 – Jul 3

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 recipe-style-guide: Clarify when License-Update tag is needed

As discussed in a patch review call, we don't need License-Update tags in commits where the upstream license has not changed, and we are instead changing the LICENSE variable to fix incorrect data.

---
Changes in v3:
- Improve wording as suggested by Alex.
- Link to v2: https://patch.msgid.link/[email protected]

Changes in v2:
- Link to an example commit as requested by Antonin.

---
 documentation/contributor-guide/recipe-style-guide.rst | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
documentation/contributor-guide/recipe-style-guide.rst +7 -2
index e5b77393f082..f81ffb2abc55 100644
@@ -268,14 +268,19 @@ License Updates
 ~~~~~~~~~~~~~~~
 
 When you change the :term:`LICENSE` or :term:`LIC_FILES_CHKSUM` in the recipe
-you need to briefly explain the reason for the change via a ``License-Update:``
-tag.  Often it's quite trivial, such as::
+due to upstream making modifications to the license files, you need to briefly
+explain the reason for the change via a ``License-Update:`` tag. Often it's
+quite trivial, such as::
 
     License-Update: copyright years refreshed
 
 Less often, the actual licensing terms themselves will have changed.  If so, do
 try to link to upstream making/justifying that decision.
 
+The ``License-Update:`` tag is not needed for commits which fix incorrect
+license data in our metadata (for an example see OE-Core commit
+:oecore_rev:`6c8b76d240d2457578a58787121bc5873d724ee2`).
+
 Tips and Guidelines for Writing Recipes
 ---------------------------------------
 

---
base-commit: 4562ba19f36e54099bcae82cec8a70deb1c23aa7
change-id: 20260604-license-update-1ef504f8f2a5

Best regards,

Signature · 1 line
Paul Barker
#1 lore raw

Applied, thanks!

[1/1] recipe-style-guide: Clarify when License-Update tag is needed

      commit: db04faf56afded6c5f846cc60a9062e0a1ffa741