gardenlinux / python-gardenlinux-lib

Contains tools to work with the features directory of gardenlinux, for example deducting dependencies from feature sets or validating cnames
0 stars 0 forks source link

Add debsource parser from GLVD #31

Closed fwilhe closed 1 month ago

fwilhe commented 1 month ago

What this PR does / why we need it: Adds a re-usable parser for the debsource file format. This is used in glvd and scripts in gardenlinux/gardenlinux, so it might make sense to have it here for re-use. It seems general enough to justify that.

Which issue(s) this PR fixes: Fixes #12

Special notes for your reviewer: The test and the 'user interface' of the api are very rough, just to start with something. This can be improved for sure but I wanted to timebox this.

Vincinator commented 1 month ago

@fwilhe Looked good to me. Makes sense to have it in a module.

Just moved the other .py file to the new apt module as well https://github.com/gardenlinux/python-gardenlinux-lib/commit/d0f1568b232b1d9af55b53ca5918b520633f2db8