Skip to content
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

Generated license header is GPL, repo is licensed MIT #91

Open
wongjoel opened this issue Mar 20, 2022 · 8 comments
Open

Generated license header is GPL, repo is licensed MIT #91

wongjoel opened this issue Mar 20, 2022 · 8 comments

Comments

@wongjoel
Copy link
Contributor

If you generate a new controller with ./b controller generate <name of controller>, the generated header mentions the GPLv3 license. This doesn't match the MIT license on the entire repo.

Not sure if we want to change the generated header, or change the repo license.

@ysims
Copy link
Member

ysims commented Mar 20, 2022

Good spotting. If we can use MIT, use MIT (for consistence across repos) but depends on how the Webots license limits us, it might require we use GPLv3.

@TrentHouliston
Copy link
Member

Don't you still use GPL in the main NUbots repo?

@ysims
Copy link
Member

ysims commented Mar 20, 2022

Huh I never really looked that closely at NUbots/NUbots, we don't have a repo wide license? Just at the top of the file, and I don't think all files have that. We use MIT for NUbook.
I feel like one license file is easier to manage? How come we have it per file @TrentHouliston? I don't know much about licenses and legal stuff. I guess it'd be good to check through our repos and get some consistency and make sure we're using correct/good licensing.

@wongjoel
Copy link
Contributor Author

Webots itself looks like Apache 2.0, so we're not particularly limited in licence choice by Webots

@TrentHouliston
Copy link
Member

NUbots was GPLed before I showed up, Anything new we did MIT licence (NUsight etc) but since NUbots was GPLed, it has to stay GPLed. Unless you can contact everyone who contributed to that repo and ask them if we can swap to MIT.

As for per file licence, it's not really like that. It's one licence for the repo and more like a "reminder" in each file. Licence isn't dependent on you having text in a file.

Technically NUbots licencing is all kinds of messed up since I think nobody actually signed something like Google's CLA, so everyone individually owns the licence to the parts of the code they wrote or something?
Otherwise if everyone signed one as "NUbots" the organisation you could just relicense everything.

Also IANAL... so who knows :P

@ysims
Copy link
Member

ysims commented Mar 20, 2022

That sounds familiar, I think someone told me this before.
Should we have a license file in the root of the repo or is it implied by the 'reminders' in the files? Or maybe that's not how it works 😅 I feel like we need a legal student on the team

@wongjoel
Copy link
Contributor Author

I suppose for this issue, we change the tool to generate files that mention MIT rather than GPL in the header?

Moving forwards, I suppose we can at least have team members from now on sign some kind of CLA, and standardise on MIT? But that's possibly a bigger discussion than fits in this issue.

@JosephusPaye
Copy link
Member

Going forward, a CLA would be nice, and can be a standard part of onboarding - by joining the team and committing code, you agree to assign copyright ownership to the NUbots organisation. This way if NUbots the org decides to adopt a specific licence, it doesn't need consent from every individual contributor.

As noted already, this wouldn't cover existing contributions though, and we'll also need a process that ensures any external contributors not part of the team sign the CLA before merging their contributions. There are bots like this one that can help automate the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants