-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
One thing I notice when creating a lot of Swift SDKs is that Ubuntu and Debian packages are always downloaded on each run:
2025-08-14T10:29:32+0000 info org.swift.swift-sdk-generator: distributionName=Ubuntu packageCount=11 [SwiftSDKGenerator] Downloading packages...
This adds time to each subsequent generator run, and if you run enough the servers eventually start to throttle you as well.
My ideas for this are:
- Cache downloaded *.deb artifacts in the Artifacts directory, likely under sub-directories that include the distro and arch name.
- Also cache package lists to prevent having to fetch them each time? It still takes some time to parse them out with the regex tho.
- Provide a flag that can be passed to the generator to invalidate the package cache on run, in case we want to just redownload everything.
Metadata
Metadata
Assignees
Labels
No labels