age-series / ElectricalAge

Electrical Age (ELN) is a Minecraft Mod offering the ability to perform large-scale in-game electrical simulations.
Other
65 stars 30 forks source link

Rfgification #282

Closed OvermindDL1 closed 1 year ago

OvermindDL1 commented 1 year ago
    Convert to a brand new RFG buildscript.

    Imported the basic RFG migration set of files.
    Added minimal things to get it to 'compile' with errors.
    Fixed errors in source code, lots of warnings left still.
    Change the Version file to handle the Tags information now.
    The output jars work in a simple test environment now.

This is not in a complete state, at the very least there are questions left.

By default RFG puts output jars in the normal java format, which won't likely match what you were doing before. In addition RFG prefers reproducible builds, so no information like the build server host and such in the java since that breaks reproducibility and is bad for security as such, so that part is gone. Etc... I can answer questions. Play around with it, etc...

OvermindDL1 commented 1 year ago

For note, this was based on my last PR so the shown commits are larger than expected. Just look at the most recent commit for RFG related changes on top of my last commit.

jrddunbr commented 1 year ago

In addition RFG prefers reproducible builds, so no information like the build server host and such in the java since that breaks reproducibility and is bad for security as such, so that part is gone.

Yeah, that's fine. I did it because people were building their own jars and it was basically impossible to track down bugs as a result. Can we keep commit hash of the code in?

OvermindDL1 commented 1 year ago

Yeah, that's fine. I did it because people were building their own jars and it was basically impossible to track down bugs as a result. Can we keep commit hash of the code in?

Already is, in a form, in short this is what RFG does:

jrddunbr commented 1 year ago

I think this is good, but perhaps we should point this as 1.21.x and close the 1.20.x branch. This is a breaking change probably in one way or another and I think the 1.20.x branch has been long-lived enough.

jrddunbr commented 1 year ago

Effectively merged into 1.21.x

jrddunbr commented 1 year ago

All remaining comments can be implemented as follow-on PR's.