Skip to content

Feature/local manifest default - #493

Open
VelmiraS wants to merge 4 commits into
masterfrom
feature/local-manifest-default
Open

Feature/local manifest default#493
VelmiraS wants to merge 4 commits into
masterfrom
feature/local-manifest-default

Conversation

@VelmiraS

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
Adds support for passing a local filesystem path to -f / --manifest. Previously only GitHub URLs were accepted; now relative paths, absolute paths, and file:// URLs work directly without extra configuration.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:
A new LocalPath repository host is registered automatically when a local manifest is detected. It is scoped to the manifest's directory, so relative source references inside the manifest resolve relative to it. All four manifest × source combinations are covered by integration tests (TestCaseAD in cmd/app/local_manifest_test.go).

Release note:
-f now accepts a local filesystem path (e.g. docforge -f ./manifest.yaml). Relative source references inside a local manifest are resolved relative to the manifest's directory.

Allow -f to accept a local path (relative, absolute, or file://) in
addition to a remote GitHub URL. A LocalPath repository host is
registered automatically and scoped to the manifest directory.
@gardener-prow

gardener-prow Bot commented Aug 26, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign klocke-io for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@gardener-prow gardener-prow Bot added do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 26, 2026
@VelmiraS VelmiraS self-assigned this Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant