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

generic: add "AffectedFiles" field to Changelist and use it to determine category #11

Closed
stamblerre opened this issue Feb 22, 2022 · 1 comment

Comments

@stamblerre
Copy link
Owner

For changelists without the "pkg/path: message" format of description, it is difficult to make a categorization.
We should add the list of files in the changelist to the generic.Changelist struct, and then use that to extract a category if none exists. The best way to do that would probably be to count directories and choose the most common one or the most common parent.

@stamblerre
Copy link
Owner Author

Done in 5afd537.

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