I am new to use open source project code and as well as the license. I have do some searching about the source code use cases along with the source code license, but mostly i found is about the definition of the license or here. I want to ask if my below use cases is correct without problem?
Let say I download and use a GitHub source which use Apache License as a component on my software for commercial, and my software will be distributed to my users.
- without modify the source and add my new License:
./myProject/wholeGitHubDownloadedSource/(notMycode1.js, notMycode2.js, License.txt)
./myProject/(myCode1.js, myCode2.js, myNewCreatedLicense.txt)
In the License.txt
"Copyright [yyyy] [name of copyright owner] SPDX-License-Identifier: Apache-2.0".
And since I do not modify the downloaded source, in myNewCreatedLicense.txt
"Copyright [yyyy] [my name]. All rights reserved."
Is this case is good to go and I can distribute the whole /myProject software for commercial and sell?
- delete some of the source and add my new License:
./myProject/wholeGitHubDownloadedSource/(notMycode1.js, License.txt)
./myProject/(myCode1.js, myCode2.js, myNewCreatedLicense.txt)
GitHub source always contains many files, I am not sure if delete some of the files count as modified. In this case, I deleted (notMycode2.js) in the downloaded source folder.
In myNewCreatedLicense.txt:
"Copyright [yyyy] [my name]. All rights reserved."
Is this case is good to go and distribute? If not, and I need to add modified notice in the License.txt or myNewCreatedLicense.txt?
Then what should I type about this modified?
- modify the source and add my new License.
./myProject/wholeGitHubDownloadedSource/(modifiedNotMycode1.js, License.txt)
./myProject/(myCode1.js, myCode2.js, myNewCreatedLicense.txt)
In this case, should I put the modified notice in License.txt or myNewCreatedLicense.txt? And what should I type about this modified?