-
Notifications
You must be signed in to change notification settings - Fork 27
Separate cli and gui #415
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
base: integration
Are you sure you want to change the base?
Separate cli and gui #415
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## integration #415 +/- ##
==================================================
+ Coverage 0.00% 18.33% +18.33%
- Complexity 0 48 +48
==================================================
Files 2 8 +6
Lines 8 709 +701
Branches 0 107 +107
==================================================
+ Hits 0 130 +130
- Misses 8 562 +554
- Partials 0 17 +17 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
how can i install veraPDF with the help of winget? |
|
@hueldoeu the veraPDF installer is based on izPack, which is a generic Java-based installer. It does into include WinGet manifest. There is however a way to install veraPDF from command line as described here: https://docs.verapdf.org/install/#automated-installation BTW, your question doesn't seem to be related to this particular PR. If this is indeed the case, it would be better to post an issue in veraPDF-library repository. |
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.
So I like this all in all. I do have some comments as to the final build products and installer behaviour, but they're optimisations.
I'm not in love with the two fat jars approach, I know that we mentioned it in the call. This means a full install's bin directory looks like:
total 18M
drwxr-xr-x 2 cfw cfw 4.0K Jun 13 10:37 .
drwxr-xr-x 7 cfw cfw 4.0K Jun 13 10:37 ..
-rwxr-xr-x 1 cfw cfw 8.7M Jun 13 10:11 cli-1.29.0-SNAPSHOT.jar
-rwxr-xr-x 1 cfw cfw 8.9M Jun 13 10:11 gui-1.29.0-SNAPSHOT.jarNearly twice as big as before. I think we need to break the jars/modules apart for deployment. I'd also be interested to see what gets deployed to Maven, but we can review then.
My only other observation is regarding installation and clean-up. If you install on top of an old installation and change between CLI/GUI the jars in the bin directory get "cleaned" by the installer, i.e. installing the CLI will remove any existing GUI jar and vice-versa. The installer doesn't tidy up the corresponding script files so you are left with a "broken" verapdf-gui script:
$ ./verapdf-gui
Error: Could not find or load main class org.verapdf.apps.GreenfieldGuiWrapper
Caused by: java.lang.ClassNotFoundException: org.verapdf.apps.GreenfieldGuiWrapperWe should remove the unused script as well if possible, this could perhaps be done before merging.
No description provided.