-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add COPYRIGHT file and update copyright & licence notices #591
Conversation
✅ Build rand 1.0.68 completed (commit 5467b205bd by @dhardy) |
This looks fine to me. A file explicitly It might be worth tagging the relevant people if you want an explicit response. I would not have seen this PR if I wasn't randomly using a different computer which didn't have my browsing history to look up a PR. Adding the ones I know off the top of my head: @pitdicker, @vks, @alexcrichton, @MaximoB, @TheIronBorn, @Pazzaz, @GabrielMajeri — are you happy with the change in copyright notice? |
I have no issue with the change to the copyright notice. Just a minor question: wouldn't it make sense to say Copyright "The Rand Project Developers" instead of "Developers of the Rand project" to match "The Rust Project Developers"? |
I was hoping for input from someone with more background on this stuff, but I guess this will have to do. @GabrielMajeri this is a deliberate attempt to learn from the Rust project, i.e. make it clear that copyright is held by individual developers, not by some other entity. Also note that although we could try to maintain an Edit: please tell me if you would like your name mentioned in an AUTHORS.txt file. Otherwise I will not bother creating this file. |
Also @fizyk20 @rohitjoshi @vitiral — are you happy with the change in copyright notice? |
Perfectly fine by me. Regarding AUTHORS.txt, I don't feel it is necessary, but if it gets created, I'd be happy if I got mentioned ;) |
This is fine with me as well. |
I feel like a lot of authors are missing from the list. For example, @huonw implemented quite a few of the distributions in Rand. |
Yes, it is. Perhaps we should try updating the copyright notice on all files; I tried to take the "easy" option here by limiting to files which are only written by recent contributors (according to @huonw are you able to comment on this issue? Since Huon was the primary author of much of the old versions of the Rand lib, and since he hasn't been active here for a long time, I avoided several parts of the lib in this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm dumb please ignore this comment
So I do not believe this is advised. See section "How do I use the MIT License?" here: https://www.tawesoft.co.uk/kb/article/mit-license-faqThe MIT licesnse has a clause which states:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
This would include at the top of every source file.
You can instead use this as a header, which is sufficient (and what rust itself uses):
// Copyright 2016 rust-postgres-macros Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
// http://opensource.org/licenses/MIT>, at your option. This file may not be
// copied, modified, or distributed except according to those terms.
There was a bot that created these templates. You can read more about it here: sfackler/rust-postgres-macros#19
According to that bot you should also put a LICENSE-MIT and LICENSE-APACHE file in your source tree.
Doh! I'm so sorry. I missed the last paragraph in the original comment and just saw the part where you wanted input from the list. I'm really sorry about that!! |
And if an Authors.txt file is added (which I think would be nice, but not required), then I'd like to be mentioned. |
@vitiral that is exactly what the updated licence headers say, except for slightly different wording of the copyright line. |
@dhardy nvm I'm dumb. |
Yes, I'm happy with the change in copyright. Thanks for asking. |
Thanks @huonw. It would be nice to have confirmation from everyone, but So I think it's sensible to leave the copyright notice as-is on older files (which is why I didn't ask @huonw before). |
@pitdicker @MaximoB @rohitjoshi @TheIronBorn @Pazzaz @vitiral please confirm you are happy with the change in copyright notice. |
Looks good and carefully done!
The Rust
In several files, would the year I'm not big on having an |
Considering it's not even refering to the same COPYRIGHT file, I guess that makes sense. I don't think the year matters much. It frequently doesn't get updated anyway. |
I'm happy! You have my permission.
|
I approve of the changes 👍 |
I'm happy with the changes |
@MaximoB @rohitjoshi please confirm you are happy with the change in copyright notice. |
We have no sub-packages under different licences
Done
As I understand the date is not particularly important. Keeping these lines up to date would be a burden, so lets not worry. |
Follow up on #591: update authors and add new copyright where missed
Fix #468:
This last point is less straightforward, and only done selectively: I replaced the notice entirely in more recent additions although, strictly speaking, this is not compatible with the licence. In files with longer / complex history I did not remove the existing copyright header, but in some cases added an additional one.
Is this reasonable? Before proceeding I think we should ask each author concerned if they are happy with the change in copyright notice. According to
git blame
this is:mberocay MaximoBRohit JoshiBut before doing that, is this a reasonable plan @steveklabnik @pitdicker @vks (or anyone else caring to comment)?