Skip to content

Code duplication between composefs-rs and bootc #2017

@Johan-Liebert1

Description

@Johan-Liebert1

Currently, bootc cfs acts as a proxy to cfsctl which is basically implemented as copying the entirety of https://github.com/composefs/composefs-rs/blob/b9163a8f5a24879a1a51277c6d12f40dd074a70d/crates/cfsctl/src to some file in bootc.

One way to fix this would be to make the entire CLI api in composefs-rs public, but not sure if that's a good idea.

Another way is to always build cfsctl along with bootc and use the binary as a proxy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions