fix(1776): ctf detection on windows absolute paths#1792
Merged
matthiasbruns merged 15 commits intoMar 3, 2026
Merged
Conversation
58165ee to
fecd23f
Compare
Contributor
Author
|
it works |
e4f1bbf to
d6f8eb2
Compare
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>
On-behalf-of: SAP <matthias.bruns@sap.com> Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
5364df6 to
7dfd2df
Compare
On-behalf-of: SAP <matthias.bruns@sap.com> Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
matthiasbruns
added a commit
to open-component-model/ocm-website
that referenced
this pull request
Feb 20, 2026
#### What this PR does / why we need it This PR is a result of the discussions on open-component-model/open-component-model#1792 We want to notify windows users installing ocm cli, that we provide a best-effort support at best. #### Which issue(s) this PR fixes Contributes: open-component-model/open-component-model#1776 --------- Signed-off-by: Matthias Bruns <git@matthiasbruns.com> Signed-off-by: Matthias Bruns <github@matthiasbruns.com> Co-authored-by: Gerald Morrison <67469729+morri-son@users.noreply.github.com>
ocmbot Bot
pushed a commit
to open-component-model/ocm-website
that referenced
this pull request
Feb 20, 2026
#### What this PR does / why we need it This PR is a result of the discussions on open-component-model/open-component-model#1792 We want to notify windows users installing ocm cli, that we provide a best-effort support at best. #### Which issue(s) this PR fixes Contributes: open-component-model/open-component-model#1776 --------- Signed-off-by: Matthias Bruns <git@matthiasbruns.com> Signed-off-by: Matthias Bruns <github@matthiasbruns.com> Co-authored-by: Gerald Morrison <67469729+morri-son@users.noreply.github.com> 1b6d8f5
jakobmoellerdev
previously approved these changes
Feb 20, 2026
fabianburth
reviewed
Feb 24, 2026
On-behalf-of: SAP <matthias.bruns@sap.com> Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
fabianburth
approved these changes
Feb 25, 2026
jakobmoellerdev
approved these changes
Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it
This PR fixed a problem in repository type detection for windows absolute paths.
In
compref.go,--repositorywas detected as*ociv1.Repositorywhich should actually be detected asctfv1.Repository.Unit tests have been added, but I will test this on a windows vm to ensure, that this fixes the issue
Which issue(s) this PR fixes
Fixes: #1776