Skip to content

Conversation

@fmoessbauer
Copy link
Member

By that, we get close to 95% code coverage. For details, please see the individual commits.

@fmoessbauer fmoessbauer force-pushed the fm/add-tests branch 2 times, most recently from c9ddcb4 to 8a92a8a Compare September 9, 2025 11:58
Fixes: 4d3cc54 ("feat: add client to query snapshot.debian.org")
Signed-off-by: Felix Moessbauer <[email protected]>
The snapshot service reportes the first_seen entry of a file as iso8601
timestamp instead of a unix timestamp. As we internally represent it as
an integer (unix timestamp), we need to convert it.

Fixes: 4d3cc54 ("feat: add client to query snapshot.debian.org")
Signed-off-by: Felix Moessbauer <[email protected]>
As we resolve the source package lazy, all methods that operate on an
invalid source package need to raise the NotFoundOnSnapshotError in case
it is missing. We now add this for the binpackages case, where currently
the generic SnapshotDataLakeError is thrown in this case.

Signed-off-by: Felix Moessbauer <[email protected]>
After downloading we clear the list of items to download so that we can
reuse the same object again.

Signed-off-by: Felix Moessbauer <[email protected]>
When downloading files, we return the on-disk path for each file after
download. By that, the caller does not need to guess the filename, but
can just examine the result. As we yield the data, the caller further
can track progress.

Signed-off-by: Felix Moessbauer <[email protected]>
Some tests interact with external services. Mark these, so we can easily
exclude them when testing in isolated environments.

Signed-off-by: Felix Moessbauer <[email protected]>
Signed-off-by: Felix Moessbauer <[email protected]>
@Urist-McGit Urist-McGit merged commit 1388dc9 into main Sep 9, 2025
5 checks passed
@fmoessbauer fmoessbauer deleted the fm/add-tests branch September 11, 2025 11:37
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