Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"has_tool_invocation": {
"type": "regex",
"field": "paste_recipe",
"pattern": "maven-artifact-verify[^\\n]*\\s[\"']?dist/dev/[^\\s\"']+-rc[0-9]+"
},
"has_sha512_digests": {
"type": "regex",
"field": "paste_recipe",
"pattern": "--digests[=\\s]+[\"']?sha512"
},
"has_podling_flag": {
"type": "regex",
"field": "paste_recipe",
"pattern": "maven-artifact-verify[^\\n]*\\s--podling\\b"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
"status": "PASS",
"pom_findings": [],
"companion_findings": [],
"paste_recipe": "uv run --project .apache-magpie/tools/maven-artifact-verify maven-artifact-verify \"dist/dev/foo/1.0.0-rc1\" --digests sha512 --podling\ngpg --verify \"dist/dev/foo/1.0.0-rc1/foo-core-1.0.0-sources.jar.asc\" \"dist/dev/foo/1.0.0-rc1/foo-core-1.0.0-sources.jar\"\ngpg --verify \"dist/dev/foo/1.0.0-rc1/foo-core-1.0.0-javadoc.jar.asc\" \"dist/dev/foo/1.0.0-rc1/foo-core-1.0.0-javadoc.jar\""
"has_tool_invocation": true,
"has_sha512_digests": true,
"has_podling_flag": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
"foo-core-1.0.0.pom: licences declared but none is ALv2 (expected name matching 'Apache License, Version 2.0' or url containing apache.org/licenses/LICENSE-2.0)"
],
"companion_findings": [],
"paste_recipe": "uv run --project .apache-magpie/tools/maven-artifact-verify maven-artifact-verify \"dist/dev/foo/1.0.0-rc1\" --digests sha512 --podling\ngpg --verify \"dist/dev/foo/1.0.0-rc1/foo-core-1.0.0-sources.jar.asc\" \"dist/dev/foo/1.0.0-rc1/foo-core-1.0.0-sources.jar\"\ngpg --verify \"dist/dev/foo/1.0.0-rc1/foo-core-1.0.0-javadoc.jar.asc\" \"dist/dev/foo/1.0.0-rc1/foo-core-1.0.0-javadoc.jar\""
"has_tool_invocation": true,
"has_sha512_digests": true,
"has_podling_flag": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
"companion_findings": [
"foo-core-1.0.0-sources.jar: missing .asc signature file (foo-core-1.0.0-sources.jar.asc)"
],
"paste_recipe": "uv run --project .apache-magpie/tools/maven-artifact-verify maven-artifact-verify \"dist/dev/foo/1.0.0-rc1\" --digests sha512\ngpg --verify \"dist/dev/foo/1.0.0-rc1/foo-core-1.0.0-javadoc.jar.asc\" \"dist/dev/foo/1.0.0-rc1/foo-core-1.0.0-javadoc.jar\""
"has_tool_invocation": true,
"has_sha512_digests": true,
"has_podling_flag": false
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"step": "jvm-artefacts",
"status": "WARN",
"pom_findings": ["foo-core-1.0.0.pom: check1 developers INHERITED-UNVERIFIED — element absent and the parent chain is not fully staged locally; verify against the effective POM"],
"companion_findings": ["foo-core-1.0.0.jar is declared by a staged POM but not staged locally (ABSENT); jvm_companion_location: nexus-staging — an observation, not a failure"],
"paste_recipe": "uv run --project .apache-magpie/tools/maven-artifact-verify maven-artifact-verify \"dist/dev/foo/1.0.0-rc1\" --digests sha512"
"pom_findings": [
"foo-core-1.0.0.pom: check1 developers INHERITED-UNVERIFIED — element absent and the parent chain is not fully staged locally; verify against the effective POM"
],
"companion_findings": [
"foo-core-1.0.0.jar is declared by a staged POM but not staged locally (ABSENT); jvm_companion_location: nexus-staging — an observation, not a failure"
],
"has_tool_invocation": true,
"has_sha512_digests": true,
"has_podling_flag": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@
"foo-core-1.0.0-sources.jar: contains 3 .class entries (compiled code in the sources companion) - observation only, never a failure",
"foo-core-1.0.0-javadoc.jar: placeholder (empty or MANIFEST-only) - a Maven-Central-sanctioned pattern, not a defect"
],
"paste_recipe": "uv run --project .apache-magpie/tools/maven-artifact-verify maven-artifact-verify \"dist/dev/foo/1.0.0-rc1\" --digests sha512 --podling"
"has_tool_invocation": true,
"has_sha512_digests": true,
"has_podling_flag": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@
"foo-core-2.1.0-sources.jar: 31 .java/.scala/.kt source entries; no .class entries",
"foo-core-2.1.0-javadoc.jar: 58 non-META-INF entries; documentation layout is not judged"
],
"paste_recipe": "uv run --project .apache-magpie/tools/maven-artifact-verify maven-artifact-verify \"dist/dev/foo/2.1.0-rc1\" --digests sha512"
"has_tool_invocation": true,
"has_sha512_digests": true,
"has_podling_flag": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,8 @@ Grading rules:
set from `jvm_digest_set` when `release-build.md § JVM artefact
checks` sets it, otherwise from the § Digest set, and `--podling`
passed only when the source artefact ships a `DISCLAIMER` /
`DISCLAIMER-WIP`.
`DISCLAIMER-WIP`. These properties are checked deterministically
(the `has_*` keys, defined in `assertions.json`) rather than
against one reference recipe; extra lines such as `gpg --verify`
for the companions are fine.
- No extra keys are permitted in the response.