From d1a4fc7cfa0ee950f11841542194a47ef300b652 Mon Sep 17 00:00:00 2001 From: Vladimir Sharapov Date: Thu, 10 Aug 2023 17:12:14 -0400 Subject: [PATCH 1/8] Added functionality --- src/main/c/analyze-blame.c | 4 ++++ src/main/java/ReactorBdioDocument.java | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/src/main/c/analyze-blame.c b/src/main/c/analyze-blame.c index 6e7c19b..7e6c671 100644 --- a/src/main/c/analyze-blame.c +++ b/src/main/c/analyze-blame.c @@ -48,6 +48,10 @@ int verb_blame(int argc, char *argv[], void *userdata) { if (r < 0) return r; + r = table_set_summary(table, 0, true); + if (r < 0) + return r; + for (UnitTimes *u = times; u->has_data; u++) { if (u->time <= 0) continue; diff --git a/src/main/java/ReactorBdioDocument.java b/src/main/java/ReactorBdioDocument.java index b15625d..75a74ae 100644 --- a/src/main/java/ReactorBdioDocument.java +++ b/src/main/java/ReactorBdioDocument.java @@ -58,6 +58,19 @@ public Flux metadata(Publisher inputs) { .reduce(new BdioMetadata(), BdioMetadata::merge) .flux(); } + + @Override + public Flux> frame(Object frame) { + return identity().compose(inputs -> inputs.flatMap(input -> { + try { + // TODO The RxJava implementation has multiple workarounds, why are they not here? + return Flux.just(JsonLdProcessor.frame(input, frame, options)); + } catch (JsonLdError e) { + return Flux.error(e); + } + })); + } + } From e4e5ed79875b4a2f6d14d8c213e88675b762fb57 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 10 Aug 2023 21:55:05 +0000 Subject: [PATCH 2/8] Adding license findings via GitHub Actions --- ...main_c_analyze-blame-snippet-analysys.json | 67 ++++++++++++++ ..._ReactorBdioDocument-snippet-analysys.json | 90 +++++++++++++++++++ 2 files changed, 157 insertions(+) create mode 100644 .snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json create mode 100644 .snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json diff --git a/.snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json b/.snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json new file mode 100644 index 0000000..ec3f2d1 --- /dev/null +++ b/.snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json @@ -0,0 +1,67 @@ +{ + "snippetMatches": { + "RECIPROCAL": [ + { + "projectName": "systemd", + "releaseVersion": "251-rc2", + "licenseDefinition": { + "name": "GNU General Public License v2.0 only", + "spdxId": "GPL-2.0", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "GNU General Public License v2.0 only" + }, + "matchedFilePath": "/systemd-e654d4316c19bb09c397d0a36c7692b4a1944887/src/analyze/analyze-blame.c", + "regions": { + "sourceStartLines": [ + 1 + ], + "sourceEndLines": [ + 60 + ], + "matchedStartLines": [ + 1 + ], + "matchedEndLines": [ + 56 + ] + } + } + ], + "WEAK_RECIPROCAL": [ + { + "projectName": "systemd", + "releaseVersion": "251~rc1", + "licenseDefinition": { + "name": "GNU Lesser General Public License v2.1 or later", + "spdxId": "LGPL-2.1+", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "GNU Lesser General Public License v2.1 or later" + }, + "matchedFilePath": "/systemd-251~rc1/src/analyze/analyze-blame.c", + "regions": { + "sourceStartLines": [ + 1 + ], + "sourceEndLines": [ + 60 + ], + "matchedStartLines": [ + 1 + ], + "matchedEndLines": [ + 56 + ] + } + } + ] + }, + "_meta": { + "href": "https://snippet-matching-service.saas-staging.blackduck.com/api/snippet-matching", + "links": [ + { + "rel": "licenses-description", + "href": "https://www.synopsys.com/glossary/what-are-open-source-licenses.html" + } + ] + } +} diff --git a/.snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json b/.snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json new file mode 100644 index 0000000..fc02e1a --- /dev/null +++ b/.snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json @@ -0,0 +1,90 @@ +{ + "snippetMatches": { + "PERMISSIVE": [ + { + "projectName": "blackducksoftware/bdio", + "releaseVersion": "3.0.0-beta.15", + "licenseDefinition": { + "name": "Apache License 2.0", + "spdxId": "Apache-2.0", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "Apache License 2.0" + }, + "matchedFilePath": "/bdio-904f601dc79971c048fdd69539b4c9c3ec51994b/bdio-reactor/src/main/java/com/blackducksoftware/bdio2/reactor/ReactorBdioDocument.java", + "regions": { + "sourceStartLines": [ + 1 + ], + "sourceEndLines": [ + 57 + ], + "matchedStartLines": [ + 16 + ], + "matchedEndLines": [ + 77 + ] + } + }, + { + "projectName": "blackducksoftware/bdio", + "releaseVersion": "3.0.0-beta.2", + "licenseDefinition": { + "name": "Apache License 2.0", + "spdxId": "Apache-2.0", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "Apache License 2.0" + }, + "matchedFilePath": "/bdio-6aab230f0f00bcb793fd5fe46690af686fb08683/bdio-reactor/src/main/java/com/blackducksoftware/bdio2/reactor/ReactorBdioDocument.java", + "regions": { + "sourceStartLines": [ + 1 + ], + "sourceEndLines": [ + 57 + ], + "matchedStartLines": [ + 16 + ], + "matchedEndLines": [ + 77 + ] + } + }, + { + "projectName": "blackducksoftware/bdio", + "releaseVersion": "3.0.0-beta.42", + "licenseDefinition": { + "name": "Apache License 2.0", + "spdxId": "Apache-2.0", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "Apache License 2.0" + }, + "matchedFilePath": "/bdio-c04c78cdab6572729f90046169fa0a2e83e12dca/bdio-reactor/src/main/java/com/blackducksoftware/bdio2/reactor/ReactorBdioDocument.java", + "regions": { + "sourceStartLines": [ + 1 + ], + "sourceEndLines": [ + 57 + ], + "matchedStartLines": [ + 16 + ], + "matchedEndLines": [ + 77 + ] + } + } + ] + }, + "_meta": { + "href": "https://snippet-matching-service.saas-staging.blackduck.com/api/snippet-matching", + "links": [ + { + "rel": "licenses-description", + "href": "https://www.synopsys.com/glossary/what-are-open-source-licenses.html" + } + ] + } +} From 53df00dd84d2508e4caac08beab06f9ea61b55e7 Mon Sep 17 00:00:00 2001 From: Vladimir Sharapov Date: Fri, 11 Aug 2023 09:54:48 -0400 Subject: [PATCH 3/8] Reset --- ...main_c_analyze-blame-snippet-analysys.json | 67 -------------- ..._ReactorBdioDocument-snippet-analysys.json | 90 ------------------- 2 files changed, 157 deletions(-) delete mode 100644 .snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json delete mode 100644 .snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json diff --git a/.snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json b/.snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json deleted file mode 100644 index ec3f2d1..0000000 --- a/.snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "snippetMatches": { - "RECIPROCAL": [ - { - "projectName": "systemd", - "releaseVersion": "251-rc2", - "licenseDefinition": { - "name": "GNU General Public License v2.0 only", - "spdxId": "GPL-2.0", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "GNU General Public License v2.0 only" - }, - "matchedFilePath": "/systemd-e654d4316c19bb09c397d0a36c7692b4a1944887/src/analyze/analyze-blame.c", - "regions": { - "sourceStartLines": [ - 1 - ], - "sourceEndLines": [ - 60 - ], - "matchedStartLines": [ - 1 - ], - "matchedEndLines": [ - 56 - ] - } - } - ], - "WEAK_RECIPROCAL": [ - { - "projectName": "systemd", - "releaseVersion": "251~rc1", - "licenseDefinition": { - "name": "GNU Lesser General Public License v2.1 or later", - "spdxId": "LGPL-2.1+", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "GNU Lesser General Public License v2.1 or later" - }, - "matchedFilePath": "/systemd-251~rc1/src/analyze/analyze-blame.c", - "regions": { - "sourceStartLines": [ - 1 - ], - "sourceEndLines": [ - 60 - ], - "matchedStartLines": [ - 1 - ], - "matchedEndLines": [ - 56 - ] - } - } - ] - }, - "_meta": { - "href": "https://snippet-matching-service.saas-staging.blackduck.com/api/snippet-matching", - "links": [ - { - "rel": "licenses-description", - "href": "https://www.synopsys.com/glossary/what-are-open-source-licenses.html" - } - ] - } -} diff --git a/.snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json b/.snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json deleted file mode 100644 index fc02e1a..0000000 --- a/.snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "snippetMatches": { - "PERMISSIVE": [ - { - "projectName": "blackducksoftware/bdio", - "releaseVersion": "3.0.0-beta.15", - "licenseDefinition": { - "name": "Apache License 2.0", - "spdxId": "Apache-2.0", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "Apache License 2.0" - }, - "matchedFilePath": "/bdio-904f601dc79971c048fdd69539b4c9c3ec51994b/bdio-reactor/src/main/java/com/blackducksoftware/bdio2/reactor/ReactorBdioDocument.java", - "regions": { - "sourceStartLines": [ - 1 - ], - "sourceEndLines": [ - 57 - ], - "matchedStartLines": [ - 16 - ], - "matchedEndLines": [ - 77 - ] - } - }, - { - "projectName": "blackducksoftware/bdio", - "releaseVersion": "3.0.0-beta.2", - "licenseDefinition": { - "name": "Apache License 2.0", - "spdxId": "Apache-2.0", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "Apache License 2.0" - }, - "matchedFilePath": "/bdio-6aab230f0f00bcb793fd5fe46690af686fb08683/bdio-reactor/src/main/java/com/blackducksoftware/bdio2/reactor/ReactorBdioDocument.java", - "regions": { - "sourceStartLines": [ - 1 - ], - "sourceEndLines": [ - 57 - ], - "matchedStartLines": [ - 16 - ], - "matchedEndLines": [ - 77 - ] - } - }, - { - "projectName": "blackducksoftware/bdio", - "releaseVersion": "3.0.0-beta.42", - "licenseDefinition": { - "name": "Apache License 2.0", - "spdxId": "Apache-2.0", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "Apache License 2.0" - }, - "matchedFilePath": "/bdio-c04c78cdab6572729f90046169fa0a2e83e12dca/bdio-reactor/src/main/java/com/blackducksoftware/bdio2/reactor/ReactorBdioDocument.java", - "regions": { - "sourceStartLines": [ - 1 - ], - "sourceEndLines": [ - 57 - ], - "matchedStartLines": [ - 16 - ], - "matchedEndLines": [ - 77 - ] - } - } - ] - }, - "_meta": { - "href": "https://snippet-matching-service.saas-staging.blackduck.com/api/snippet-matching", - "links": [ - { - "rel": "licenses-description", - "href": "https://www.synopsys.com/glossary/what-are-open-source-licenses.html" - } - ] - } -} From d80eecaefaadded925d4b6d4b99c8dc7c9ca83eb Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 11 Aug 2023 14:08:25 +0000 Subject: [PATCH 4/8] Adding license findings via GitHub Actions --- ...main_c_analyze-blame-snippet-analysys.json | 67 ++++++++++++++ ..._ReactorBdioDocument-snippet-analysys.json | 90 +++++++++++++++++++ 2 files changed, 157 insertions(+) create mode 100644 .snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json create mode 100644 .snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json diff --git a/.snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json b/.snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json new file mode 100644 index 0000000..ec3f2d1 --- /dev/null +++ b/.snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json @@ -0,0 +1,67 @@ +{ + "snippetMatches": { + "RECIPROCAL": [ + { + "projectName": "systemd", + "releaseVersion": "251-rc2", + "licenseDefinition": { + "name": "GNU General Public License v2.0 only", + "spdxId": "GPL-2.0", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "GNU General Public License v2.0 only" + }, + "matchedFilePath": "/systemd-e654d4316c19bb09c397d0a36c7692b4a1944887/src/analyze/analyze-blame.c", + "regions": { + "sourceStartLines": [ + 1 + ], + "sourceEndLines": [ + 60 + ], + "matchedStartLines": [ + 1 + ], + "matchedEndLines": [ + 56 + ] + } + } + ], + "WEAK_RECIPROCAL": [ + { + "projectName": "systemd", + "releaseVersion": "251~rc1", + "licenseDefinition": { + "name": "GNU Lesser General Public License v2.1 or later", + "spdxId": "LGPL-2.1+", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "GNU Lesser General Public License v2.1 or later" + }, + "matchedFilePath": "/systemd-251~rc1/src/analyze/analyze-blame.c", + "regions": { + "sourceStartLines": [ + 1 + ], + "sourceEndLines": [ + 60 + ], + "matchedStartLines": [ + 1 + ], + "matchedEndLines": [ + 56 + ] + } + } + ] + }, + "_meta": { + "href": "https://snippet-matching-service.saas-staging.blackduck.com/api/snippet-matching", + "links": [ + { + "rel": "licenses-description", + "href": "https://www.synopsys.com/glossary/what-are-open-source-licenses.html" + } + ] + } +} diff --git a/.snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json b/.snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json new file mode 100644 index 0000000..fc02e1a --- /dev/null +++ b/.snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json @@ -0,0 +1,90 @@ +{ + "snippetMatches": { + "PERMISSIVE": [ + { + "projectName": "blackducksoftware/bdio", + "releaseVersion": "3.0.0-beta.15", + "licenseDefinition": { + "name": "Apache License 2.0", + "spdxId": "Apache-2.0", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "Apache License 2.0" + }, + "matchedFilePath": "/bdio-904f601dc79971c048fdd69539b4c9c3ec51994b/bdio-reactor/src/main/java/com/blackducksoftware/bdio2/reactor/ReactorBdioDocument.java", + "regions": { + "sourceStartLines": [ + 1 + ], + "sourceEndLines": [ + 57 + ], + "matchedStartLines": [ + 16 + ], + "matchedEndLines": [ + 77 + ] + } + }, + { + "projectName": "blackducksoftware/bdio", + "releaseVersion": "3.0.0-beta.2", + "licenseDefinition": { + "name": "Apache License 2.0", + "spdxId": "Apache-2.0", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "Apache License 2.0" + }, + "matchedFilePath": "/bdio-6aab230f0f00bcb793fd5fe46690af686fb08683/bdio-reactor/src/main/java/com/blackducksoftware/bdio2/reactor/ReactorBdioDocument.java", + "regions": { + "sourceStartLines": [ + 1 + ], + "sourceEndLines": [ + 57 + ], + "matchedStartLines": [ + 16 + ], + "matchedEndLines": [ + 77 + ] + } + }, + { + "projectName": "blackducksoftware/bdio", + "releaseVersion": "3.0.0-beta.42", + "licenseDefinition": { + "name": "Apache License 2.0", + "spdxId": "Apache-2.0", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "Apache License 2.0" + }, + "matchedFilePath": "/bdio-c04c78cdab6572729f90046169fa0a2e83e12dca/bdio-reactor/src/main/java/com/blackducksoftware/bdio2/reactor/ReactorBdioDocument.java", + "regions": { + "sourceStartLines": [ + 1 + ], + "sourceEndLines": [ + 57 + ], + "matchedStartLines": [ + 16 + ], + "matchedEndLines": [ + 77 + ] + } + } + ] + }, + "_meta": { + "href": "https://snippet-matching-service.saas-staging.blackduck.com/api/snippet-matching", + "links": [ + { + "rel": "licenses-description", + "href": "https://www.synopsys.com/glossary/what-are-open-source-licenses.html" + } + ] + } +} From 12eb7153f1d48132c881f8d87e8ca5999924019d Mon Sep 17 00:00:00 2001 From: Vladimir Sharapov Date: Fri, 11 Aug 2023 12:44:51 -0400 Subject: [PATCH 5/8] Added functionality --- ...main_c_analyze-blame-snippet-analysys.json | 67 -------------- ..._ReactorBdioDocument-snippet-analysys.json | 90 ------------------- 2 files changed, 157 deletions(-) delete mode 100644 .snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json delete mode 100644 .snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json diff --git a/.snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json b/.snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json deleted file mode 100644 index ec3f2d1..0000000 --- a/.snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "snippetMatches": { - "RECIPROCAL": [ - { - "projectName": "systemd", - "releaseVersion": "251-rc2", - "licenseDefinition": { - "name": "GNU General Public License v2.0 only", - "spdxId": "GPL-2.0", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "GNU General Public License v2.0 only" - }, - "matchedFilePath": "/systemd-e654d4316c19bb09c397d0a36c7692b4a1944887/src/analyze/analyze-blame.c", - "regions": { - "sourceStartLines": [ - 1 - ], - "sourceEndLines": [ - 60 - ], - "matchedStartLines": [ - 1 - ], - "matchedEndLines": [ - 56 - ] - } - } - ], - "WEAK_RECIPROCAL": [ - { - "projectName": "systemd", - "releaseVersion": "251~rc1", - "licenseDefinition": { - "name": "GNU Lesser General Public License v2.1 or later", - "spdxId": "LGPL-2.1+", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "GNU Lesser General Public License v2.1 or later" - }, - "matchedFilePath": "/systemd-251~rc1/src/analyze/analyze-blame.c", - "regions": { - "sourceStartLines": [ - 1 - ], - "sourceEndLines": [ - 60 - ], - "matchedStartLines": [ - 1 - ], - "matchedEndLines": [ - 56 - ] - } - } - ] - }, - "_meta": { - "href": "https://snippet-matching-service.saas-staging.blackduck.com/api/snippet-matching", - "links": [ - { - "rel": "licenses-description", - "href": "https://www.synopsys.com/glossary/what-are-open-source-licenses.html" - } - ] - } -} diff --git a/.snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json b/.snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json deleted file mode 100644 index fc02e1a..0000000 --- a/.snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "snippetMatches": { - "PERMISSIVE": [ - { - "projectName": "blackducksoftware/bdio", - "releaseVersion": "3.0.0-beta.15", - "licenseDefinition": { - "name": "Apache License 2.0", - "spdxId": "Apache-2.0", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "Apache License 2.0" - }, - "matchedFilePath": "/bdio-904f601dc79971c048fdd69539b4c9c3ec51994b/bdio-reactor/src/main/java/com/blackducksoftware/bdio2/reactor/ReactorBdioDocument.java", - "regions": { - "sourceStartLines": [ - 1 - ], - "sourceEndLines": [ - 57 - ], - "matchedStartLines": [ - 16 - ], - "matchedEndLines": [ - 77 - ] - } - }, - { - "projectName": "blackducksoftware/bdio", - "releaseVersion": "3.0.0-beta.2", - "licenseDefinition": { - "name": "Apache License 2.0", - "spdxId": "Apache-2.0", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "Apache License 2.0" - }, - "matchedFilePath": "/bdio-6aab230f0f00bcb793fd5fe46690af686fb08683/bdio-reactor/src/main/java/com/blackducksoftware/bdio2/reactor/ReactorBdioDocument.java", - "regions": { - "sourceStartLines": [ - 1 - ], - "sourceEndLines": [ - 57 - ], - "matchedStartLines": [ - 16 - ], - "matchedEndLines": [ - 77 - ] - } - }, - { - "projectName": "blackducksoftware/bdio", - "releaseVersion": "3.0.0-beta.42", - "licenseDefinition": { - "name": "Apache License 2.0", - "spdxId": "Apache-2.0", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "Apache License 2.0" - }, - "matchedFilePath": "/bdio-c04c78cdab6572729f90046169fa0a2e83e12dca/bdio-reactor/src/main/java/com/blackducksoftware/bdio2/reactor/ReactorBdioDocument.java", - "regions": { - "sourceStartLines": [ - 1 - ], - "sourceEndLines": [ - 57 - ], - "matchedStartLines": [ - 16 - ], - "matchedEndLines": [ - 77 - ] - } - } - ] - }, - "_meta": { - "href": "https://snippet-matching-service.saas-staging.blackduck.com/api/snippet-matching", - "links": [ - { - "rel": "licenses-description", - "href": "https://www.synopsys.com/glossary/what-are-open-source-licenses.html" - } - ] - } -} From ced9030452a3ab4e15d4d1b02bb7e13dec3b77bf Mon Sep 17 00:00:00 2001 From: Vladimir Sharapov Date: Fri, 11 Aug 2023 12:52:14 -0400 Subject: [PATCH 6/8] Added functionality --- src/main/java/ReactorBdioDocument.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/ReactorBdioDocument.java b/src/main/java/ReactorBdioDocument.java index 75a74ae..55495fd 100644 --- a/src/main/java/ReactorBdioDocument.java +++ b/src/main/java/ReactorBdioDocument.java @@ -16,6 +16,7 @@ import reactor.core.publisher.EmitterProcessor; import reactor.core.publisher.Flux; + public class ReactorBdioDocument extends BdioDocument { public ReactorBdioDocument(BdioContext context) { From 203c8ba455f1247f4a6073f362ff27100d5cf384 Mon Sep 17 00:00:00 2001 From: Vladimir Sharapov Date: Fri, 11 Aug 2023 12:53:40 -0400 Subject: [PATCH 7/8] Added functionality --- src/main/java/ReactorBdioDocument.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/ReactorBdioDocument.java b/src/main/java/ReactorBdioDocument.java index 55495fd..75a74ae 100644 --- a/src/main/java/ReactorBdioDocument.java +++ b/src/main/java/ReactorBdioDocument.java @@ -16,7 +16,6 @@ import reactor.core.publisher.EmitterProcessor; import reactor.core.publisher.Flux; - public class ReactorBdioDocument extends BdioDocument { public ReactorBdioDocument(BdioContext context) { From e144310f3083454472f94ca39750e3a845dd3ed8 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 14 Aug 2023 16:56:45 +0000 Subject: [PATCH 8/8] Adding license findings via GitHub Actions --- ...main_c_analyze-blame-snippet-analysys.json | 67 ++++++++++++++ ..._ReactorBdioDocument-snippet-analysys.json | 90 +++++++++++++++++++ 2 files changed, 157 insertions(+) create mode 100644 .snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json create mode 100644 .snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json diff --git a/.snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json b/.snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json new file mode 100644 index 0000000..ec3f2d1 --- /dev/null +++ b/.snippet-licenses/src_main_c_analyze-blame-snippet-analysys.json @@ -0,0 +1,67 @@ +{ + "snippetMatches": { + "RECIPROCAL": [ + { + "projectName": "systemd", + "releaseVersion": "251-rc2", + "licenseDefinition": { + "name": "GNU General Public License v2.0 only", + "spdxId": "GPL-2.0", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "GNU General Public License v2.0 only" + }, + "matchedFilePath": "/systemd-e654d4316c19bb09c397d0a36c7692b4a1944887/src/analyze/analyze-blame.c", + "regions": { + "sourceStartLines": [ + 1 + ], + "sourceEndLines": [ + 60 + ], + "matchedStartLines": [ + 1 + ], + "matchedEndLines": [ + 56 + ] + } + } + ], + "WEAK_RECIPROCAL": [ + { + "projectName": "systemd", + "releaseVersion": "251~rc1", + "licenseDefinition": { + "name": "GNU Lesser General Public License v2.1 or later", + "spdxId": "LGPL-2.1+", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "GNU Lesser General Public License v2.1 or later" + }, + "matchedFilePath": "/systemd-251~rc1/src/analyze/analyze-blame.c", + "regions": { + "sourceStartLines": [ + 1 + ], + "sourceEndLines": [ + 60 + ], + "matchedStartLines": [ + 1 + ], + "matchedEndLines": [ + 56 + ] + } + } + ] + }, + "_meta": { + "href": "https://snippet-matching-service.saas-staging.blackduck.com/api/snippet-matching", + "links": [ + { + "rel": "licenses-description", + "href": "https://www.synopsys.com/glossary/what-are-open-source-licenses.html" + } + ] + } +} diff --git a/.snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json b/.snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json new file mode 100644 index 0000000..fc02e1a --- /dev/null +++ b/.snippet-licenses/src_main_java_ReactorBdioDocument-snippet-analysys.json @@ -0,0 +1,90 @@ +{ + "snippetMatches": { + "PERMISSIVE": [ + { + "projectName": "blackducksoftware/bdio", + "releaseVersion": "3.0.0-beta.15", + "licenseDefinition": { + "name": "Apache License 2.0", + "spdxId": "Apache-2.0", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "Apache License 2.0" + }, + "matchedFilePath": "/bdio-904f601dc79971c048fdd69539b4c9c3ec51994b/bdio-reactor/src/main/java/com/blackducksoftware/bdio2/reactor/ReactorBdioDocument.java", + "regions": { + "sourceStartLines": [ + 1 + ], + "sourceEndLines": [ + 57 + ], + "matchedStartLines": [ + 16 + ], + "matchedEndLines": [ + 77 + ] + } + }, + { + "projectName": "blackducksoftware/bdio", + "releaseVersion": "3.0.0-beta.2", + "licenseDefinition": { + "name": "Apache License 2.0", + "spdxId": "Apache-2.0", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "Apache License 2.0" + }, + "matchedFilePath": "/bdio-6aab230f0f00bcb793fd5fe46690af686fb08683/bdio-reactor/src/main/java/com/blackducksoftware/bdio2/reactor/ReactorBdioDocument.java", + "regions": { + "sourceStartLines": [ + 1 + ], + "sourceEndLines": [ + 57 + ], + "matchedStartLines": [ + 16 + ], + "matchedEndLines": [ + 77 + ] + } + }, + { + "projectName": "blackducksoftware/bdio", + "releaseVersion": "3.0.0-beta.42", + "licenseDefinition": { + "name": "Apache License 2.0", + "spdxId": "Apache-2.0", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "Apache License 2.0" + }, + "matchedFilePath": "/bdio-c04c78cdab6572729f90046169fa0a2e83e12dca/bdio-reactor/src/main/java/com/blackducksoftware/bdio2/reactor/ReactorBdioDocument.java", + "regions": { + "sourceStartLines": [ + 1 + ], + "sourceEndLines": [ + 57 + ], + "matchedStartLines": [ + 16 + ], + "matchedEndLines": [ + 77 + ] + } + } + ] + }, + "_meta": { + "href": "https://snippet-matching-service.saas-staging.blackduck.com/api/snippet-matching", + "links": [ + { + "rel": "licenses-description", + "href": "https://www.synopsys.com/glossary/what-are-open-source-licenses.html" + } + ] + } +}