You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: replace git clone of aws-sdk-go-v2 with HTTP fetch of individual model files (#669)
Description of changes:
`ack-generate` previously cloned the entire `aws-sdk-go-v2` repository
(hundreds of MB) just to read a single `<service>.json` model file,
taking ~2 minutes on a cold cache. This replaces that with a targeted
HTTP fetch from GitHub's raw content URL, downloading only the needed
model file and caching it locally under
`~/.cache/ack-generate/models/<version>/`. Cold generation now completes
in ~15 seconds; cached runs similarly in ~15 seconds as well (both run ~3 seconds
without `gofmt`)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
0 commit comments