Skip to content

Conversation

@aravindtga
Copy link
Contributor

Description

This PR continues the refactoring effort by moving two additional internal packages (gitutil and builtins) from internal/ to pkg/lib/ to expose them as part of the publicly accessible Library. Additionally, it improves the package-context.yaml generation logic to be more precise. This is the second phase of the broader refactoring effort to make key utilities available to external consumers.

Changes

Move:

  • internal/gitutil/-> pkg/lib/gitutil/
  • internal/builtins/ -> pkg/lib/builtins/

Update:

  • import statements across multiple command and internal files to reference the new public library locations
  • Add validation to ensure only one package-context.yaml per kpt package

Future Work

This continues the systematic refactoring to move internal packages to the public library. Additional internal packages will be evaluated and moved in subsequent phases to create a comprehensive and accessible library interface for kpt consumers.

Signed-off-by: aravind.est <aravindhan.a@est.tech>
@netlify
Copy link

netlify bot commented Jan 7, 2026

Deploy Preview for kptdocs ready!

Name Link
🔨 Latest commit 711596b
🔍 Latest deploy log https://app.netlify.com/projects/kptdocs/deploys/695e920254c5fd0008ca6cdc
😎 Deploy Preview https://deploy-preview-4343--kptdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@aravindtga aravindtga marked this pull request as ready for review January 7, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants