Test disk-only profiles on a linked clone

オープン 初心者向け
#106 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
77/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
electron, typescript
領域
testing

調査の方向性

Wikiのリンクされたクローンのページとtests/integration/clones.test.tsを読む。issueでは、リンクされたクローンのディスクのみのプロファイルを取得して起動するシナリオが説明されている。プロファイルがoverlayをカバーし、その読み取り専用のベースが変更されないことを前提としていると説明する文を追加し、統合テストを追加する。テストが成功し、Wikiにこの制限が記載されたら完了。

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

説明

documentation tests

Profiles of a powered-off VM (#96, #98) are made with qemu-img snapshot -c, and take() checks existsSync(cfg.diskPath) first. A linked clone's disk is a small overlay on a read-only base. Snapshotting the overlay works, but that profile only covers the overlay. If the base ever changes (it shouldn't, but #70 and #71 are about the base file's life cycle), launching the profile boots on a different base.

Not a bug today, the base is never written to. Worth a sentence in the wiki's Linked clones page, and a test in tests/integration/clones.test.ts that takes and launches a disk-only profile of a linked clone, so nothing changes this without noticing.

主要言語
TypeScript
スター
3
フォーク
0
平均マージ
2分
マージ済み PR(30日)
59

環境構築

はじめの一歩

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

A21-devs/Virtual-Machine-Manager のほかの issue

A21-devs/Virtual-Machine-Manager の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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