EXT Filesystem Components#337
Conversation
EdwardLarson
left a comment
There was a problem hiding this comment.
Is there any dependencies that need to be installed? That is, is a change to the Dockerstub missing from this PR?
IIRC this doesn't work for Windows. I feel it's alright that this only works on Linux/Mac systems, if not ideal. The ComponentExternalTool being there can protect against trying to run it on Windows. I do think there should be a TODO comment somewhere in here explicitly saying Windows support is limited.
On macOS, there is a dependency that needs to be installed via While it's true that I haven't been able to find a version that works for Windows, I suspect that the |
|
In the interest of getting this merged in, we're omitting a packer for now. A packer is considerably more complicated to add because of cross-platform concerns with the normal workflow for making a populated EXT filesystem. Whereas for unpacking, the The workflow for packing usually involves:
This can all be done fairly easily from a Linux system, but for other OSes, the kernels lack support for EXT filesystems, so they cannot easily be mounted. The packer will likely have to involve some alternative, cross platform way to build and populate them. As such, we're waiting for a separate PR for the packer so that this work doesn't stall in the short-term. |
EdwardLarson
left a comment
There was a problem hiding this comment.
The debugf dependency should be "private" so as to not be imported elsewhere.
The test cases could maybe be combined into one class rather than a separate one for each EXT version, maybe with some clever pytest fixtures, but that's arguably harder to read and not important anyway.
Co-authored-by: Edward Larson <wasabiofip@gmail.com>
One sentence summary of this PR (This should go in the CHANGELOG!)
Add packers and unpackers for EXT filesystems (versions 2 through 4).
Anyone you think should look at this, specifically?
@whyitfor @EdwardLarson
Outstanding tasks: