[PR #50] Support writing Tar archives (Debian packages) with long file names #205

Closed
opened 2026-01-29 16:31:13 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/quamotion/dotnet-packaging/pull/50

State: closed
Merged: Yes


The file name in the Tar entry header is limited to 100 characters.

When adding a file with a longer file name to a Tar archive, you need to create a new entry with the name ././@LongLink and type L (TarTypeFlag.LongName), which contains the file name in the file contents.

This PR adds support for reading/writing such tar archives.

Fixes #47

**Original Pull Request:** https://github.com/quamotion/dotnet-packaging/pull/50 **State:** closed **Merged:** Yes --- The file name in the Tar entry header is limited to 100 characters. When adding a file with a longer file name to a Tar archive, you need to create a new entry with the name `././@LongLink` and type `L` (`TarTypeFlag.LongName`), which contains the file name in the file contents. This PR adds support for reading/writing such tar archives. Fixes #47
claunia added the pull-request label 2026-01-29 16:31:13 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#205