Menu

#8 Update Perst in Frost

v1.0 (example)
closed-fixed
None
5
2022-12-03
2022-10-06
No

Hi,

a lot of people still use Frost today. I use some parts of it for my tools
https://github.com/Spider-Admin/Spider
and
https://github.com/Spider-Admin/Frost-Repair

If you are familiar with Freenet:
Spider is used to create the freesites Clean-Spider and Spider. Clean-Spider is in the default bookmarks of Freenet.

My big task is to use OpenJDK wherever possible. Frost still uses Perst 4.21 which is not compatible with OpenJDK. There exists a newer version of Perst:
- 4.39: https://downloads.mcobject.com/pub/Perst_Java/perst-439.zip
- 1.3 (is newer than 4.39!): https://github.com/mcobject/perst

Please update Perst. Version 4.39 would improve compatibility for OpenJDK. Version 1.3 is the current version. It allows to grab the Perst library from the above custom maven repository while building Frost. So there is no need to put each jar in your SVN.

I am also willing to support you in update Perst in Frost, I even have some patches available to be merged.

Kind regards

Spider-Admin

Discussion

  • K. Graul

    K. Graul - 2022-10-10

    Hey, someone is still available here! I see no problem updating perst in Frost... do you already ran some tests with the new version, is the change transparent? You mentioned some existing patches created by you, can you open a PR ?

     
  • Spider-Admin

    Spider-Admin - 2022-10-11

    Here are the patches for Frost:
    https://github.com/Spider-Admin/Frost-Patches

    What is a PR?
    Git has pull requests, but you are using SVN, so this have to something different.

    I also tested com.mcobject.perst version 1.3-SNAPSHOT. It works very well. A patch for this would looks ugly, but actually I just had to search for "garret" in all files, open the file in Eclipse and press Ctrl+Shift+O to organize the imports.

     
  • K. Graul

    K. Graul - 2022-10-11

    Omg yes I forgot about SVN, used git only the last few years. I have no test or development setup atm but you seem to have one. I feel not ready to do any changes for this project. What about making you an author of this project and you the changes? You could then make a new release, too.

     
  • Spider-Admin

    Spider-Admin - 2022-10-20

    Thanks, sounds good.

    Indeed I have some kind of development environment:
    - Make changes in Eclipse
    - Build Frost using the bundled maven script

    Unfortunately I am not familiar with svn, so I converted the repository to git, which worked, but the history looks strange (almost empty).

    Perst 1.3-SNAPSHOT works fine with Frost. You have to change all imports, but Eclipse can do this with 2 clicks.

    Actually I want to change much more:
    - Switch from svn to git
    - Switch from maven to gradle (optional)
    - Update all dependencies to the latest version
    - Fix some bugs
    - Release Frost such that works with Java 8 and OpenJDK.

     
  • K. Graul

    K. Graul - 2022-10-21

    What about the project frost-next which is available on freenet for download. This project already made so much changes to make Frost working with the latest JDK versions, andalso the new perst version. Do you want to base on that version?

    For this project, should I make your current user Spider-Admin an authenticated user of the project? I need to dig into my archives, maybe I even find the keys to update the Frost project page on freenet and provide them to you... if you want them.

     
  • K. Graul

    K. Graul - 2022-10-26
     
  • Spider-Admin

    Spider-Admin - 2022-10-29

    Hi,

    sorry for my delayed answer.

    I am aware of Frost-Next. It has some new features, it is also compatible with OpenJDK, but the quality seems to me not very good (e.g. no version control, no own website, many bugs in new versions). So I would prefer to maintain Frost (and not Frost-Next). Surely I will be able to use parts of Frost-Next, but due to my years of experience as a software architect, I would not blindly adopt all features, but focus on quality.

    Yes, please make me, Spider-Admin, to an authenticated user of the project.

     
  • K. Graul

    K. Graul - 2022-10-31

    Added you to the project.

     

    Last edit: K. Graul 2022-10-31
  • K. Graul

    K. Graul - 2022-10-31
    • status: open --> closed-fixed
     
  • Spider-Admin

    Spider-Admin - 2022-12-03

    thanks

     

Log in to post a comment.