Support different compression format of packages
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 466
- Forks
- 338
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 8
Description
Feature Request
Describe the feature you'd like:
tiup cluster patch now only accepts a .tar.gz archive. I would like it could accept something like .tar.lz4, .tar.zstd or just .tar.
Why the featue is needed:
Gzip is an obsolete compression algorithm. Waiting for gzipping my binary is painful...
It is much slower than new competitors like lz4 and zstd. And sometimes I don't care about the network bandwidth, so a vanilla.tar is good to me.
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 at the tiup cluster patch command and trace where package archives are validated and extracted. Check how .tar.gz is handled, then define completion as accepting .tar.lz4, .tar.zstd, and uncompressed .tar archives with appropriate coverage for each format.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100