Re: how to upgrade ofbiz
Hi Nicolas, Thank you for taking the time to look at this. I am available for a call / chat on Slack as well. I would really love to see this through. The short term goal of the PR: - show that we can have OFBiz parts as libraries that we can publish and reuse. No more mandatory rebase, but still an option. - extract enough of OFBiz to allow splitinmg more as library Medium term goal is entity engine library and service engine library. Being able to use parts of OFBiz as librarries opens up a whole new world of posibilities: tooling and integrations that are hard / impossible to do. Also having libraries - makes code more robust - forces out dependencies and is easier to reason about when making changes. If I work on EntityEngine for example, I should not care about widget rendering or service layer that much since those should sit on top / be orthogonal to DB layer. Right now, every OFBiz change needs to take ALL of OFBiz into account, incluing private installations - since they might break. Doing the refactoring exercise surfaced a lot of cyclic dependencies between OFBiz classes and parts. Did you know entity engine code depends on widget rendering code or service execution code? I find that to be peculiar since I would think the dependency should be the other way around. (Well the dependency is cyclcic unfortunatelly). I think I will record the next session so people can watch it. It makes explainig much easier to follow IMO. Regards, Eugen La 13.12.2023 12:41, Nicolas Malin a scris: Hi Eugen Le 08/12/2023 à 19:05, Eugen Stan a écrit : Thanks Nicolas, Merging git / rebasing does not sound like a fun operation. How does it go in practice? How often do you encounter conflicts and how easy it is to deal with them. Do you usually make changes to the ofbiz source code? How do you add new components? I live with it well :) because we don't touch the framework and try to work mostly on dedicate plugin. The reason that we tried to improve OFBiz to support most extend cases through the plugin. I am doing some research to support my PR https://github.com/apache/ofbiz-framework/pull/678 . Yeah when we are on refactoring process I agree it's pain. I believe publishing libraries will open up new deployment options. Would love to hear your thoughs on that if you have time to check it out. I started a review of your PR, I'll try to do a constructive return, the time that I understand well your goal. Thanks for your work Eugen ! Nicolas Regards, Eugen La 08.12.2023 15:25, Nicolas Malin a scris: Hello Eugen, From our side, we have the ofbiz-framework dedicate on each project on our gitlab. We add the official repo on available git remote, fetch and merge the wanted branch on the following local branch. After rebase all depending branch to keep all up to date. If you are not connected to git, I think the better way is retrieve the patch between two release tags. Nicolas Le 08/12/2023 à 14:12, Eugen Stan a écrit : Hi, How does one upgrade OFBiz from one release to the other? Do you clone the repo and rebase your changes? Regards, -- Eugen Stan +40770 941 271 / https://www.netdava.com
Re: how to upgrade ofbiz
Hi Eugen Le 08/12/2023 à 19:05, Eugen Stan a écrit : Thanks Nicolas, Merging git / rebasing does not sound like a fun operation. How does it go in practice? How often do you encounter conflicts and how easy it is to deal with them. Do you usually make changes to the ofbiz source code? How do you add new components? I live with it well :) because we don't touch the framework and try to work mostly on dedicate plugin. The reason that we tried to improve OFBiz to support most extend cases through the plugin. I am doing some research to support my PR https://github.com/apache/ofbiz-framework/pull/678 . Yeah when we are on refactoring process I agree it's pain. I believe publishing libraries will open up new deployment options. Would love to hear your thoughs on that if you have time to check it out. I started a review of your PR, I'll try to do a constructive return, the time that I understand well your goal. Thanks for your work Eugen ! Nicolas Regards, Eugen La 08.12.2023 15:25, Nicolas Malin a scris: Hello Eugen, From our side, we have the ofbiz-framework dedicate on each project on our gitlab. We add the official repo on available git remote, fetch and merge the wanted branch on the following local branch. After rebase all depending branch to keep all up to date. If you are not connected to git, I think the better way is retrieve the patch between two release tags. Nicolas Le 08/12/2023 à 14:12, Eugen Stan a écrit : Hi, How does one upgrade OFBiz from one release to the other? Do you clone the repo and rebase your changes? Regards,
Re: how to upgrade ofbiz
Thanks Nicolas, Merging git / rebasing does not sound like a fun operation. How does it go in practice? How often do you encounter conflicts and how easy it is to deal with them. Do you usually make changes to the ofbiz source code? How do you add new components? I am doing some research to support my PR https://github.com/apache/ofbiz-framework/pull/678 . I believe publishing libraries will open up new deployment options. Would love to hear your thoughs on that if you have time to check it out. Regards, Eugen La 08.12.2023 15:25, Nicolas Malin a scris: Hello Eugen, From our side, we have the ofbiz-framework dedicate on each project on our gitlab. We add the official repo on available git remote, fetch and merge the wanted branch on the following local branch. After rebase all depending branch to keep all up to date. If you are not connected to git, I think the better way is retrieve the patch between two release tags. Nicolas Le 08/12/2023 à 14:12, Eugen Stan a écrit : Hi, How does one upgrade OFBiz from one release to the other? Do you clone the repo and rebase your changes? Regards, -- Eugen Stan +40770 941 271 / https://www.netdava.com
Re: how to upgrade ofbiz
Hello Eugen, From our side, we have the ofbiz-framework dedicate on each project on our gitlab. We add the official repo on available git remote, fetch and merge the wanted branch on the following local branch. After rebase all depending branch to keep all up to date. If you are not connected to git, I think the better way is retrieve the patch between two release tags. Nicolas Le 08/12/2023 à 14:12, Eugen Stan a écrit : Hi, How does one upgrade OFBiz from one release to the other? Do you clone the repo and rebase your changes? Regards,
how to upgrade ofbiz
Hi, How does one upgrade OFBiz from one release to the other? Do you clone the repo and rebase your changes? Regards, -- Eugen Stan +40770 941 271 / https://www.netdava.com
Re: How to Upgrade OFBiz
Best practice on the Wiki indicates that if the core modules need to be modified, to copy everything to another module and point everything back to the core modules. (What Nicolas said). On a side note, if anyone of the developers could show me how to update the documentation, I'd be willing to assist. On 2021/08/27 21:12:33, Bryan Boone wrote: > Thanks for the information Vivek. I was afraid that the case. > > I am not a principle developer, but in my experience, upgrades are > quintessential part of a well-formed software. What good is a software if > you install it once, and are stuck with the same thing forever as new things > are created? > > Obviously if someone modifies the core files, it would be impossible to > upgrade those files, without destroying the modifications. I don’t know if > there could be some type of checksum that pre-checks files to see if they can > be upgraded or not, then provide a report about why an upgrade cannot happen. > > Many other ERP softwares have created a methodology where modifications are > done as stand alone modules that are not affected by the core upgrades. With > other ERP software that has been built using LAMP, you can always upgrade the > core, and leave your modifications in tact. If for some reason you have to > modify the core, at least you can easily do a file diff and be back up and > running in almost no time. > > Unfortunately, OFBiz is becoming more and more unattractive to me as I learn > more about it. At this point I am thinking of abandoning OFBiz. > > The documentation is horribly outdated, unorganized, conflicting, and flat > out badly written. When you do find documentation, it speaks to you as > though you have been developing for OFBiz for a couple years already. I > watched all the Youtube videos and I still feel like a fish out of water with > it. > > Anyway, sorry for the rant, but thanks for the reply. > > > > > On Aug 27, 2021, at 5:59 AM, vivek mishra wrote: > > > > Hi Bryan, > > > > You will have to carefully take care of the customizations you have made to > > the ofbiz, which includes your custom entities, code in XML, java, ftl or > > groovy files. There is nothing readily available, the process is manual. > > > > > > On Thu, 26 Aug, 2021, 02:03 Bryan Boone, wrote: > > > >> Hi everyone. I see that a new version of OFBiz was recently released. > >> > >> I currently have an older version installed, 17.12.08. I don’t see any > >> documentation on how to upgrade to newer versions as they are released. > >> > >> Is there a document somewhere? > >> > >> thanks > >
Re: How to Upgrade OFBiz
Thanks for the information Vivek. I was afraid that the case. I am not a principle developer, but in my experience, upgrades are quintessential part of a well-formed software. What good is a software if you install it once, and are stuck with the same thing forever as new things are created? Obviously if someone modifies the core files, it would be impossible to upgrade those files, without destroying the modifications. I don’t know if there could be some type of checksum that pre-checks files to see if they can be upgraded or not, then provide a report about why an upgrade cannot happen. Many other ERP softwares have created a methodology where modifications are done as stand alone modules that are not affected by the core upgrades. With other ERP software that has been built using LAMP, you can always upgrade the core, and leave your modifications in tact. If for some reason you have to modify the core, at least you can easily do a file diff and be back up and running in almost no time. Unfortunately, OFBiz is becoming more and more unattractive to me as I learn more about it. At this point I am thinking of abandoning OFBiz. The documentation is horribly outdated, unorganized, conflicting, and flat out badly written. When you do find documentation, it speaks to you as though you have been developing for OFBiz for a couple years already. I watched all the Youtube videos and I still feel like a fish out of water with it. Anyway, sorry for the rant, but thanks for the reply. > On Aug 27, 2021, at 5:59 AM, vivek mishra wrote: > > Hi Bryan, > > You will have to carefully take care of the customizations you have made to > the ofbiz, which includes your custom entities, code in XML, java, ftl or > groovy files. There is nothing readily available, the process is manual. > > > On Thu, 26 Aug, 2021, 02:03 Bryan Boone, wrote: > >> Hi everyone. I see that a new version of OFBiz was recently released. >> >> I currently have an older version installed, 17.12.08. I don’t see any >> documentation on how to upgrade to newer versions as they are released. >> >> Is there a document somewhere? >> >> thanks
Re: How to Upgrade OFBiz
Hello, If you follow the best practice to develop your specific without change on the framework, just deploy the new ofbiz and load your plugins into. For other case all is on the wiki [1]. Nicolas [1] https://cwiki.apache.org/confluence/display/OFBIZ/Revisions+Requiring+Data+Migration+-+upgrade+ofbiz On 25/08/2021 22:33, Bryan Boone wrote: > Hi everyone. I see that a new version of OFBiz was recently released. > > I currently have an older version installed, 17.12.08. I don’t see any > documentation on how to upgrade to newer versions as they are released. > > Is there a document somewhere? > > thanks
Re: How to Upgrade OFBiz
Hi Bryan, You will have to carefully take care of the customizations you have made to the ofbiz, which includes your custom entities, code in XML, java, ftl or groovy files. There is nothing readily available, the process is manual. On Thu, 26 Aug, 2021, 02:03 Bryan Boone, wrote: > Hi everyone. I see that a new version of OFBiz was recently released. > > I currently have an older version installed, 17.12.08. I don’t see any > documentation on how to upgrade to newer versions as they are released. > > Is there a document somewhere? > > thanks
How to Upgrade OFBiz
Hi everyone. I see that a new version of OFBiz was recently released. I currently have an older version installed, 17.12.08. I don’t see any documentation on how to upgrade to newer versions as they are released. Is there a document somewhere? thanks