Skip to content

feat(697): recursive cleanup#1076

Merged
matthiasbruns merged 13 commits into
open-component-model:mainfrom
matthiasbruns:feat/697_recursive_cleanup
Oct 31, 2025
Merged

feat(697): recursive cleanup#1076
matthiasbruns merged 13 commits into
open-component-model:mainfrom
matthiasbruns:feat/697_recursive_cleanup

Conversation

@matthiasbruns

Copy link
Copy Markdown
Contributor

What this PR does / why we need it

This pr unifies the dependency graph calculation in the cli.

Which issue(s) this PR fixes

Contributes: open-component-model/ocm-project#697

@matthiasbruns matthiasbruns requested a review from a team as a code owner October 23, 2025 04:28
@matthiasbruns matthiasbruns marked this pull request as draft October 23, 2025 04:29
@github-actions github-actions Bot added kind/feature new feature, enhancement, improvement, extension size/m Medium labels Oct 23, 2025
Comment thread cli/cmd/add/component-version/cmd.go Outdated
@github-actions github-actions Bot added the size/l Large label Oct 23, 2025
Comment thread cli/cmd/cmd_test.go Outdated
@matthiasbruns matthiasbruns force-pushed the feat/697_recursive_cleanup branch 6 times, most recently from 8f31a11 to 9e17cff Compare October 28, 2025 09:51
On-behalf-of: SAP <matthias.bruns@sap.com>

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
On-behalf-of: SAP <matthias.bruns@sap.com>

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
On-behalf-of: SAP <matthias.bruns@sap.com>

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
On-behalf-of: SAP <matthias.bruns@sap.com>

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
On-behalf-of: SAP <matthias.bruns@sap.com>

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
On-behalf-of: SAP <matthias.bruns@sap.com>

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
@matthiasbruns matthiasbruns force-pushed the feat/697_recursive_cleanup branch from 9e17cff to c1acaed Compare October 29, 2025 14:36
On-behalf-of: SAP <matthias.bruns@sap.com>

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
@matthiasbruns matthiasbruns marked this pull request as ready for review October 29, 2025 14:42

@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.

this looks okay I think, just want a second pair of eyes on the resolver sources again

cli/internal/repository/ocm/compatibility.go conflicts with https://github.com/open-component-model/open-component-model/pull/1068/files#diff-663659045698232a0fff6c41b0e3d09d9db13b64fb711264e0c9132edf2fc1f8 so maybe align here before we proceed

@matthiasbruns

Copy link
Copy Markdown
Contributor Author

On-behalf-of: SAP <matthias.bruns@sap.com>

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
…/open-component-model into feat/697_recursive_cleanup
Comment thread cli/internal/repository/ocm/compatibility.go
On-behalf-of: SAP <matthias.bruns@sap.com>

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
@matthiasbruns matthiasbruns force-pushed the feat/697_recursive_cleanup branch from 7dfdf7d to ec787d4 Compare October 30, 2025 12:23

@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.

this is pretty much LGTM, just 2 minor comments from my side

Comment thread cli/internal/repository/ocm/fallback.go
Comment thread cli/docs/reference/ocm_add_component-version.md Outdated
Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
@github-actions github-actions Bot added the component/github-actions Changes on GitHub Actions or within `.github/` directory label Oct 31, 2025
@matthiasbruns matthiasbruns merged commit 8187e61 into open-component-model:main Oct 31, 2025
21 checks passed
@matthiasbruns matthiasbruns deleted the feat/697_recursive_cleanup branch October 31, 2025 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/github-actions Changes on GitHub Actions or within `.github/` directory kind/feature new feature, enhancement, improvement, extension size/l Large size/m Medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants