Open andrehaland opened 3 years ago
I'm not a layer, I'm not sure exactly what the license demands. How would a fix look like?
To me it is enough to indicate the code originates from https://github.com/icza/gox.
How would a fix look like?
As I understand the license you need to add a copyright notice at the top of your source files. So for timex.go, for example, something like:
// Copyright 2021 icza
// Use of this source code is governed by an Apache 2.0
// license that can be found in the LICENSE file.
package timex
...
It looks including it in the header of every source file is not required as long as the complete license is included in the top of the source tree in the LICENSE file. It's just more of a recommendation. If so, I do not wish to modify all files.
According to the Apache 2.0 license:
I want to attribute the work in this repo, but I could not find any such copyright notices in any of the source files. To me it is unclear how the Apache 2.0 License works without copyright notice. Is this something you could fix @icza?
Extra information The "Redistribution" of the Apache 2.0 Licence applies to the "Work", which (as stated above) is indicated by a copyright notice.