https://kotlinlang.org logo
y

Youssef Shoaib [MOD]

03/06/2021, 12:04 PM
Quick question because I can't find this anywhere online. So most Apache 2.0 licensed work uses the long-form, boilerplate notice at the top of each file, and in that case if you're making a derivative of it you just add another "Copyright YYYY Firstname Lastname" line underneath the already existing one, but the Kotlin compiler code uses this shorthand form:
Copy code
/*
 * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors.
 * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
 */
so in this case should I change it to " Copyright 2010-2019 JetBrains s.r.o., Kotlin Programming Language contributors, and Firstname Lastname", or what should I do?
🧵 2
v

Vampire

03/06/2021, 2:05 PM
Read the license about what it mandates you to do or if you want to get a legally secured answer, ask a lawyer that is experienced with software licenses. 🙂
y

Youssef Shoaib [MOD]

03/06/2021, 2:19 PM
Yeah it mandates me to declare clearly that I've modified that file. What I'm asking is like conventionally what do people actually do in these cases
As in like I want to follow the conventional solution for this.
After giving it some thought, I think I'm gonna go with this for now:
Copy code
/*
 * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors.
 * Copyright (C) 2021 Firstname Lastname
 * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
 *
 * Copied and modified from the Kotlin compiler source code at: LINK
 */
but please if anyone is more knowledgeable about licenses correct me if I'm being horribly off! (also don't quote me on this lol I bear no responsibility for anyone who mirrors this in their own derivative work)
3 Views