-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Hard fork process #11735
Comments
Can we aim to have as few feature patches as possible? their existence kind of defeats the purpose of per-file patches, as what you see in the patch files isn't what you get, since it will be overwritten by the feature patches, also they cause errors with fixuppatches if you dare to modify a file that feature patches also touch |
This is probably better to discuss on the discord, but generally it’s very dependent on the feature itself for whether or not it becomes a feature patch… especially when it’s very diff noisy, so allowing it to be dropped on updates easily is just undeniably useful. They don’t defeat the purpose at all, they are there for a separate purpose roughly. |
While doing a hard fork, do you think it would be viable option to switch to GraalVM native image? This would drastically improve performance while sacrificing the garbage collector which means that plugin developers would have to be more careful. I think the advantages outweigh the disadvantages |
No, there is no interest in burning the entire ecosystem to adopt an alternative JVM platform which comes with its own pros and cons. native images do not support loading jar files and would require a whole bunch of work to adopt a mechanism to support this for very limited gain. |
This comment has been minimized.
This comment has been minimized.
This isn't the best place to discuss this, @SolsticeSpectrum. You can join us on Discord and provide a spark report in #paper-help along with the issues you're facing and someone may be able to help you with your performance! |
We have to:
Tasks
Applying all patches will likely take a few weeks. Make sure to join our Discord for discussion and more fine-grained updates!
See our forum post for more information: https://forums.papermc.io/threads/the-future-of-paper-hard-fork.1451/.
You can also see our previous prep work on here: https://github.com/orgs/PaperMC/projects/6/views/1
Aaand you can see the current update branch here: https://github.com/PaperMC/Paper/tree/dev/hard-fork
For our dev team:
dev/hard-fork
, setcleanPaperRepo
in~/.gradle/gradle.properties
to a pre hard fork 1.21.4 Paper project sources root (Paper-Server/src/main/java)gradlew applyPatches
gradlew gibWork
gradlew checkWork
to move the file to the old repo; fix up compile issues; press enter (which will copy the files back)git commit --amend
in thepaper-server/src/vanilla/java
dirgradlew rebuildPatches
make sure IJ detected the new git repos:
The text was updated successfully, but these errors were encountered: