unikraft / kraftkit

Build and use highly customized and ultra-lightweight unikernel VMs.
https://unikraft.org/docs/cli
BSD 3-Clause "New" or "Revised" License
234 stars 62 forks source link

Introduce `.kraftignore` #135

Open nderjung opened 1 year ago

nderjung commented 1 year ago

This issue tracks ignoring files during either the build process (where files are recognised) or packaging process (where a filesystem is created), a .kraftignore file should exclude any glob-patterns from being used.

MdSahil-oss commented 1 year ago

HI! @nderjung is there anyone working on this issue, If not then I'd like to work on it :)

nderjung commented 1 year ago

Hi that's no problem. I just wanted to check in, you were also working on the configurable output format, would you like to swap project?

MdSahil-oss commented 1 year ago

@nderjung Yes! I'd like to work on this project until configurable output format project's decision has been made for the liberary https://github.com/kubernetes/cli-runtime/tree/master/pkg.

MdSahil-oss commented 1 year ago

@nderjung shoul I start working on it :)

nderjung commented 1 year ago

Hi @MdSahil-oss, this work is dependent on proper volume support within the context of both compiling files (and passing files to the relevant build system); building filesystems (e.g. CPIO); as well as, runtime file system mapping (e.g. 9pfs).

Please hold off on this project until an issue describing proper volume support in KraftKit is put together as it this will implicitly provide greater detail as to how .kraftignore will eventually work and how it can be implemented. I'll have time early next week to put a document together to describe the action items necessary. (:

MdSahil-oss commented 1 year ago

@nderjung Now, is there possiblity? to implement this feature in Kraftkit ?