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

Migrate to parsing APT JSON output for dependency calculation #1976

Closed
tale opened this issue Apr 18, 2022 · 0 comments
Closed

Migrate to parsing APT JSON output for dependency calculation #1976

tale opened this issue Apr 18, 2022 · 0 comments
Assignees
Labels
dependency Issues pertaining to the calculation of dependencies high High priority level. Should be fixed in the next beta.

Comments

@tale
Copy link

tale commented Apr 18, 2022

Describe the bug
Zebra is rather infamous for sometimes miscalculating dependencies or not having complete calculation parity to what Debian Packager and APT will determine needs to be done.

Solution
Instead of calculating dependencies on Zebra, we should let the system do it by utilizing the APT JSON output made available through patches to Procursus and Elucubratus. Using the -oAPT::Format::for-sileo=true and -oAPT::Format::JSON=true command-line flags will output this JSON for raw parsing.

Additional context
Since this is related to dependencies, it's important that this code is thoroughly tested. There is no margin for error here as bugs could install incorrect dependencies or create bigger issues.

@tale tale added dependency Issues pertaining to the calculation of dependencies high High priority level. Should be fixed in the next beta. labels Apr 18, 2022
@tale tale self-assigned this Apr 18, 2022
@elihwyma elihwyma closed this as completed Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Issues pertaining to the calculation of dependencies high High priority level. Should be fixed in the next beta.
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants