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

Pull the desired mysql version from a single location

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker-compose, javascript, mysql
領域
databases, testing

調査の方向性

Start with app/test/db_setup.js at the MySQL launch configuration and docker-compose.yml at the MySQL service version. Compare how each selects the version, then investigate whether they can share configuration or whether tests can reuse Compose. Done means both use one source for the desired MySQL version; the issue leaves the implementation choice open.

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

説明

The test framework has the ability to launch mysql ( via docker. )
The mysql version is hard-coded there ( see: https://github.com/shift-org/shift-docs/blob/52e8d9589f6e81ce42b38e716662c8bced8ff28b/app/test/db_setup.js#L44 )

The docker compose also has a mysql version ( see: https://github.com/shift-org/shift-docs/blob/52e8d9589f6e81ce42b38e716662c8bced8ff28b/docker-compose.yml#L31 )

It is objectively terrible to have to keep them synchronized; but not exactly sure what the solution is.

  • both read from some sort of common config file?
  • both read from some common environmental var?
  • can testing read or re-use the docker-compose?
  • get rid of the ./shift bash and launch everything using npm scripts? ( i jest. sort of. )
  • ...?
主要言語
JavaScript
スター
30
フォーク
26
平均マージ
6日 24分
マージ済み PR(30日)
6

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

shift-org/shift-docs のほかの issue

shift-org/shift-docs の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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