Re: daitch_mokotoff module
Dag Lem <dag@nimrod.no>
From: Dag Lem <dag@nimrod.no>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Paul Ramsey <pramsey@cleverelephant.ca>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-02-08T14:31:20Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Avoid using non-ASCII commentary in daitch_mokotoff.c.
- 1c54b93a8cf9 16.0 landed
-
Remove some non-ASCII symbols from a comment.
- d6b5dee42de7 16.0 landed
-
Remove useless dependencies in daitch_mokotoff_header.pl.
- 2bfbad9c4220 16.0 landed
-
Pacify perlcritic.
- edc627ae2763 16.0 landed
-
Add support for Daitch-Mokotoff Soundex in contrib/fuzzystrmatch.
- a290378a3752 16.0 landed
-
Enable routine running of citext's UTF8-specific test cases.
- c2e8bd27519f 15.0 landed
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> On 2023-Jan-17, Dag Lem wrote:
>
>> + * Daitch-Mokotoff Soundex
>> + *
>> + * Copyright (c) 2021 Finance Norway
>> + * Author: Dag Lem <dag@nimrod.no>
>
> Hmm, I don't think we accept copyright lines that aren't "PostgreSQL
> Global Development Group". Is it okay to use that, and update the year
> to 2023? (Note that answering "no" very likely means your patch is not
> candidate for inclusion.) Also, we tend not to have "Author:" lines.
>
You'll have to forgive me for not knowing about this rule:
grep -ER "Copyright.*[0-9]{4}" contrib/ | grep -v PostgreSQL
In any case, I have checked with the copyright owner, and it would be OK
to assign the copyright to "PostgreSQL Global Development Group".
To avoid going back and forth with patches, how do you propose that the
sponsor and the author of the contributed module should be credited?
Woule something like this be acceptable?
/*
* Daitch-Mokotoff Soundex
*
* Copyright (c) 2023, PostgreSQL Global Development Group
*
* This module was sponsored by Finance Norway / Trafikkforsikringsforeningen
* and implemented by Dag Lem <dag@nimrod.no>
*
...
[...]
>
> We don't keep a separate copyright statement in the file; rather we
> assume that all files are under the PostgreSQL license, which is in the
> COPYRIGHT file at the top of the tree. Changing it thus has the side
> effect that these disclaim notes refer to the University of California
> rather than "the Author". IANAL.
OK, no problem. Note that you will again find counterexamples under
contrib/ (and in some other places):
grep -R "Permission to use" .
> I think we should add SPDX markers to all the files we distribute:
> /* SPDX-License-Identifier: PostgreSQL */
>
> https://spdx.dev/ids/
> https://spdx.org/licenses/PostgreSQL.html
As far as I can tell, this is not included in any file so far, and is
thus better left to decide and implement by someone else.
Best regards
Dag Lem