[
https://issues.apache.org/jira/browse/CAMEL-25399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18127692#comment-18127692
]
Claus Ibsen commented on CAMEL-25399:
-------------------------------------
Pull request: https://github.com/apache/camel/pull/27932 — the remaining
commands with a wrong exit code, a silent fallback or a misleading error:
export no longer cleans the current directory given as ./ or $PWD, sbom/update
run/version list/validate/kubernetes logs and run exit with the right code,
harden does not fall back to a local Ollama, and doc works offline for
components.
_Claude Code on behalf of davsclaus_
> camel-jbang - Remaining command exit code and error fixes
> ---------------------------------------------------------
>
> Key: CAMEL-25399
> URL: https://issues.apache.org/jira/browse/CAMEL-25399
> Project: Camel
> Issue Type: Sub-task
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.24.0
>
>
> * -{{doctor}}: exit 1 if any check fails (0 with only warnings).- Done in
> CAMEL-25392.
> * {{harden --url}} unreachable: exit 1, no silent fallback to local Ollama.
> * {{export --dir}}: compare normalised absolute paths so {{./}} or {{$PWD}}
> is treated like {{.}} (not cleaned without {{--clean-dir}}).
> * {{doc <component>}} works offline (look up the component catalog before
> downloading the Kamelet catalog); {{catalog kamelet}} honours {{--repos}};
> {{--sort=description}} NPE.
> * {{version get}} with only kamelets-version; {{version set --reset}} keeps
> kamelets-version; {{version list}} download failure must not exit 0.
> * {{sbom}} invalid {{--sbom-format}} exits 0; Maven timeout without message.
> * {{update run --upgradeTimeout}} ineffective (stdout read before waitFor).
> * {{debug}} exits 255 on normal end; Maven build exit not checked.
> * {{route-parser}} exit 255; {{generate schema}} ad hoc 2/3/4 codes.
> * {{validate}} with 0 files checked -> exit 3; plugins print usage to the
> printer, not {{System.out}}.
> * {{kubernetes logs}} always 0; Maven output discarded unless {{--verbose}};
> hardcoded 10 min pod wait.
> * {{--jvm-args}} split on whitespace breaks quoted values.
> _Claude Code on behalf of davsclaus (Claus Ibsen)_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)