go/bundle includes hidden .git files by default
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.3k
- Forks
- 125
- PR merge metrics
- No merged PRs in 30d
Description
I was packaging an app of mine as a web bundle to test this format https://github.com/gaycodegal/LizardUp/releases/tag/v1.0.0 and found that the web bundle was much larger than I had expected. This turned out to be because I had recently been doing git history with large files, and so my .git folder was larger than the rest of my app. Given many web bundles are likely to just be packaged up github projects, it would probably be wise to not include the .git or any other hidden folders by default, and have these have to be specified manually. Creation of the web bundle was done using the following command:
~/go/bin/gen-bundle -dir LizardUp -baseURL https://gaycodegal.github.io/LizardUp/ -primaryURL https://gaycodegal.github.io/LizardUp/ -o LizardUp.wbn
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 gen-bundle command and its -dir handling, using the example command in the issue to reproduce the bundle contents. Check how .git and other hidden directories are included; done when they are excluded by default while explicitly specified directories can still be packaged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100