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

Strip trailing dir separator for translated file paths in ITunesLoader #952

Merged
merged 9 commits into from
Dec 5, 2024

Conversation

Poeloe
Copy link
Contributor

@Poeloe Poeloe commented Nov 19, 2024

Fixes #947

@Poeloe Poeloe requested a review from Miauwkeru November 19, 2024 12:58
@Poeloe Poeloe self-assigned this Nov 19, 2024
Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.70%. Comparing base (9875243) to head (2c99b6e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #952      +/-   ##
==========================================
+ Coverage   77.69%   77.70%   +0.01%     
==========================================
  Files         326      326              
  Lines       28481    28481              
==========================================
+ Hits        22127    22131       +4     
+ Misses       6354     6350       -4     
Flag Coverage Δ
unittests 77.70% <100.00%> (+0.01%) ⬆️

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

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

@@ -288,7 +288,7 @@ def translate_file_path(domain: str, relative_path: str) -> str:
package_name = ""
Copy link
Contributor

Choose a reason for hiding this comment

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

could you also make a test to show this behaviour?

@Poeloe Poeloe force-pushed the fix/strip-translated-file-path branch from ee2410a to 197f946 Compare December 2, 2024 14:52
Miauwkeru
Miauwkeru previously approved these changes Dec 5, 2024
Co-authored-by: Erik Schamper <[email protected]>
Miauwkeru
Miauwkeru previously approved these changes Dec 5, 2024
Co-authored-by: Erik Schamper <[email protected]>
@Poeloe Poeloe requested a review from Schamper December 5, 2024 14:30
@Poeloe Poeloe merged commit 79aa5dd into main Dec 5, 2024
18 of 20 checks passed
@Poeloe Poeloe deleted the fix/strip-translated-file-path branch December 5, 2024 14: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.

iTunes DOMAIN_TRANSLATION path not visible in target-shell
3 participants