Skip to content

feat: configuration for file-system config types for plugins and internal plugins#390

Merged
jakobmoellerdev merged 7 commits into
open-component-model:mainfrom
Skarlso:configure-internal-plugins-4
Jul 18, 2025
Merged

feat: configuration for file-system config types for plugins and internal plugins#390
jakobmoellerdev merged 7 commits into
open-component-model:mainfrom
Skarlso:configure-internal-plugins-4

Conversation

@Skarlso

@Skarlso Skarlso commented Jul 14, 2025

Copy link
Copy Markdown
Contributor

What this PR does / why we need it

Which issue(s) this PR fixes

@github-actions github-actions Bot added the size/l Large label Jul 14, 2025
@Skarlso Skarlso force-pushed the configure-internal-plugins-4 branch from 500d764 to b6a310d Compare July 14, 2025 08:46
@Skarlso Skarlso changed the title Configure internal plugins 4 feat: configuration for file-system config types for plugins and internal plugins Jul 14, 2025
@github-actions github-actions Bot added the kind/feature new feature, enhancement, improvement, extension label Jul 14, 2025
@Skarlso Skarlso force-pushed the configure-internal-plugins-4 branch from b6a310d to 0a45f1b Compare July 14, 2025 08:51
@github-actions github-actions Bot added the area/documentation Documentation related label Jul 14, 2025
@Skarlso Skarlso force-pushed the configure-internal-plugins-4 branch 3 times, most recently from 9c425ca to b8eed0f Compare July 15, 2025 05:18
@Skarlso Skarlso marked this pull request as ready for review July 15, 2025 06:37
@Skarlso Skarlso requested a review from a team as a code owner July 15, 2025 06:37

@jakobmoellerdev jakobmoellerdev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The general design of the changes is nice! I am wondering about some nits and if you can really change all of these modules at once. I.e. youre changing the CLI but are also changing the OCI binding. The changes in OCI won't propagate to CLI if you do not separate these PRs out or create follow-ups. Whats your plan here?

Comment thread cli/go.mod Outdated
Comment thread cli/cmd/cmd.go
Comment thread cli/cmd/setup.go Outdated
Comment thread cli/cmd/setup.go Outdated
Comment thread bindings/go/ctf/ctf.go Outdated
Comment thread bindings/go/ctf/ctf.go Outdated
Comment thread bindings/go/ctf/ctf_compatibility_test.go Outdated
@Skarlso

Skarlso commented Jul 15, 2025

Copy link
Copy Markdown
Contributor Author

@jakobmoellerdev My plan was that these modules are pretty much separated right now. Yes, the configuration doesn't exist yet through the CLI but I thought the WithConfiguration part can be introduced separately already I guess in this PR.

But I can also separate that out.

@jakobmoellerdev

Copy link
Copy Markdown
Member

As i explained above, the modules are not separated. The only reason you compile is because you do not upgrade the modules yet. But for example, in OCI you have usages of OpenCTF that would be affected by your changes and that would anyhow require a second PR

@Skarlso

Skarlso commented Jul 15, 2025

Copy link
Copy Markdown
Contributor Author

Correct. That's why it's safe to do so and then do an upgrade and apply all the things. :)

That's what I meant. That said, I can do all this in separate PRs after each other if you prefer it that way.

Comment thread bindings/go/oci/integration/go.sum Outdated
Comment thread cli/cmd/setup.go Outdated
Comment thread cli/cmd/setup_test.go Outdated
Comment thread cli/internal/plugin/builtin/oci/repository.go Outdated
Comment thread docs/reference/cli/ocm_add.md
@Skarlso Skarlso force-pushed the configure-internal-plugins-4 branch 2 times, most recently from 684421e to 333b356 Compare July 16, 2025 13:50

@jakobmoellerdev jakobmoellerdev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

just two things I noticed during the final run, other than that great job 🥳

Comment thread cli/cmd/setup_filesystem_config.go
Comment thread cli/cmd/setup_filesystem_config.go Outdated
Comment thread cli/internal/plugin/builtin/oci/repository.go
Comment thread cli/cmd/setup_filesystem_config.go Outdated
Skarlso added 4 commits July 16, 2025 18:15
…rnal plugins

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>

On-behalf-of: @SAP gergely.brautigam@sap.com
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
@Skarlso Skarlso force-pushed the configure-internal-plugins-4 branch from b24a43c to 7fe7c95 Compare July 16, 2025 16:15
@Skarlso Skarlso requested a review from jakobmoellerdev July 17, 2025 04:51
@jakobmoellerdev jakobmoellerdev enabled auto-merge (squash) July 18, 2025 06:43
@jakobmoellerdev jakobmoellerdev merged commit f6d58f5 into open-component-model:main Jul 18, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/documentation Documentation related kind/feature new feature, enhancement, improvement, extension size/l Large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants