Skip to content

ReImplement Functional Tests#428

Draft
fdevans wants to merge 10 commits into
mainfrom
grails7-upgrade
Draft

ReImplement Functional Tests#428
fdevans wants to merge 10 commits into
mainfrom
grails7-upgrade

Conversation

@fdevans
Copy link
Copy Markdown
Contributor

@fdevans fdevans commented Apr 7, 2026

No description provided.

fdevans added 10 commits April 6, 2026 21:22
Rundeck 6's AsyncImportService expects explicit directory entries (with trailing /)
in project archives. Without them, directories like "jobs" extract as zero-byte files,
causing "Not a directory" errors during import.

Changes:
- Collect all parent directories from file paths
- Create JarEntry objects with trailing / for each directory
- Write directory entries before file entries, ordered shallow-to-deep
- Normalize paths to use forward slashes

This ensures archives are compatible with both Rundeck 5 and 6 import mechanisms.
@fdevans fdevans added this to the 6.0.0 milestone Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant