Skip to content

fix: untangle pkg and core#5896

Merged
mudler merged 4 commits into
mudler:masterfrom
dave-gray101:fix-untangle-pkg-core-1
Jul 24, 2025
Merged

fix: untangle pkg and core#5896
mudler merged 4 commits into
mudler:masterfrom
dave-gray101:fix-untangle-pkg-core-1

Conversation

@dave-gray101

Copy link
Copy Markdown
Contributor

In the past we had I thought we had decided that it would be ideal if core referenced pkg but not the other way around.

  • core/system was used from pkg, but has no dependencies on core itself

    • migrated to pkg/system
  • pkg/templates and pkg/startup were using core from within pkg

    • migrated to core/templates and core/startup
  • Not super related: happened to notice a duplicative check in cli util

… and IS USED in pkg

Signed-off-by: Dave Lee <dave@gray101.com>
…it, but it does reference core.

Signed-off-by: Dave Lee <dave@gray101.com>
Signed-off-by: Dave Lee <dave@gray101.com>
…ble dependencies on core

Signed-off-by: Dave Lee <dave@gray101.com>
@dave-gray101 dave-gray101 requested a review from mudler July 24, 2025 02:29
@netlify

netlify Bot commented Jul 24, 2025

Copy link
Copy Markdown

Deploy Preview for localai ready!

Name Link
🔨 Latest commit ba39807
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/68819a6e3109e800082c503b
😎 Deploy Preview https://deploy-preview-5896--localai.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.

@dave-gray101 dave-gray101 enabled auto-merge (squash) July 24, 2025 02:29

@mudler mudler left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! good point, I like the cleanup!

@mudler mudler disabled auto-merge July 24, 2025 13:03
@mudler mudler merged commit b3c2a3c into mudler:master Jul 24, 2025
23 checks passed
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.

2 participants