Xiyue,

On Saturday, December 14, 2024 12:36:43 AM MST Xiyue Deng wrote:
> I took a look at the machine-readable copyright format document[1],
> specifically the example given in the copyright section 6.8, and I
> think it meant that if a group of file shares any copyright holder(s),
> those files can be grouped in the same stanza - in the example, Angela
> Watts appeared in both source files so those files can share the same
> stanza.  I think in the case for dap-mode, each file has only a single
> copyright holder so may be this simplification doesn't apply, so I opt
> to provide separate stanza for all files.  I surely hope I can list
> everyone under "Files: *" so that things can be simpler, but keeping it
> as-is just in case.

Every file in a given stanza must have the exact same license.  But they don’t 
need to have the same copyright information.  Meaning that if file A is 
copyright 2020 Alice and file B is copyright 2021 Bob, they can be grouped as:

Files: fileA
          fileB
Copyright: 2020 Alice
                    2021 Bob
License: Some-License

https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#copyright-field

The reason why it is structured this way is that it easily tells people which 
files they can use under which license.  The purpose of this design is not to 
list the individual copyright of each file (that would make debian/copyright 
enormously large for big projects).  Rather, it says, "You can use all of the 
files in this stanza under this license.  If, for some reason, you need to 
relicense all of these files under a different license, you would need to 
contact all of the copyright holders listed here to get permission to 
relicense.  If you only need to relicense some of the files in this stanza, 
debian/copyright does not provide detailed information about which of the files 
are under each copyright, but you are free to check the individual files to sus 
out that information.”

As an example, check out the following debian/copyright:

https://salsa.debian.org/soren/feather-wallet/-/blob/main/debian/copyright?
ref_type=heads#L29-46

-- 
Soren Stoutner
so...@debian.org

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to