0
Fork 0
mirror of https://github.com/Droid-VM/DroidVM.git synced 2026-11-17 06:58:15 +00:00
DroidVM/CONTRIBUTING.md
HuJK 3d010e6fe0 licensing: say the GPLv3 out loud, and allow an upstream relicense
LICENSE.txt has always been the full GPLv3, but not one source file said so:
397 Java files with no header at all, so the licence of a file could only be
inferred from the repository around it. Every source file now carries an
SPDX-License-Identifier line.

ADDITIONAL-PERMISSIONS is the part that is new rather than merely written
down. It lets anyone relicense this material under the terms an upstream
project requires, for the purpose of getting it merged there and only for
that -- which is what these changes exist for, and what a plain GPLv3 file
cannot do when the project it is aimed at is Apache-2.0 or BSD. Contributions
carry the permission because they are made under the project licence;
CONTRIBUTING.md asks for a DCO sign-off rather than a CLA, so nobody signs
away anything to hold it.

LICENSE.txt itself is left alone. It is reflowed rather than hard-wrapped the
way the FSF renders it, which is a cosmetic difference in a file that should
not be churned.
2026-09-01 20:28:17 +08:00

1.4 KiB

Contributing

Sign-off

Every commit must carry a Signed-off-by: line certifying the Developer Certificate of Origin 1.1:

git commit -s

What signing off means here

The DCO asks you to certify that you have the right to submit your work under the license this project uses. For this project that license is the GNU GPL plus the additional permissions in ADDITIONAL-PERMISSIONS, so a contribution made under it carries those permissions too.

That is deliberate, and it is why this project asks for a DCO rather than a CLA. The additional permissions let anyone relicense material from this project in order to get it accepted into the upstream project it belongs in. If contributions did not carry those permissions, every contribution would become a piece of the tree that could never be sent upstream, and the permission would quietly stop meaning anything as the project grew.

You keep your copyright. Nothing is assigned to anyone.

Do not sign off on someone else's license

If you are contributing material you did not write -- code ported from another project, a header copied from a kernel, a function translated from elsewhere -- say so in the file and keep that material under its own license. Do not put a project SPDX tag on it. Several files in these repositories are in exactly that position and are marked accordingly.