-
Notifications
You must be signed in to change notification settings - Fork 4
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
Optionally report help-url
documentation in constraint validation output
#276
Comments
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/4c8cf7d806e9fb71b42eb7b457313048a1ab88a7/types/sarif/index.d.ts#L1414 thankfully sarif has a helpuri in the spec for exactly this purpose |
The code for the Lines 570 to 573 in 964b845
I am not sure what this issue is asking for and need some help understand better. Can you show what the library is doing that needs to be done differently, or not doing that needs to be added? |
Separate of SARIF when |
Ok. I understand now. I can adjust the logging to include the link in the stdout/stderr output. It is platform dependent if that link is clickable though. |
Right now the message format in metaschema-cli is:
How should the help URL link be incorporated? Maybe something like the following?
|
I like that approach, I am not sure if @wandmagic has a different opinion on it, but I am happy with that. |
yes this looks good |
* Added SARIF help URIs to console output. Resolves #276. * Fixed logging output which was omitted completely. Also reformatted some source code.
User Story
Per discussion with @wandmagic a few days ago, it would be beneficial for metaschema-java to support, optionally and perhaps not provide it with default, to embed links to
prop[@name="help-url"]
content and encode it properly to make clickable links. That way, constraint violation output can be clicked on directly by developers when using the tool, separate of needing to load up SARIF when doing a quick development/debug loop cycle.Note, per discussion with @wandmagic, we can do this strictly from SARIF output via oscal-cli, but this approach will make it more flexible and usable in a variety of different use cases.
Goals
Dependencies
No response
Acceptance Criteria
Revisions
No response
The text was updated successfully, but these errors were encountered: