Add support for --delete option
Open
Nobody has claimed this yet.
Enhancement
- Dominant language
- JavaScript
- Stars
- 922
- Forks
- 281
- PR merge metrics
- No merged PRs in 30d
Description
I need to replace a file in the tar, and get the desired result (see #149). I would prefer though to delete the file first and then re-append it.
Would you consider adding a tar.delete, as described in https://www.gnu.org/software/tar/manual/html_section/tar_32.html#SEC66 ?
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 by reading the GNU tar --delete documentation linked in the issue and inspect node-tar's existing option handling. Determine the intended tar.delete behavior for replacing an archived file, then add coverage showing that the requested archive entry is removed before re-appending.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100