mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
Provide slimmer release source tarballs #276
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @felixbuenemann on GitHub (Mar 26, 2019).
Currently to build libbrotli or the brotli cli one has to pull down a huge 23 MB tarball, even though only the build scripts (Makefile etc.) and "c" subdirectory are required for compilation, which account to ~550 KB gzipped.
It would be great if the releases tab could provide downloads for slimmer tarballs that only contain the required files.
I'd be happy to create a PR that adds a make target to create a release tarball.
@eustas commented on GitHub (Jul 17, 2019):
Will try to do that soon.
@eustas commented on GitHub (Jul 17, 2019):
Can't find any filtering setting.
The only option seems to create more artefacts on "before_deploy" stage in travis and publish them.
And the remove "fat" tarballs manually...
@eustas commented on GitHub (May 15, 2020):
It seems there is a solution. There is a speculation that GitHub uses
git archiveand thus we can tune the archive content by hacking.gitattributes. Going to try that.Perhaps will leave only C code, as other languages have standartized package / distribution systems.
@eustas commented on GitHub (May 15, 2020):
Yay, it works. zip file for the next release will be ~525kb =)
@felixbuenemann commented on GitHub (May 15, 2020):
Nice trick!