Skip to content

Conversation

@ldez
Copy link
Member

@ldez ldez commented Jul 3, 2025

I created a fork of oci-go-sdk, this fork is maintained by a script, no manual hacks.

I used gomodcachesize to compute the sizes.

Currently github.com/oracle/oci-go-sdk/v65@v65.87.0 uses 109.858 MiB.

With my fork:

  • github.com/nrdcg/oci-go-sdk/dns/v1065@v1065.95.0: 877.271 KiB
  • github.com/nrdcg/oci-go-sdk/common/v1065@v1065.95.0: 704.420 KiB

The size of the GOCACHE for this module is divided by 100.
It will allow us to avoid "no space left on device" during releases.

Note: this doesn't change the binary size.

Related to oracle/oci-go-sdk#255

@ldez ldez requested a review from dmke July 3, 2025 00:38
@ldez ldez changed the title chore: replace oci-go-sdk by a modular fork oraclecloud: replace oci-go-sdk by a modular fork Jul 3, 2025
@ldez ldez force-pushed the feat/oci-module-size branch from e76d486 to 14a39f5 Compare July 3, 2025 04:38
@ldez ldez added this to the unreleased milestone Jul 3, 2025
@ldez ldez merged commit 94d8712 into go-acme:master Jul 3, 2025
7 checks passed
@ldez ldez deleted the feat/oci-module-size branch July 3, 2025 16:13
@ldez ldez modified the milestones: unreleased, v4.24 Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants