-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update to use postgres drivers in the sqlsource package #6
base: master
Are you sure you want to change the base?
Conversation
…en updated it is using the correct package
@llexical sorry for the delay here :( i'm just sort of acclimating in these oss sql sources. do you think it makes more sense to colo all the drivers in one package (consumable as libs) or to just make them consumable from within their own repos? i'm totally open to either, just not totally sure what the convention would be /shrug @tejasmanohar @calvinfo do either of yall have thoughts? i'd like to at least come up with a general plan for cleaning up these sql sources such that
and... importantly
maybe we should just have a single repo (sqlsource), with all the drivers, and have a single cli that take an arg for db type that pulls in the correct driver? |
I prefer to not include Postgres or MySQL-specific code in the sqlsource repo. I like the approach of #7. That said, I'm +1 for any shared interfaces and such in the sqlsource repo. |
I agree that I prefer that each driver should have its own repo, personally I did not need any of the command line interface so being able to just install what I needed was much cleaner. I like the idea of having a single cli that you can pull a db arg into, makes the cli a lot more consumable for users. My PR is just a suggestion to get the ball rolling per say so if you come up with a better solution I am up for it, its just code I am using at the moment so I could write my own worker to run updates. |
Cool, thanks! I think we'll go with
That way, you never need to install what you don't need |
sweet— this sounds good. i'm going to start a project over in the sqlsource repo to track the work in a central location. |
big thanks to you both @tejasmanohar @llexical! |
DEPENDENCY: sqlsource UPDATE
Removes the driver and instead imports the file from sqlsource to centralise all the code.
There are 3 pull requests in total for this: