Related issue is the copyright to a change. So the change file could be:
message = ''
license = 'None'
license_signature = '...'
timestamp = '...'
[[authors]]
key = '...'
[[copyright]]
holder=<author-1>
id=<author-1-id>
# Dependencies
[2] ....
# Hunks
....
Interesting idea. This is technically possible using the free-form metadata field in patches.
An extension of that idea could include the same kind of things I did with Libpijul’s CLA: it was introduced into the repo by a patch P
dependent only on the initial patch, and a requirement to contribute to libpijul is to have P
as a dependency. Because P
depends only on the root, the only way to have P
as a dependency is if you include it explicitly.
Examples are worth a 1000 words:
Where
0BSD, ...
is the list of identifiers at https://spdx.org/licenses/ andLicense-File
indicates some convention like license text in aLICENSE
file in the repository.where the change file is:
Forks/clones of the repo are distributed with the public key and
pijul ...
, before applying a change, checks the calculated license signature against the initial commit (or is the previous commit sufficient?)