Skip to content

Commit a43e6cf

Browse files
authored
Fixed copyright to OpenSearch (opensearch-project#1175)
1 parent 91d9922 commit a43e6cf

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

NOTICE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
OpenSearch (https://opensearch.org/)
2-
Copyright 2021 OpenSearch Contributors
2+
Copyright OpenSearch Contributors
33

44
This product includes software developed by
55
Elasticsearch (http://www.elastic.co).

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ This project is licensed under the [Apache v2.0 License](LICENSE.txt).
3434

3535
## Copyright
3636

37-
Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
37+
Copyright OpenSearch Contributors. See [NOTICE](NOTICE.txt) for details.

buildSrc/src/integTest/groovy/org/opensearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Copyright 2009-2018 Acme Coorp"""
108108
result.task(":darwin-tar:checkNotice").outcome == TaskOutcome.FAILED
109109
normalizedOutput(result.output).contains("> expected line [2] in " +
110110
"[./darwin-tar/build/tar-extracted/opensearch-${VersionProperties.getOpenSearch()}/NOTICE.txt] " +
111-
"to be [Copyright 2021 OpenSearch Contributors] but was [Copyright 2009-2018 Acme Coorp]")
111+
"to be [Copyright OpenSearch Contributors] but was [Copyright 2009-2018 Acme Coorp]")
112112
}
113113

114114
void license(File file = file("licenses/APACHE-LICENSE-2.0.txt")) {

buildSrc/src/main/java/org/opensearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private TaskProvider<Task> registerCheckNoticeTask(Project project, TaskProvider
105105
public void execute(Task task) {
106106
final List<String> noticeLines = Arrays.asList(
107107
"OpenSearch (https://opensearch.org/)",
108-
"Copyright 2021 OpenSearch Contributors"
108+
"Copyright OpenSearch Contributors"
109109
);
110110
final Path noticePath = checkExtraction.get()
111111
.getDestinationDir()

distribution/packages/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ subprojects {
500500
(project.name.contains('deb') && dpkgExists.call(it)) || (project.name.contains('rpm') && rpmExists.call(it))
501501
}
502502
doLast {
503-
final List<String> noticeLines = Arrays.asList("OpenSearch (https://opensearch.org/)", "Copyright 2021 OpenSearch Contributors")
503+
final List<String> noticeLines = Arrays.asList("OpenSearch (https://opensearch.org/)", "Copyright OpenSearch Contributors")
504504
final Path noticePath = packageExtractionDir.toPath().resolve("usr/share/opensearch/NOTICE.txt")
505505
assertLinesInFile(noticePath, noticeLines)
506506
}

0 commit comments

Comments
 (0)