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

Fix UF2 file identification so that it works #283

Merged
merged 2 commits into from
Apr 14, 2023
Merged

Fix UF2 file identification so that it works #283

merged 2 commits into from
Apr 14, 2023

Conversation

whyitfor
Copy link
Contributor

@whyitfor whyitfor commented Apr 12, 2023

One sentence summary of this PR (This should go in the CHANGELOG!)
UF2 file identification was not working. This PR fixes this, and updates the tests to specifically test that identifcation works.

Please describe the changes in your request.

  • Add a Magic Mime identifier for UF2 files
  • Deletes custom Uf2FileIdentifier which was not working
  • Updates UF2 tests with a test to assert that identification works
  • Update UF2 unpack test to remove adding Uf2File tag (this was making the test pass even though the identifier wasn't working)

Anyone you think should look at this, specifically?
@sjossi

- Add a Magic Mime identifier for UF2 files
- Deletes custom Uf2FileIdentifier which was not working
- Updates UF2 tests with a test to assert that identification works
- Update UF2 unpack test to remove adding Uf2File tag (this was making the test pass even though the identifier wasn't working)
@whyitfor whyitfor requested a review from sjossi April 12, 2023 14:44
@sjossi
Copy link
Contributor

sjossi commented Apr 13, 2023

Good catch and thanks for the neat fix!

@whyitfor whyitfor merged commit cbbdca2 into master Apr 14, 2023
5 checks passed
@whyitfor whyitfor deleted the bugfix/uf2 branch April 27, 2023 14:06
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.

None yet

2 participants