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

Add output customization options #8

Open
quasilyte opened this issue Dec 7, 2021 · 0 comments
Open

Add output customization options #8

quasilyte opened this issue Dec 7, 2021 · 0 comments

Comments

@quasilyte
Copy link
Owner

There are at least 2 use cases that require different output formats:

  1. Statistics analysis. Here we don't need the source locations, we only need to know the number of hits and maybe how they're distributed across the repositories.
  2. Search. In this case, we need as much location info as possible (filename, etc). We're interested not only to count the instances, but also find the exact source code locations.

So, for (1) we can aggregate similar results, keeping only the uniq ones. Exact source locations are not needed, they would only pollute the output.

For (2) we should not merge the results. Exact source locations are a must.

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

No branches or pull requests

1 participant