]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
doc: develop: Add a note about importing code from other projects
authorTom Rini <trini@konsulko.com>
Mon, 1 Aug 2022 18:57:01 +0000 (14:57 -0400)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 13 Aug 2022 09:09:49 +0000 (11:09 +0200)
We talk about importing code from other projects in two places. The
first place is in the coding style section, where we explain when to or
not to deviate in terms of white space, etc. In the process
documentation we now add a note about saying where the code was imported
from and to ensure that you do not copy Signed-off-by or other tags.

Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
doc/develop/process.rst

index 0ef24e819982469999f373cbfaf5403cba1370c8..388945cf9bb9947822b274fa59f4bb857f74fb11 100644 (file)
@@ -139,6 +139,10 @@ like this:
    as the Linux kernel.  Following this and adding a ``Signed-off-by:`` line
    that contains the developer's name and email address is required.
 
+   * Please note that when importing code from other projects you must say
+     where it comes from, and what revision you are importing. You must not
+     however copy ``Signed-off-by`` or other tags.
+
 #. Everybody who can is invited to review and test the changes.  Typically, we
    follow the same guidelines as the Linux kernel for `Acked-by
    <https://www.kernel.org/doc/html/latest/process/submitting-patches.html#when-to-use-acked-by-cc-and-co-developed-by>`_