chainguard-dev / chainguard-dev/malcontent

Expose less awkward `Files` type in `Report` struct

Open
#741 1 comment 0 reactions 1 assignee View on GitHub

@egibs is already working on this.

Since Dec 30, 2024.

Dominant language
YARA
Stars
675
Forks
63
Avg merge
23h 9m
Merged PRs (30d)
24

Description

We should store Files as a map[string]*FileReport type rather than sync.Map in the Report struct. We can use an intermediary struct for the concurrent operations and then build the final report with the more friendly type.

I already have working code for this and should have the PR up soon.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.