-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
registry resolve
does not work with local repositories
#189
Comments
This is probably because you should point to the Please close this GH issue, if my assumption is correct. |
I see it does work that way, but it is confusing to use. Could we either:
|
I am including @jsuereth to get his feedback on this. Personally, I would lean towards an improvement in the help for the following reasons:
The alternatives I see:
I prefer option 1 but can easily live with option 2. What do you think? |
I agree that this initially confusing to me as well, but also with Laurent's points. In the end, Weaver is meant to be a code generation platform. Semconv is the first (and very important) client, but the end goal is to have this available to otel users who wish to write instrumentation. I think we need a decision here that enables both goals - (1) reduce confusion between "consume from git" vs. "consume from directory" and (2) is flexible beyond just semconv repository. I do think we should entertain option 2 from Laurent's comments BUT I'd be happy, initially, to just improve |
Now
Examples:
Note: |
Describe the bug
When working with a local copy of the opentelemetry semantic convention trying to do
weaver registry resolve
will fail with the error:To Reproduce
Steps to reproduce the behavior:
Expected behavior
This should resolve the registry and output to stdout.
Additional context
This work on tag
v1.25.0
The text was updated successfully, but these errors were encountered: