ConnorRigby

ConnorRigby

Nerves Core Team

In this post, Eric Scouten and I noted that i would be helping out maintain sqlite_ecto2. It’s pretty well known that I have a soft spot in my heart for sqlite, and this project is pretty important to me both professionally and personally.

i use it professionally for Farmbot and I also use it for a number of personal projects usually in the embedded/Nerves space.

Since i do use it in a production application, I’m hoping to give it a bit of love over the course of the next few months. That being said i’m no expert with Ecto itself, so any help would be greatly appreciated. I’ve set up a new GitHub Organization here and moved the sqlite_ecto2 repo there also. I also created a channel on the Elixir-Lang slack called sqlite.

If you’re new to sqlite and are interested in using it with Elixir (or Nerves) i actually wrote a blog post about it here

Update

@mmmries Has agreed to move sqlitex to the new Sqlite-Ecto org also. :boom:

Showing Posts 1 to 10

scouten

scouten

Take good care of it, Connor. :slight_smile:

Glad to see it get some overdue love.

ConnorRigby

ConnorRigby OP

Nerves Core Team

Thanks so much for getting it as far as it is today! i use it in production currently and it’s been good to me. Time i repaid the favor!

aseigo

aseigo

Amazing way to step forward for the tools you use and rely on :slight_smile: Looking forward to seeing your work going forward, and super nice to see things like sqlitex joing in as well .. great community spirit in Elixir!

mmmries

mmmries

Really excited to help out with the sqlite_ecto stuff. I hope this can make sqlitex more useful for more people and make production uses of sqlite more practical.

dimitarvp

dimitarvp

Hey @ConnorRigby, do you have plans making an sqlite_ecto3 library?

I’m very interested in using such a thing. Do you have a roadmap on how hard it would be to migrate from Ecto 2.2 to 3.x?

ConnorRigby

ConnorRigby OP

Nerves Core Team

Yes i do plan on it at some point, but i haven’t had time to actually do it yet.

there is an open issue about it here as well as a tracking branch for the latest Ecto 2.x.x release.
There is no hard defined roadmap currently, as i don’t need any ecto3 features as of right now, but the general list of things that will need to happen is:

  • update to the latest ecto 2.x.x release (there are issues with this currently)
  • rename/fork sqlite_ecto2 to sqlite_ecto or sqlite_ecto3
  • follow the outline defined in this post

I would love some help with this as i just don’t really have the time/ability to do so as of right now because ecto2 is working fine for me currently.

DiodonHystrix

DiodonHystrix

I actually wanted to help you with this… I even forked it and added some commits at Commits · adamzapasnik/sqlite_ecto2 · GitHub It’s a bit messy, but there weren’t that many changes from 2.2.9 to 2.2.11 (latest version)
I also have another branch for Ecto3 changes, but it’s still very very WIP

If you don’t mind me asking, what’s the best strategy for creating a pull request to support the latest Ecto 2 version?
Should I rebase from that tracking branch and advance commits one by one?
Also on the master supported version is: {:ecto, "2.2.9"} while on the tracking branch you are at 2.2.6 or something. So which one is the right one?:stuck_out_tongue:

ConnorRigby

ConnorRigby OP

Nerves Core Team

@DiodonHystrix i would love your latest 2.2.11 changes. Don’t worry about them being too messy as that can be cleaned up. Please open a PR whenever you feel you are ready.

dimitarvp

dimitarvp

What is the status of your effort? Is Ecto 2.2.11 supported as your commits say? Are there any tests to run to verify?

I’d like to try my hand in (a) making sure that Sqlite works well with the last version of Ecto 2.2.x, and (b) make a separate repo for an Sqlite adapter working with Ecto 3.x.x. If you don’t have the time or desire pushing this forward, I could copy your commits in my own forked repo and carry on from there.

DiodonHystrix

DiodonHystrix

It was merged into master. You can check a commit history.

— All posts loaded —

Where Next? Top

Trending in Announcing Top

restlessronin
The repo is at GitHub - cyberchitta/openai_ex: Community maintained Elixir library for OpenAI API · GitHub. Docs are at OpenaiEx User Gu...
152 12366 136
New
type1fool
WebAuthnLiveComponent WebAuthnComponents See this post about renaming the package. Passwordless authentication for Phoenix LiveView app...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
kip
In 2021 I started a new library called Tempo with the objective of modelling time as a set of intervals - not as instants. In 2022 I gave...
New
quatermain
Hello, I’m sharing my plugin here in forum after some time so it has time to mature and proof yourself. I use Claude Code daily on a pr...
New

Other Trending Topics Top

KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
budgie
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with. But I don’t use it anymore. Serverless was the promis...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
Null-logic-0
What IDE or editor are you using for Elixir development? Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New
alexslade
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog It says that Fly is going all-in on sprites, which is a worry ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews