Skip to content

Weaver cannot load registry directory beginning with . #958

@michael-burt

Description

@michael-burt

Describe the bug
this command fails because the registry directory begins with . character

weaver registry generate \
	    --registry .semconv \
	    --templates templates \
	    --config /templates/registry/markdown/weaver.yaml

this command succeeds

weaver registry generate \
	    --registry semconv \
	    --templates templates \
	    --config /templates/registry/markdown/weaver.yaml

To Reproduce
see above

Expected behavior
I expect hidden directories to work when trying to render output using weaver generate

Additional context
v0.18.0, I also tested back to v0.16.0 and the problem persists. This problem also occurs if I use an absolute path instead of a relative path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolution engineIssues relating to behavior of resolving raw schema files into a cohesive model

    Type

    Projects

    Status

    To consider for the next release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions