Decrease installation size
See original GitHub issueIs this feature request related to a new rule or cfn-lint capabilities?
No response
Describe the feature you’d like to request
I tried running cfn-lint with pre-commit on its CI service, pre-commit.ci. I got this error:
clone of https://github.com/aws-cloudformation/cfn-lint@v0.66.1 exceeds tier max size 100MiB: 142.1MiB
Oh no.
Describe the solution you’d like
I’d like the repo to be smaller, similar to the motivations in #2368.
The src/cfnlint/data/CloudSpecs
directory is huge, as I think you’re aware. Gzipping it takes it from 141MB to 8.5MB. The decompress time on read is probably worth it. Also most users will only need the files from a couple of regions.
This will also save developer machines’ disk space, where there may be several cfn-lint versions installed, between several projects.
Additional context
I suggested similar to botocore: https://github.com/boto/botocore/issues/2365
Is this something that you’d be interested in working on?
- 👋 I may be able to implement this feature request
Would this feature include a breaking change?
- ⚠️ This feature might incur a breaking change
Issue Analytics
- State:
- Created a year ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Any way to reduce install size? - Microsoft Community
I've installed the OS from an ISO, and it appears to be taking up about 15GB. There seem to be a lot of...
Read more >How to reduce the size of Windows 10's footprint on your PC
Type the following command to reduce the size of Windows 10 and apps and press Enter: Compact.exe /CompactOS:always. Once you completed these ...
Read more >How to Reduce Windows Footprint on Devices with Minimal ...
How to Reduce Windows Footprint on Devices with Minimal Storage Space · 1. Disable hibernation. · 2. Disable virtual memory. · 3. Compress...
Read more >Step-by-Step Guide to Reducing Windows 10 On-Disk Footprint
Windows 10 has a file size of 15 GB when first installed, which can be reduced by disabling hibernation, uninstalling default apps and ......
Read more >How to Reduce Windows 7 Installation Size to Save Space
How to Reduce Windows 7 OS Installation Size · 1. Open command prompt having administrative privileges · 2. Type the following command and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Nice work, thank you!
Okay, thanks for the update. To workaround the issue, I made a fork with many of the specs that my project doesn’t need removed: https://github.com/ev-energy/cfn-lint/commit/aa45e3a2a161f1fcdc35ce1bceeb652009394e17