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

Repository license #7105

Closed
hithomasmorelli opened this issue Dec 4, 2020 · 2 comments · Fixed by #7106
Closed

Repository license #7105

hithomasmorelli opened this issue Dec 4, 2020 · 2 comments · Fixed by #7106

Comments

@hithomasmorelli
Copy link

hithomasmorelli commented Dec 4, 2020

I'm working on an acknowledgements file for an app I'm developing. I noticed that the license file referred to "Firebase, Inc." in the license appendix. Looking at the commit history shows that this was introduced in #6044.

I've got pretty much no idea how the Apache 2.0 license should be applied to an open source repository - i.e. whether or not the appendix at the end should be filled with the name of the copyright holder of the repository. Going off a quick search, the Google open source docs suggest that the appendix shouldn't be filled:

There must also be a file named LICENSE in the top-level directory that contains a copy of the license. For the Apache License, simply copy the official 2.0 license into your LICENSE file verbatim (do not edit the Copyright section in the template, only when you use that template in the header of your source code files.)

Why shouldn't I edit the template in the Apache License? The "LICENSE" file is supposed to be our inclusion of an exact copy of https://www.apache.org/licenses/LICENSE-2.0.txt as required by section 4(a) of the Apache 2 license, so we shouldn't modify it in any way, such as by adding our copyright notice. Also, the Appendix (lines 179-202) represents a notice to third-parties informing them of how they should apply the Apache 2 license to their own works, so inserting our copyright notice in place of the template text renders those instructions incorrect. Many projects insert copyright notices into their LICENSE file at line 190 because this is a common and understandable misinterpretation of the license's instructions. We should attempt to fix this wherever we find it, particularly for first-party projects.

I will happily admit that I don't know much about how to apply the Apache 2.0 license to a piece of work. However, I thought that it was probably something that I should bring to your attention.

@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@paulb777
Copy link
Member

paulb777 commented Dec 4, 2020

@hithomasmorelli Thanks for the issue. Your analysis looks right to me that we shouldn't have merged #6044. I'll send a PR to fix.

@firebase firebase locked and limited conversation to collaborators Jan 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants