-
Notifications
You must be signed in to change notification settings - Fork 408
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 a --version switch #743
Comments
hey @rdeltour, we already parse the argument string for a Seems this was introduced as an alternative to the However, it's not documented anywhere. Not in commandline help What do you think, shall we just drop support for alternates |
Postponed to a later version, as this is causing conflicts with the current commandline arguments |
I'd like to get my feet wet as a contributor, and this seemed like a modest item. If I understand correctly, the "ready for implementation" tag makes it suitable to work on. Is this right? |
Hi @kamorrissey You are right that this issue is ready to be implemented. One thing I found in this project is that issues "ready for implementation" are usually well discussed and easy to get started with, as everything is in the open. This issue might have been left hanging because of the open-ended question in one of the later comments. Glad to see your contribution and welcome. Best regards |
Glad to see new volunteers, @kamorrissey! Welcome! If we can agree on having two different meanings for the |
+1, hi and welcome @kamorrissey 👋
It seems the current I agree that it can be pretty confusing with We’d have a couple options:
I don’t have a strong opinion; I don’t know if this option is heavily used out there. Option 3 is the less disruptive, but the most confusing. |
I've been considering it. I'm in favor of option 1, since the --help message does not mention --version. I already have a proposed implementation that I'm going to submit in a pull request. |
Sounds good to me! |
Created a pull request for review. |
PR #841 Awesome, thanks @kamorrissey 👏 We'll try to have a look asap! |
## Pull Request: Validation Corrections ### Description This pull request includes several corrections to improve the validation process in EPUBCheck. The changes address various issues identified during the validation of EPUB files. ### Changes Made - Corrected validation logic for EPUB version detection. - Improved error handling for invalid `dc:identifier` UUIDs. - Updated the validation rules for `--version` and `-version` command line options. - Enhanced file extension checks to include non-`.epub` files. - Adjusted the reporting of `file://` URLs to `INFO` level. ### Related Issues - Closes w3c#650 - Closes w3c#498 - Closes w3c#853 - Closes w3c#743 - Closes w3c#490 - Closes w3c#289 ### Testing - Added unit tests to cover the new validation rules. - Verified that the changes do not introduce any regressions. ### Additional Notes - Please review the changes and provide feedback. - Contributions from the community are welcome to further improve the validation process. Thank you for your support and contributions to EPUBCheck! --- **Contributors:** - @fradelycodes
The
epubcheck.jar
should have a--version
switch to display the version information only.The text was updated successfully, but these errors were encountered: