question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Decrease installation size

See original GitHub issue

Is 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:closed
  • Created a year ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
adamchainzcommented, Nov 9, 2022

Nice work, thank you!

1reaction
adamchainzcommented, Oct 28, 2022

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found