-
Notifications
You must be signed in to change notification settings - Fork 51
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
CLI: sync report logic \w Linguist #214
Conversation
This does not change the logic of the generatro but only renames/moves some vars for readability Signed-off-by: Alexander Bezzubov <[email protected]>
Signed-off-by: Alexander Bezzubov <[email protected]>
This includes next main changes: - default: print only Programming and Markup types as Linguist does - `-prog` option replaced with `-all`, to allow for previous behavior - always use GetLanguage as main source of truth that fixes src-d#204 and perf will be restored under src-d#212 Signed-off-by: Alexander Bezzubov <[email protected]>
Signed-off-by: Alexander Bezzubov <[email protected]>
Signed-off-by: Alexander Bezzubov <[email protected]>
Signed-off-by: Alexander Bezzubov <[email protected]>
Here is the output of enry from this PR and linguist 7.3.0
\cc @creachadair @dennwc it's ready to be reviewed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor suggestions and a couple questions, but generally this looks good to me.
Signed-off-by: Alexander Bezzubov <[email protected]>
Signed-off-by: Alexander Bezzubov <[email protected]>
@creachadair thank you for detailed review! All feedback was addressed and it's ready for another round. Meanwhile, I'll going to look into CI failures. |
CI failure looks irrelevant - they did pass before but then, after the doc update it started to fail on multiple runs on go 1.11 profile.
If no objections, going to fixing those in a subsequent PRs. |
Co-Authored-By: bzz <[email protected]>
Fixes #204 by adjusting Enry CLI app behavior according to Linguist upstream.
-mode=bytes
and make it default, fixes CLI: -mode=line reports bad results #215