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

chore: parse tags in utf8 explicitly in python #13163

Merged
merged 1 commit into from
Jul 26, 2023
Merged

chore: parse tags in utf8 explicitly in python #13163

merged 1 commit into from
Jul 26, 2023

Conversation

sfoster1
Copy link
Member

When we parse tags, we didn't explicitly set a codec for parsing the bytes. This is fine in most cases because the locale is set for utf-8, but in the docker container that builds buildroot the locale is C and that means ascii and that means that any tags that have utf-8 characters cause builds to fail.

When we parse tags, we didn't explicitly set a codec for parsing the
bytes. This is fine in most cases because the locale is set for utf-8,
but in the docker container that builds buildroot the locale is C and
that means ascii and that means that any tags that have utf-8 characters
cause builds to fail.
@sfoster1 sfoster1 requested a review from a team as a code owner July 25, 2023 16:52
@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Merging #13163 (c3ee603) into edge (57b7c9b) will increase coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             edge   #13163      +/-   ##
==========================================
+ Coverage   72.53%   72.59%   +0.05%     
==========================================
  Files        2359     2395      +36     
  Lines       64994    66082    +1088     
  Branches     7213     7369     +156     
==========================================
+ Hits        47143    47969     +826     
- Misses      16105    16353     +248     
- Partials     1746     1760      +14     
Flag Coverage Δ
app 71.35% <ø> (-0.01%) ⬇️
g-code-testing 96.44% <ø> (ø)
hardware 56.67% <ø> (+0.06%) ⬆️
notify-server 89.13% <ø> (ø)
shared-data 78.16% <ø> (-1.46%) ⬇️
system-server 96.07% <ø> (ø)
update-server 64.64% <ø> (ø)
usb-bridge 81.35% <ø> (ø)

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

see 42 files with indirect coverage changes

Copy link
Contributor

@Laura-Danielle Laura-Danielle left a comment

Choose a reason for hiding this comment

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

lgtm

@sfoster1 sfoster1 merged commit 8d6e391 into edge Jul 26, 2023
59 checks passed
@sfoster1 sfoster1 deleted the fix-tag-parse branch July 26, 2023 13:08
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