Drop postgres requirement for easier adoption
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- bun, postgresql, sqlite, typescript
- 領域
- database
調査の方向性
Start with the existing Postgres adapter and the storageContract tests, then review how Bun's SQL handles SQLite transactions. Add a SQLite storage adapter for single-user use and ensure concurrent transactions are handled one at a time. Done means the adapter passes storageContract alongside the existing adapters.
索引モデルが issue の本文から書いたものです。
説明
Awesome project! While it's in early stages I think this project is most likely to be used single player. With that said making a sqlite adapter I think would be worthwhile.
here's a rough plan from claude
Add a SQLite storage adapter for single-user local use. It seems to fit
the current design:
- One process already owns writes (the writer lease plus the global advisory
lock), which is SQLite's normal mode. - The Postgres adapter uses Bun's
SQL, which also acceptssqlite://URLs.
RETURNING,ON CONFLICT, JSON functions and BLOBs work there. storageContractalready runs against two adapters, so a third could be
proven against it.
The main gotcha: Bun's SQLite mode doesn't queue concurrent sql.begin()
calls, so the adapter would need to run transactions one at a time. With a
simple promise queue, 20 concurrent transactions all succeeded; without it,
19 failed.
- 主要言語
- TypeScript
- スター
- 392
- フォーク
- 22
- 平均マージ
- 1日 7分
- マージ済み PR(30日)
- 203
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
githubnext/chopin のほかの issue
-
documentation triage/human-response
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
githubnext/chopin#149 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement triage/human-response
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
githubnext/chopin#165 ·
メンテナーはふだん 1 日以内に返信
-
enhancement triage/human-response
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
githubnext/chopin#164 ·
メンテナーはふだん 1 日以内に返信
-
triage/human-response
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
githubnext/chopin#163 ·
メンテナーはふだん 1 日以内に返信
-
triage/human-response
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
githubnext/chopin#162 ·
メンテナーはふだん 1 日以内に返信
githubnext/chopin の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
cline/mcp-marketplace#2932 ·
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
lingdojo/kana-dojo#32188 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Portkey-AI/gateway#1844 ·
メンテナーはふだん 1 日以内に返信
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
rjsf-team/react-jsonschema-form#5495 ·
メンテナーはふだん 2 日以内に返信