Skip to content

Tidy up: sync back outputs from nested directories (jtd2jar.sh) #191

Open

Description

@simbo1905

Sub-issue 12 of 26 from the 2026-11-21 bot-review-comment audit. Parent issue: #179 (Bot review comment tidy up).
Audited origin/main HEAD: 2e5cf37. Audit date: 2026-11-21.

== Finding 12 (verbatim from the audit findings file) ==

  1. PR Issue 148 forward fixes JDK 25 build stage distroless WORKDIR and jdt2jar helper #151 — scripts/jtd2jar.sh output sync misses JARs/sources in nested directories.
    Author: chatgpt-codex-connector[bot], 2026-08-28. Comment: Issue 148 forward fixes JDK 25 build stage distroless WORKDIR and jdt2jar helper #151 (comment)
    Source: scripts/jdt2jar.sh:25. Current: scripts/jtd2jar.sh:25 (rsync -a --include='*.jar' --include='*.java' --exclude='*' "$WORK_DIR/" ./).
    Flagged: "When --output names a nested path such as .tmp/test.jar, the parent .tmp/ directory still matches the final --exclude='*', so rsync never descends to the included files".
    Still applies: unchanged filter set; artifacts written to nested paths (the script's own documented example) are not copied back.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions