to_disk on Windows
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reading the existing Linux to_disk implementation on the main branch and its xattr-based cache handling. The issue proposes Windows caching, raw-to-VHDX conversion, and a Podman machine workflow, but does not name files or tests. Done would mean implementing and validating that Windows workflow; its design decisions are still open.
索引モデルが issue の本文から書いたものです。
説明
One of the first commands to implement on Windows is to_disk.
We should have a similar workflow as done on linux. This is my idea of it
-
Phase 0: Check for existing cached disk image
The current code uses extended attributes (xattrs) for handling the cache. On Windows this does not work as rustix cannot be imported. However, NTFS supports a kind of extended attributes (NTFS Alternate Data Stream) so we could try to use a library which is cross-platform (suggestions??), otherwise we should have a mechanism to store data in a sidecar metadata file or leverage the Registry. -
Phase 1: Validation and preparation
This should work similarly to what we have on the main branch. NTFS supports sparse file so we could reuse the current code. The difference is that we need to create a temporary image. We first create a raw image and then convert it to a vhd/vhdx image. -
Phase 3 -5
We create a new podman machine using hyper-v (which shares a volume where the final .vhdx image will be stored) and execute the code/scripts used for linux (maybe instead of using the source image as the installer environment we should use a custom image?), then we leverage qemu-img to convert the resulting .raw to .vhdx. The podman machine is deleted (or should we keep it there for bootc purposes and just stop it?) and the host is able to use the.vhdxfor further operations.
- 主要言語
- Rust
- スター
- 142
- フォーク
- 40
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 10
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bootc-dev/bcvk のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 45/100
bootc-dev/bcvk#416 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 50/100
メンテナーはふだん 2 日以内に返信
-
extend host testingオープン
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
bootc-dev/bcvk#386 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
似ている issue
-
llm translation
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
documentation good first issue trivial
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: layer.move to the place a layer already has fails and stops a script; with several layers it leaves an empty undo step対応中かも @jgregoriorincon が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
opengeos/RustGIS#2621 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue web
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信