apache / apache/jena

shacl validate exit code

Open
#1,790 3 comments 0 reactions 0 assignees View on GitHub
enhancement SHACL
Dominant language
Java
Stars
1.4k
Forks
712
Avg merge
15h 41m
Merged PRs (30d)
53

Description

### Version

4.7.0

### Feature

`shacl validate` currently returns 0 exit code even when there are violations. Can this be changed to 1?

### Are you interested in contributing a solution yourself?

Perhaps?

Contributor guide

Open the contributing guide

Research direction

Start with the `shacl validate` command entry point and trace how validation results become the process exit code. Reproduce the 4.7.0 behavior with data containing violations, then verify that violations return 1 while a successful validation retains its existing exit code.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.