Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split out parse_features logic into an importable library #19

Closed
mxmxchere opened this issue Aug 13, 2024 · 2 comments
Closed

Split out parse_features logic into an importable library #19

mxmxchere opened this issue Aug 13, 2024 · 2 comments
Assignees
Milestone

Comments

@mxmxchere
Copy link
Contributor

The builder has the parse_features tool. It provides core functionality that we need for the gl-oci project as well. Therefore, we should extract the core functionality (parse the features-folder and provide a query interface to retrieve, resolved dependecies) of the tool to its own GitHub repository and make it available as a library.
parse_features in gl/builder will remain at its current place but will facilitate the library that has been split out. The tool's behaviour must not change.

Inclusion method into gl/builder/parse_features: to be determined: git clone, wget+checksum, apt packaging, pypi,...
Inclusion method for gl-oci: git+ syntax

@mxmxchere
Copy link
Contributor Author

We now have a state that is usable in https://github.com/gardenlinux/parse_features_lib The two core functions of parse_features have been split out, no change to the logic. So it should not cause any issues to include the functions from parse_features_lib. We also tried to use those two functions in an external program which worked. An example can be found in the README.

@pnpavlov pnpavlov added this to the 2024-08 milestone Aug 15, 2024
@Vincinator
Copy link
Contributor

@Vincinator Vincinator transferred this issue from gardenlinux/gl-oci Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants