GoogleContainerTools / rules_distroless

Apache License 2.0
54 stars 33 forks source link

feat: support multiple components #85

Closed jjmaestro closed 2 months ago

jjmaestro commented 2 months ago

Add support for multiple sources.list components (e.g. "main contrib").

Before, all of the components were being parsed as one string which resulted in _fetch_package_index() failing.

See https://wiki.debian.org/SourcesList#sources.list_format and https://wiki.debian.org/DebianRepository/Format#Components.

[!NOTE]
This PR is stacked on top of #84, please review / comments for the first two commits in there.