← Back to issue list

Strip common path prefixes from linkname as well as name when extracting a tarfile

View original Github issue

Metadata

Project
snapcraft
Number
#688
Type
pull request
State
merged
Author
mhall119
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #688 as commit 9b240efe3, stripping common prefixes from both tar member names and linknames so extracted hardlinks resolve correctly.

Resolution: closed resolved

Reason: PR canonical/snapcraft#688 was merged as commit 9b240efe3. It applies common-prefix stripping to tar linknames as well as names, preserving hardlink resolution during extraction.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Stripping common path prefixes from the member name breaks hardlink name resolution unless you perform the same operation on the member linknames

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #688 as commit 9b240efe3, stripping common prefixes from both tar member names and linknames so extracted hardlinks resolve correctly.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#688 (commit 9b240efe3), stripping common prefixes from tar linknames as well as names so hardlinks resolve correctly.
qwen/qwen3.6-35b-a3b — — Merged. Applies common path prefix stripping to tarfile linknames alongside member names to correctly resolve hardlinks. Approved after initial integration test failures were addressed.
qwen3.6-35b-a3b-mtp-q6 — — Merged after initial integration test failures with nodejs and rust plugins were addressed. The update fixes hardlink resolution by stripping common path prefixes from tarfile member linknames alongside member names.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.