SQLite included by default #184
Replies: 3 comments 7 replies
-
It seems like the change happened on buffalo version v0.11 and pop version v4.0 but it seems like the related issue on the pop (before migrated into gobuffalo from markbates) was gone. Actually, this is what I hope for a long time since One possible disadvantage for the other database users will be they could need to install a C compiler and toolchains even though they do not use SQLite. related issue: gobuffalo/buffalo#799 |
Beta Was this translation helpful? Give feedback.
-
#209 is related to this discussion. (originally filed on docs repository by @rohfle) Actually, I also love to use sqlite3 in the development so the same annoying situation happened several times to me too, but not fully sure if making sqlite3 support as default could be happy for all go/buffalo developers since it requires C development toolkits. (I think most developers have it but still, it could not be ideal) (just wanted to add one more data point) |
Beta Was this translation helpful? Give feedback.
-
Hi! Probably jumping in here without that much context, but this issue came to my attention today. I've used gobuffalo for a few PoCs in the past, so please correct me if I'm wrong when suggesting using a "real" database for testing/development mode instead of using SQLite. I come from the @testcontainers Go community (https://github.com/testcontainers/testcontainers-go) and I'd like to offer collaboration between these two great OSS communities to provide a great developer experience using real services, like a real, containerized database (MySQL, postres) in the form of a Docker container, which would come with benefits regarding parity with production datastores, i.e. Do you think there would be interest in starting a discussion on this? I'd be more than happy to help Cheers! 👋 |
Beta Was this translation helpful? Give feedback.
-
One extra step that may be impacting our developer experience when installing the Buffalo CLI is sqlite. When developers want to use Buffalo with SQLite they need to install the CLI with the
-sqlite
tag, and our Homebrew/Cask installation does not provide an option to use this version.Given all of the interest that SQLite has been receiving from developers and in the interest of compacting the stack that we maintain in Buffalo I was wondering if we could make our CLI ship by default with SQlite support.
Changing this:
I'm adding this here because I have a blurry memory about the reasons why we turned SQLite support into an optional feature of the CLI and besides the Cross-compilation issue I don't have it clear. Would love to hear your thoughts on the topic.
cc @sio4 @fasmat
Beta Was this translation helpful? Give feedback.
All reactions