ci: fix plugin bundle missing top-level directory entry #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/bundle-missing-dir-entries"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Root cause of the mmctl "An error occurred extracting the plugin bundle" failure discovered while trying to install this plugin on CT#137 for the first time.
tar --transform rewrote a flat list of already-built paths as if prefixed by com.ncwcom.slash-sip/, but since those inputs were never walked as a real directory, the resulting tarball never got an actual entry for the top-level plugin-id directory (or bare intermediate dirs) -- only entries whose names happened to start with that prefix. Confirmed via Python's tarfile (strict reader) against slash-dispatch-plugin's working bundle for comparison, and confirmed the fix by manually re-packing into a real staged directory and successfully installing on CT#137 (temporary diagnostic asset, removed after testing).
This switches to the same staged-directory tar approach every other Slash plugin already uses.