-
Notifications
You must be signed in to change notification settings - Fork 92
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: correct detection of obsolete files with double asterisk pattern #794
Conversation
@andrii-bodnar @finebel This should be it. |
@anbraten thanks a lot for your contribution! 🚀 The build has failed, could you please take a look? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #794 +/- ##
============================================
+ Coverage 63.78% 63.80% +0.03%
- Complexity 1505 1506 +1
============================================
Files 220 220
Lines 6297 6298 +1
Branches 944 944
============================================
+ Hits 4016 4018 +2
Misses 1778 1778
+ Partials 503 502 -1 ☔ View full report in Codecov by Sentry. |
@finebel could you please download the build and check whether it fixes the issue for you? https://github.com/crowdin/crowdin-cli/actions/runs/9093764457 (artifacts) You can run it as follows: java -jar crowdin-cli-x.x.x.jar push |
@anbraten Thanks for the fast implementation. With https://github.com/crowdin/crowdin-cli/actions/runs/9093764457 I can't reproduce the issue described in #790 👍. However, I encountered the following behaviour. I'm not sure whether it's a bug or intended. It might also be unrelated to the new changes 1.
|
@finebel thanks for confirming that the original issue is now fixed 🚀 I think the second issue is somehow related to the double |
Lemme do some more testing and check if I can fix that issue directly as well. |
That issue seems to be coming from a completely different part now. The
I get this |
Hmm, so I guess it happens at the moment the source files are uploaded to Crowdin when the CLI gets the patterns, transforms |
Just as a side note: It's much more important to me that the issue in #790 is fixed now. At the moment, I don't have a use case which would require the second issue to be solved (I encountered it mainly out of curiosity). Of course, it would be nice to see the second issue solved as well - but I guess it would be sufficient to fix it as part of a new PR if it's not trivial. |
Definitely, I am going to release a new version with the fix tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
closes #790