Skip to content

Conversation

@fmoessbauer
Copy link
Member

We observed cases in the field where a third party debian repo provider (in this case Artifactory) generates incorrect deb822 data. This error remained unnoticed, as apt itself does not extract the incorrect fields.

This patch makes the parser gracefully degradate by skipping incorrect entries but continuing anyways.

@fmoessbauer fmoessbauer force-pushed the fm/graceful-degradation branch from b8cc2b0 to a6b4bf3 Compare November 5, 2025 11:46
We observed cases in the field where a third party debian repo provider
(in this case Artifactory) generates incorrect deb822 data. This error
remained unnoticed, as apt itself does not extract the incorrect
fields.

This patch makes the parser gracefully degradate by skipping incorrect
entries but continuing anyways.

Signed-off-by: Felix Moessbauer <[email protected]>
The test data is taken from an Artifactory repository. Without graceful
degradation, this test fails.

Signed-off-by: Felix Moessbauer <[email protected]>
@fmoessbauer fmoessbauer force-pushed the fm/graceful-degradation branch from a6b4bf3 to f835c02 Compare November 5, 2025 11:47
@Urist-McGit Urist-McGit merged commit 645deee into main Nov 5, 2025
11 checks passed
@Urist-McGit Urist-McGit deleted the fm/graceful-degradation branch November 5, 2025 11:54
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

Successfully merging this pull request may close these issues.

3 participants