-
-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
plantuml-server 1.2021.12 -> 1.2022.2 #163431
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
@nazarewk I encountered this problem as well when I tried to update this package. My workaround was to use a different jdk I didn't go through with it since the output hash of deps kept changing. |
How about changing in the Also, is there any kind of documentation that says what is the required version of the JDK for this? |
Looks like it requires JDK 11+ and Maven 3.0.2+ https://github.com/plantuml/plantuml-server/blob/0330b7c4a20292082465c021ec415cc013167998/README.md?plain=1#L27-L30 |
9672722
to
fb06ca6
Compare
Why not using |
This is the same for |
Then maybe we should open an issue upstream ? |
I mean the output is unstable for both |
Looks like timestamps in output
|
Looks like there is |
fb06ca6
to
73a4a55
Compare
FYI: |
Has this been tested if so I will merge |
looks like this actually doesn't work yet due to switching from |
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.
There are three stable versions of Jetty: 9.4, 10, and 11.
Since there are no other packages in Nixpkgs which use Jetty, I'm OK with upgrading the Jetty package to version 11.
If other packages arise in the future needing version 9.4 or 10, I'll deal with it then.
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.
LGTM
I did a little bit of testing. When I started the service from this branch SVG generation didn't work. I was able to fix the problem by replacing The error is My test setup:
|
Yeah, i finished yesterday with the same error, thanks for tracking it down. |
updated because plantuml-server requires Jetty 11+
- changed JDK version to 17 (11+ required) - added maven build reproducibility
b8fb490
to
4ea5398
Compare
I have tested it with |
This broke the build on Hydra, I think: https://hydra.nixos.org/eval/1748939?filter=plantuml#tabs-now-fail |
Any idea what is wrong? I have trouble pinpointing the issue (responsible logs or anything) |
Locally I'm getting
|
what system are you on? |
x86_64 NixOS. This build was |
looks like i did not in fact have latest master |
@nazarewk did it rebuild the deps for you or were the deps still in your nix store? |
I've Might be that dependencies are not pinned in |
I think it's likely that the maven artifacts in the repository are mutable. |
Maybe it would be better to just download the war file from the Github release and call it a day. |
after merging NixOS#163431 `plantuml-server-*-deps` derivation turned out unstable, this commit switches to fetching `plantuml.war` directly from releases
Description of changes
Suplements #163416 in updating
plantuml
suite to consistent versions.There were following issues resolved on the way:
plantuml-server
required 11+ version of JDK, updated the module to keep consistent versions,*.war
output packageplantuml-server
started requiring Jetty 11+ (due tojavax
being renamed tojakarta
for legal reasons)Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
):services.plantuml-server
command from this branch results:http://127.0.0.1:7890/plantuml
in the browsernixos/doc/manual/md-to-db.sh
to update generated release notes