Import 0.x stores into SQLite on first start

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
57/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java, sqlite
領域
backend, databases

調査の方向性

Start by reading the implementation and migration plan for dependency #52, then inspect how the plugin currently reads its 0.x HOCON stores file and initializes SQLite. Add coverage using a sample legacy file with malformed entries. Done means the first start imports stores, items, prices, and balances, reports skipped entries, preserves the old file under a migrated name, and a restart does not import again.

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

説明

enhancement

Problem

Servers upgrading to 1.0 have their stores in the old HOCON file. They need to keep them when storage moves to SQLite.

Scope

  • On the first start with an empty database, read the old stores file and write everything into SQLite.
  • Rename the old file afterward (for example stores.conf.migrated) instead of deleting it.
  • Log a clear summary: stores imported, and anything skipped and why.
  • Convert custom messages in config.yml to the new message format, if the messaging rework (#20) has landed by then.

Done when

  • A 0.4.0 data folder upgrades to 1.0 with every store, item, price and balance intact.
  • Restarting after the import doesn't import again.
  • Tests cover a sample 0.x file, including malformed entries.

Depends on #52.

主要言語
Java
スター
1
フォーク
0
平均マージ
2時間 35分
マージ済み PR(30日)
14

環境構築

はじめの一歩

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

BrendonButler/Shops のほかの issue

BrendonButler/Shops の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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