-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Enhance dump command to show models #1233
Conversation
As the guardian of the integration test suite, @tobim may want to have a look at the corresponding commits. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code-wise this is fine.
Can you change the documentation of vast dump
itself so it reflects that it dumps both models and concepts?
Please wait for @tobim to review the integration test suite changes. I did not look at them.
451931c
to
0642c83
Compare
I'm handing this PR over to @tobim, who is going to investigate the non-determinism during concept dumping. |
002bd6b
to
b8cd994
Compare
Taking the PR back after internal sync. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a suggestions to simplify the python code.
a367984
to
b5737d8
Compare
Is there a header for this, like we have for
It makes for a convenient way to control the size of the return value.
We're doing I/O here. And it's happening pretty much once at startup. The performance concerns don't appear to be in relation to the functionality. |
Too many times running tests requires fiddling with the exact test name in the right casing. This commit enhances -t such that it no longer looks at the casing of the test name. Moreover, the test specification is now interpreted as full-blown regex and can match just a fraction of the tests. For example, `-t zeek` runs all Zeek tests
Co-authored-by: Dominik Lohmann <mail@dominiklohmann.de>
Co-authored-by: tobim <tobim@fastmail.fm>
b5737d8
to
4ff182c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works fine.
Not printing empty descriptions / nested concepts / fields is a strict follow up and should not block the imminent release.
The <regex>
stuff I'll clean up myself after the release, I created a story for that.
📔 Description
This PR enhances the
dump
command to show models in addition to concepts.📝 Checklist
description
when dumping)🎯 Review Instructions
@dominiklohmann:
@tobim: