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

Change: make Csaf Downloader usable as library #6

Merged
merged 12 commits into from
Apr 17, 2024
Merged

Conversation

mgoetzegb
Copy link
Member

@mgoetzegb mgoetzegb commented Apr 16, 2024

What

Make Csaf Downloader usable as library:

  • move csaf downloader to a separate package
  • make all relevant config options accessible
  • add option to forward the downloaded csafs to a channel
  • return errors on issues (so far they were mostly only logged)
    • also add custom error types (ErrNetwork, ErrInvalidCsaf, ErrCsafProviderIssue, ErrInvalidCredentials, ErrRetryable)

Why

We want to use the csaf downloader as library in our code.

Checklist

  • Tests

Copy link

Conventional Commits Report

😢 No conventional commits found.

👉 Learn more about the conventional commits usage at Greenbone.

@mgoetzegb mgoetzegb merged commit 9ac7b05 into main-gb Apr 17, 2024
3 of 5 checks passed
@mgoetzegb mgoetzegb deleted the csaf-dl-library branch April 17, 2024 11:09
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.

2 participants