-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add utility to validate ZIM folder and filename are OK #169
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #169 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 32 32
Lines 1393 1423 +30
Branches 240 243 +3
=========================================
+ Hits 1393 1423 +30 ☔ View full report in Codecov by Sentry. |
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.
It's OK except some naming for which I suggested alternatives.
Is this all necessary? I'm fine with it but I would have been satisfied with a single Exception and custom messages. This would fix the issue but with a smaller API extension.
I've started to build a cheatsheet to stop forgetting about these namings for Do not hesitate to contribute, you're probably way more aware than I am about all these
This was "necessary" because in warc2zim we have different exit codes depending on the problem encountered. I tend to consider that multiple exception is not a high price to pay in term of development or maintenance, and that it is important to keep open all potential use cases open in a shared library. |
4bb6937
to
f4176f0
Compare
I forgot to commit my changes, so none of your conversations are fixed in fact. Sorry, I've opened #171 with all fixes ... |
I will, but I only see them when it's not aligned 😉
Great.
It's the little things that piles up and end-up slowing down the whole project. |
Fix #163