Update shared files and make sure they stay in sync
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- cmake, cpp
- 領域
- build-system, testing
調査の方向性
まず、リポジトリの共有演習ファイルとCMakeスクリプトを調べ、次にarm64-assemblyにある参照先のtemplatesディレクトリとbin/update-from-templatesスクリプトを比較します。すべての演習を同期できる単一の信頼できる情報源が用意され、変更後にpre-commitチェック用として同期スクリプトが0以外を返し、Catch2とCMakeスクリプトがアップグレードされれば、作業は完了です。
索引モデルが issue の本文から書いたものです。
説明
Over at arm64-assembly we have a templates directory that holds files shared by all exercises plus a script that synchronizes all exercises with the contents of that directory. This way we have a single source of truth in templates, the sync to all exercises happens automatically. By having the script return a non-zero exit code if it made any changes, we can also use that in a pre-commit check in CI.
We should setup something similar here as well and also use that chance to upgrade Catch2 and CMake scripts.
Note: Not having to copy files in the first place, but instead referencing a single source of truth wherever it is needed, would obviously be the much cleaner solution here, but due to the way the Exercism downloader works, for now exercises need to be self-contained.
- 主要言語
- C++
- スター
- 291
- フォーク
- 245
- 平均マージ
- 4時間 37分
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
exercism/cpp のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
似ている issue
-
HasBacktrace Priority-Critical
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
azerothcore/azerothcore-wotlk#27921 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
yhirose/cpp-peglib#344 ·
-
bug-unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
shadps4-emu/shadps4-qtlauncher#453 ·
メンテナーはふだん 2 日以内に返信