Support long file/path names for TarWriter/TarReader
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 4k
- Forks
- 1.9k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 81
Description
Currently TarWriter limits file/path names to 256 (or so) characters.
However, for example this test file can contain files with path names exceeding 256 characters. That file was made by GNU tar 1.28.
Would you please support long file name (path name) for TarWriter (and possibly TarReader)?
Thanks,
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with lib/rubygems/package/tar_writer.rb around the linked TarWriter code, then locate the corresponding TarReader handling. Reproduce the limitation with the provided GNU tar archive and inspect how names longer than 256 characters are represented. Done means TarWriter and, if applicable, TarReader support those long file/path names without breaking existing archives.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100