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 write-protection in CMSIS_PACK_ROOT #55

Merged
merged 1 commit into from
Feb 19, 2024
Merged

Conversation

JonatanAntoni
Copy link
Member

@JonatanAntoni JonatanAntoni commented Feb 19, 2024

The check_pack function downloads missing dependency pdsc files into the CMSIS_PACK_ROOT/.Web folder. This download fails if the CMSIS_PACK_ROOT has write-protection enabled as done by cpackget for example. This fix considers the write-permission.

@codecov-commenter
Copy link

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (cebe15c) 69.93% compared to head (8718dea) 70.00%.

Files Patch % Lines
lib/patches 0.00% 4 Missing ⚠️
lib/helper 62.50% 3 Missing ⚠️
gen-pack 95.23% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #55      +/-   ##
==========================================
+ Coverage   69.93%   70.00%   +0.06%     
==========================================
  Files           7        7              
  Lines         662      690      +28     
==========================================
+ Hits          463      483      +20     
- Misses        199      207       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

The check_pack function downloads missing dependency pdsc files into the CMSIS_PACK_ROOT/.Web folder. This download fails if the CMSIS_PACK_ROOT has write-protection enabled as done by cpackget for example. This fix considers the write-permission.
Copy link

codeclimate bot commented Feb 19, 2024

Code Climate has analyzed commit a843b58 and detected 0 issues on this pull request.

View more on Code Climate.

@JonatanAntoni JonatanAntoni merged commit f74c807 into main Feb 19, 2024
5 checks passed
@JonatanAntoni JonatanAntoni deleted the write-protect branch February 19, 2024 14:39
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.

2 participants