Skip to content

Commit

Permalink
debian: add source packages as source packages
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <[email protected]>
  • Loading branch information
hdonnay committed Mar 28, 2024
1 parent ca2cf92 commit db3b3e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debian/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,12 @@ func (u *updater) Parse(ctx context.Context, r io.ReadCloser) ([]*claircore.Vuln
NormalizedSeverity: normalizeSeverity(releaseData.Urgency),
Dist: d,
FixedInVersion: releaseData.FixedVersion,
Package: &claircore.Package{
Name: src,
Kind: claircore.SOURCE,
},
}
vs = append(vs, &v)

for _, bin := range u.sm.Get(d.VersionCodeName, src) {
// Shallow copy.
Expand Down

0 comments on commit db3b3e0

Please sign in to comment.