Skip to content

license.yaml fixes for code introduced related to AWS RDS token based password provider in PR #9518#10885

Merged
jihoonson merged 3 commits intoapache:masterfrom
himanshug:tmp
Mar 10, 2021
Merged

license.yaml fixes for code introduced related to AWS RDS token based password provider in PR #9518#10885
jihoonson merged 3 commits intoapache:masterfrom
himanshug:tmp

Conversation

@himanshug
Copy link
Copy Markdown
Contributor

@himanshug himanshug requested a review from jihoonson February 12, 2021 23:54
Comment thread licenses.yaml
module: server
license_name: Apache License version 2.0
source_paths:
- server/src/main/java/org/apache/druid/metadata/BasicDataSourceExt.java
Copy link
Copy Markdown
Contributor

@jihoonson jihoonson Feb 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add a notice here too? I think the notice of Apache projects should be bubbled up into ours. See https://infra.apache.org/licensing-howto.html for more details. The notice for commons-dbcp can be found in https://github.com/apache/commons-dbcp/blob/master/NOTICE.txt.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated, thanks for the pointers, really appreciate it as I am somewhat of a noob in my understanding of all contents in license file and just getting by with the most powerful tool there is i.e. the copy-and-paste :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's been long to update this source license, the update process was not clear to me as well. I wrote some in #10894. Based on the instructions in that PR, you need to update the LICENSE and NOTICE files for source code packages as well since they are currently managed manually. Also, the CI failure seems legit as the version is missing here.

=== Generating the contents of NOTICE.BINARY file ===

/home/travis/build/apache/druid/distribution/bin/generate-binary-notice.py:60: YAMLLoadWarning: calling yaml.load_all() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  dependencies = list(yaml.load_all(registry_file))

Traceback (most recent call last):
  File "/home/travis/build/apache/druid/distribution/bin/generate-binary-notice.py", line 88, in <module>
    generate_notice(source_notice, dependencies_yaml)
  File "/home/travis/build/apache/druid/distribution/bin/generate-binary-notice.py", line 72, in generate_notice
    print_notice(dependency)
  File "/home/travis/build/apache/druid/distribution/bin/generate-binary-notice.py", line 40, in print_notice
    print_outfile("{} {} {} {}".format(dependencyHeaderLine, dependency['name'], dependency['version'], dependencyHeaderLine))
KeyError: 'version'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the pointers. I think I have updated all things now.

@jihoonson jihoonson added this to the 0.21.0 milestone Feb 13, 2021
Copy link
Copy Markdown
Contributor

@zhangyue19921010 zhangyue19921010 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@clintropolis clintropolis added the Apache Items related to being a part of the ASF label Mar 10, 2021
Copy link
Copy Markdown
Contributor

@jihoonson jihoonson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @himanshug thank you for the fix.

@jihoonson jihoonson merged commit 43638cc into apache:master Mar 10, 2021
@jihoonson jihoonson removed this from the 0.21.0 milestone Jul 14, 2021
@clintropolis clintropolis added this to the 0.22.0 milestone Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Apache Items related to being a part of the ASF

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants