On Sunday, April 13, 2025 10:42:33 AM Mountain Standard Time Sébastien 
Noel wrote:
> On 13/04/25 19:29, Phil Wyett wrote:
> > No, you do not need to add this. LEft in output in error.
> 
> ok thanks
> 
> >> [...]
> >> The value of the "License" field can't have space.
> >> "Expat and/or Unlicense" isn't allowed; how I am supposed to
> >> express this in the dep5 format ?
> > 
> > Spaces are allowed.
> 
> no they are not. Here is what Lintian as to say if I include a
> snippet "License: Expat and/or Unlicense" :
> 
> W: plutovg source: space-in-std-shortname-in-dep5-copyright expat
> and/or unlicense

I think what is causing the issue is “and/or”.  “and/or” makes no 
sense in a debian/copyright license.  It is either “and” or it is 
“or”.  If the upstream license says “and/or”, that means it is “or”, 
and debian/copyright should just say “or”.

As an example, look at the following.

https://salsa.debian.org/debian/courier/-/blob/master/debian/
copyright?ref_type=heads
 
> >> As far as I understand the requirements, I need to document
> >> *copyright holders* in d/copyright, not every single
> >> contributors.
> >> Did I misunderstood something ?
> > 
> > These files are the result of bad development practice. Who knows
> > who claims copyright here.
> 
> well... I read this line in the files :
> "Copyright (c) 2017 Sean Barrett"
> The other peoples are credited above "ADDITIONAL CONTRIBUTORS".
> If you don't trust upstream on this, I'm sorry but what are we even
> trying to do with d/copyright ??
> 
> > I would list all contributors, but that is me. As I said a DD
> > may upload for you deciding that researching correct licensing
> > will take a great deal of time and upload requiring the work to
> > be done. They also may upload deciding it maybe too much work and
> > it can pass with primary developer being enough in
> > 'debian/copyright.

You only need to list people for whom copyright is asserted.  You do 
not need to list all the contributors.  Many projects have 
contributors assign copyright to the organization, but still list the 
contributors names.  Those names do not need to be enumerated in 
debian/copyright as long as nothing upstream asserts they have 
copyright.

An interesting example of this is electrum.  The main copyright is:

2011-2024 The Electrum Developers

However, there are a number of files with headers that contain 
explicit copyrights, so the full copyright information for Files: * 
is:

2011-2024 The Electrum Developers
2011-2024 Thomas Voegtlin <thomasv@gitorious>
2012 thom...@ecdsa.org
2013 ecdsa@github
2014 David Lazar <laz...@mit.edu>
2015 kyuupichan@gmail
2017 Pieter Wuille
2018 Adam Gibson (waxwing)
2018 Andrew R. Kozlik
2019 Axel Gembe <der...@gmail.com>
2023-2024 Soren Stoutner <so...@debian.org>

https://salsa.debian.org/cryptocoin-team/electrum/-/blob/master/
debian/copyright?ref_type=heads

There is also an AUTHORS file that lists contributors.  Not all of 
them are included in debian/copyright because not all of them have 
explicit copyright claims in the upstream code.

https://salsa.debian.org/cryptocoin-team/electrum/-/blob/master/
AUTHORS?ref_type=heads

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

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

Reply via email to