Skip to content

[INTERNAL] Document configPath property - #1662

Merged
maxreichmann merged 1 commit into
v4from
offer-configPath-to-workspace-yaml-docu
Nov 16, 2026
Merged

maxreichmann merged 1 commit into
v4from
offer-configPath-to-workspace-yaml-docu

Conversation

@maxreichmann

@maxreichmann maxreichmann commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

JIRA: CPOUI5FOUNDATION-1233
Documents SAP/ui5-project#902 behavior.

@maxreichmann
maxreichmann force-pushed the offer-configPath-to-workspace-yaml-docu branch from 6298a9e to 0f6a262 Compare November 16, 2026 15:43
@maxreichmann
maxreichmann marked this pull request as ready for review November 16, 2026 15:49
@maxreichmann
maxreichmann merged commit 3da3532 into v4 Nov 16, 2026
4 checks passed
@maxreichmann
maxreichmann deleted the offer-configPath-to-workspace-yaml-docu branch November 16, 2026 15:55
maxreichmann added a commit to SAP/ui5-project that referenced this pull request Nov 17, 2026
…e/1.1)` (#902)

This offers a `configPath` property to workspace dependency resolution
entries as follows:
```yaml
specVersion: workspace/1.1                      # new specVersion
metadata:
    name: default
dependencyManagement:
    resolutions:
        - path: ../test.library
          configPath: custom-config.yaml        # new customizable paths
```

(Introducing new specVersion `workspace/1.1`)

---
Other sub features:
- Improve error handling when `path` is absolute
- Improve error handling when multiple resolutions for the same
dependency exist (by `path` property)
- Forbid absolute paths for `configPath`
- Allow relative paths for `configPath` (for `path` it's already
allowed)
- Fix pre-existing trailing-slash bug

The workspace resolution logic is now explicitly implemented as "Most
specific wins" (the resolution entry with the **deepest `path`** gets
precedence). Entries are sequentially processed while keeping file
reads, glob expansion, and traversal within each entry async.


Closes: UI5/cli#1369
Docu: UI5/cli#1662
JIRA: CPOUI5FOUNDATION-1233
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