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
Release 0.9.0 #2097
Release 0.9.0 #2097
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2097 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 148 148
Lines 10640 10640
=========================================
Hits 10640 10640
Continue to review full report at Codecov.
|
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.
Looks good!
Some small comments and suggestions:
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.
A few minor suggestions around wording. Looks good overall.
Co-authored-by: Barry Pollard <barry_pollard@hotmail.com>
Co-authored-by: Barry Pollard <barry_pollard@hotmail.com>
Co-authored-by: Barry Hart <barrywhart@yahoo.com>
Co-authored-by: Barry Hart <barrywhart@yahoo.com>
Co-authored-by: Barry Hart <barrywhart@yahoo.com>
Co-authored-by: Barry Hart <barrywhart@yahoo.com>
@jpy-git - README and short description added ✅ . I haven't managed to find any settings or documentation on how to add an icon to the repository. I've got the sqlfluff icon on the user which I think is all I can do without paying for an account or asking docker really nicely. If anyone has any other ideas on how to get an icon on it - then I'm all ears! |
@alanmcruickshank awesome thanks, the readme looks great. It looks like to get an icon on the image itself we'd need to apply to make SQLFluff a "Docker Official Image": https://docs.docker.com/docker-hub/official_images/ Reading through those docs it seems like the process is fairly involved so maybe that's something we can leave for when we come out of beta 😊 |
I notice the Dockerfile doesn’t include the dbt templater plug-in. Should it? Or is it fair to presume dbt users will all be running it locally as they’ll all be Python users anyway? |
@tunetheweb we'll need to build a second docker image for the dbt templater but that's extension work |
Surely both need to exist in the same docker image to be usable? You can't use the templater without SQLFluff. So thew question is do you need two docker images:
Or should we just have one? In which case does it need the dbt templater? To me the only reason to have two would be to keep the image lighter, but don't think the dbt templater adds that much to the image size (though it does need bits of dbt top so maybe it would). Anyway agree for now let's go with just the SQLFluff one. As I said above, it may well be a bit overkill having dbt within docker if most dbt users are python users so won't use the Docker image anyway. |
You would just have the templater image inherit from the non-templater image I.e. FROM sqlfluff/sqlfluff:latest
<dbt templater extras here> |
One thing that could make this relatively easy would be to maintain two seperate tags within the same repo rather than two separate docker repositories (a little like how the python image maintains different versions and different debian versions as different tags). I agree that this doesn't need to stop us releasing and it could be follow-on work. It likely would involve some additional machinery anyway to get credentials into the container anyway. |
I'm not familiar with using Docker images this way. How will users provide their .sqlfluff, dbt_project.yaml, and other files? Will they use the image directly or inherit from our image? |
Let me make an issue to capture these initial thoughts and we can move the discussion there |
Basically you normally mount your local drive in the image. Something like this:
Docker runs the command and outputs the result. So this would be useful for T-SQL developers for example, that normally might not use python and don't want to manage a python environment and all that entails to keep it working and up to date. If they have Docker installed they can just use our Docker image to save them having to run it through a local python install. |
Get ready for release 0.9.0!
In terms of non-draft PRs I believe it is only #2096 that I need to review for @derickl.
2 quick outstanding things that would be good to sort before the release are:
I believe I've correctly updated the CHANGELOG.md as described in CONTRIBUTING.md, but given it's my first time running the release lmk if I've missed anything or if we want anything changed!