feat(575): regex glob resolver#780
Conversation
On-behalf-of: SAP <matthias.bruns@sap.com> Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
3512182 to
57cd871
Compare
Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
57cd871 to
c0c55f0
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>
|
Options for glob packages
@jakobmoellerdev I will keep searching for more packages |
|
For such fundamental libraries they are sometimes "feature-complete". In those cases you cannot avoid that they dont have a lot of pushes. Most used least broken is a good principle here :D |
|
We could also discuss whether we think the capabilities of https://pkg.go.dev/path?utm_source=chatgpt.com#Match are sufficient for our use case here. |
On-behalf-of: SAP <matthias.bruns@sap.com> Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
f6986f8 to
286d52d
Compare
On-behalf-of: SAP <matthias.bruns@sap.com> Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
jakobmoellerdev
left a comment
There was a problem hiding this comment.
needs some cleanup, docs and a regeneration, then LGTM for me
On-behalf-of: SAP <matthias.bruns@sap.com> Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
Yeah I have seen it - but wasn't sure since it's only for pathing |
On-behalf-of: SAP <matthias.bruns@sap.com> Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
|
@jakobmoellerdev regenerated |
On-behalf-of: SAP <matthias.bruns@sap.com> Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
|
Decided in the Warroom to stick with sdtlib path instead of an external lib |
afb26a6 to
ee03a4b
Compare
615ed82 to
2614c42
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>
2614c42 to
05ac839
Compare
#### What this PR does / why we need it In #780 we implemented a new configuration resolver implementation that resolves components with a glob matcher. This PR implement the repository that uses the new matcher - the cli integration will be implemented in a follow up pr #### Which issue(s) this PR fixes Contributes open-component-model/ocm-project#575 --------- Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
What this PR does / why we need it
Provide a replacement for fallbackresolvers to reduce resolving time based on glob pattern matching.
This PR focusses on the spec/binding side. The repository will follow afterwards.
Which issue(s) this PR fixes
Fixes: open-component-model/ocm-project#575