Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feat: support configurable relational database backends for server deployments

オープン
#148 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
postgresql, python, sqlite

調査の方向性

Start by locating the existing SQLite persistence layer and configuration entry point, then review the persisted domain model and CI setup. Define the backend abstraction, PostgreSQL support, schema migrations, SQLite-to-PostgreSQL migration path, and documented concurrency behavior; done means both backends pass consistent core-data checks and deployment guidance covers PostgreSQL operations.

索引モデルが issue の本文から書いたものです。

説明

Problem

OpenOrbit currently persists operational data with SQLite, which is a strong default for local-first and single-user use.

For a server deployment shared by multiple users, however, we need an option better suited to concurrent access, backups, monitoring, and potentially multiple application instances.

Proposal

Keep SQLite as the default local backend, and add a configurable relational database backend abstraction with PostgreSQL as the first supported server backend.

Initial configuration could be environment-based:

OPENORBIT_DATABASE_URL=sqlite:///path/to/openorbit.db
OPENORBIT_DATABASE_URL=postgresql://user:password@host:5432/openorbit

Scope

  • Preserve SQLite as the zero-configuration local default.
  • Support PostgreSQL for server deployments.
  • Introduce schema migrations and versioned database upgrades.
  • Keep the existing API and persisted domain model backend-independent.
  • Document backup, restore, and migration guidance.
  • Define the supported concurrency and multi-instance behavior.

Acceptance criteria

  • A new installation can use either SQLite or PostgreSQL through configuration.
  • Core data (Assets, Builds, Runs, Improvements, issues, comments, and logs) behaves consistently on both backends.
  • Existing SQLite data can be migrated to PostgreSQL safely.
  • CI verifies the persistence layer against SQLite and PostgreSQL.
  • Server deployment documentation includes PostgreSQL setup and operations.

Open questions

  • Should PostgreSQL support arrive before multi-instance serving is officially supported?
  • Which data remains filesystem-backed (for example, run artifacts or large logs) rather than moving into the database?
  • Should SQLite-to-PostgreSQL migration be an in-app command or a separate tool?
主要言語
Python
スター
5
フォーク
10
平均マージ
1時間 16分
マージ済み PR(30日)
10

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

forthfate/openorbit のほかの issue

forthfate/openorbit の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。