-
Notifications
You must be signed in to change notification settings - Fork 41
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
chore: fix StringEncoding license & add multi license check action #227
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
@@ -1,19 +1,3 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @WillemJiang can we keep both of the two licenses in a source file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we make some big changes to the code?
If not,we cannot add copyright information to this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, about 60% of our own code is in this file.
The origin file is from:
https://github.com/JanusGraph/janusgraph/blob/83c93fe717453ec31086ca1a208217a747ebd1a8/janusgraph-core/src/main/java/org/janusgraph/util/encoding/StringEncoding.java#L26
@@ -1,19 +1,3 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we make some big changes to the code?
If not,we cannot add copyright information to this file.
NOTICE
Outdated
Apache Cassandra | ||
Copyright 2022 The Apache Software Foundation | ||
|
||
cassandra-hadoop-util/src/main/java/org/apache/cassandra/db/SystemKeyspace.java |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to put this information into the License file instead of the NOTICE file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These information in the NOTICE are copy from janusgraph NOTICE.txt.
It seems that the upstream NOTICE is not standardized, how should we deal with this situation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to copy all these license-related information from janusgraph NOTICE file.
Another question is: Now we only include it in the source package's |
Yes, we need to include the source code 'LICENSE' information in the binary release 'LICENSE'. |
The following components are provided under the Apache License. See project link for details. | ||
The text of each license is the standard Apache 2.0 license. | ||
|
||
computer-core/src/main/java/org/apache/hugegraph/computer/core/util/StringEncoding.java files from https://github.com/JanusGraph |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@javeme maybe this file should move to commons, so that we don't need to import the same refer in multi repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's ok
Third party Go license | ||
======================================================================== | ||
|
||
The following components are provided under The Go licens. | ||
The following components are provided under The Go license. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@simon824 I correct the typo, ensure is this as expected?
@@ -44,7 +28,6 @@ | |||
|
|||
/** | |||
* @author Matthias Broecheler (me@matthiasb.com) | |||
* @author HugeGraph Authors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure whether we can add a new author, so temporarily remove it
Restore it after confirmation maybe
The following components are provided under the Apache License. See project link for details. | ||
The text of each license is the standard Apache 2.0 license. | ||
|
||
computer-core/src/main/java/org/apache/hugegraph/computer/core/util/StringEncoding.java files from https://github.com/JanusGraph |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's ok
@@ -63,7 +46,7 @@ public final class StringEncoding { | |||
private static final Base64.Encoder BASE64_ENCODER = Base64.getEncoder(); | |||
private static final Base64.Decoder BASE64_DECODER = Base64.getDecoder(); | |||
|
|||
// Similar to {@link StringSerializer} | |||
/** Similar to {@link StringSerializer} */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/*
is ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/*
is ok?
shouldn't use /*
for class property, refer here
follow the apache/incubator-hugegraph#1632 (comment)