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

Update encoding to use locale based detection when parsing logs #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kuqin12
Copy link
Contributor

@kuqin12 kuqin12 commented Aug 20, 2021

Update encoding to use locale based detection when parsing logs.

This change also added the log handling/filtering of Chinese characters that was generated by VC compilers.

@codecov
Copy link

codecov bot commented Aug 20, 2021

Codecov Report

Merging #10 (a67c90e) into master (e20208a) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

❗ Current head a67c90e differs from pull request most recent head f877898. Consider uploading reports for the commit f877898 to get more accurate results
Impacted file tree graph

@@            Coverage Diff            @@
##           master     #10      +/-   ##
=========================================
- Coverage    4.31%   4.30%   -0.01%     
=========================================
  Files         175     175              
  Lines       81020   81022       +2     
=========================================
  Hits         3492    3492              
- Misses      77528   77530       +2     
Flag Coverage Δ
Linux 4.30% <0.00%> (-0.01%) ⬇️
Windows_NT 4.30% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
edk2basetools/build/build.py 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e20208a...f877898. Read the comment docs.

if MemTo is not None:
if "Note: including file:" == LineStr.lstrip()[:21]:
if "Note: including file:" == LineStr.lstrip()[:21] or\
"注意: 包含文件: " == LineStr.lstrip()[:10]:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this?

Do we need this in all supported languages?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is the Chinese counterpart of "Note: including file" lines from compiler. It will spew many lines for each c file it built. I think that's why it was there in the first place. Do you know by chance where to look up this information, other than testing installation on all locales? (I think this is specific to CL)

@mdkinney
Copy link
Member

mdkinney commented Mar 7, 2023

This has been open for a while. Is it still required?

@mdkinney mdkinney requested a review from BobCF March 7, 2023 23:49
@bcran bcran requested review from lgao4 and bcran June 16, 2024 16:31
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

Successfully merging this pull request may close these issues.

3 participants