-
Notifications
You must be signed in to change notification settings - Fork 0
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
"Introspect" basic comparison operators #64
Conversation
@@ -0,0 +1,71 @@ | |||
use std::fs; |
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.
The test that makes sure the static deployment in the repo is up to date with the code.
@@ -0,0 +1,1746 @@ | |||
{ |
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.
We've added the "save all old versions of these files" script so we can add the "make sure we can parse all the old versions" test soon.
@@ -0,0 +1,21 @@ | |||
#!/usr/bin/env bash |
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.
Everything in /scripts
is taken pretty much verbatim from ndc-postgres
.
mkdir -p "$SNAPSHOT_DIR" | ||
|
||
# create filename from hash of contents | ||
NEW_FILENAME="$(sha256sum "${CHINOOK_DEPLOYMENT}" | cut -f1 -d' ').json" |
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 is very nice indeed.
What
We've been relying on hardcoded introspection information taken from
ndc-postgres
, but that's not really very useful.This implements somewhat hard coded introspection for comparison operators using info from the SQLServer websites.
How
just generate-chinook-configuration