Moving rpg source from IBM i to github #1525
Replies: 6 comments 4 replies
-
I follow your question too |
Beta Was this translation helpful? Give feedback.
-
There are several ways to achieve this, and the best answer for you depends on your shop. If you already have a vendor relationship with companies like ARCAD, MDCMS, ROCKET, etc, I would check with them first, as they likely have tools for this. You must also realize that simply copying the source to the IFS is likely not going to be enough, depending on the build tools you plan on using. Getting the source to the IFS and compiling from it is easy, coming up with a build and deploy pipeline is more difficult - which is usually where vendors come in. If you are going it alone, here are a couple of free options to get you started: Option 1.@worksofliam has an option named 'migrate'. I haven't personally used this, but as I recommend pretty much anything Liam does, I'm sure it works beautifully. Look at the project readme page for instructions, seems pretty straight forward. Liam typically uses 'make' files to build his objects. Here is a sample Github project that uses make: https://github.com/IBM/ibmi-company_system Option 2.If you plan on using BOB as your build tool, there is a BOB command https://ibm.github.io/ibmi-bob/#/prepare-the-project/convert-source-code I have done this and it converted thousands of our company's source members to stream file in pretty quick time - less than 5 minutes. With BOB, there is other setup needed as well, such as creating the project metadata file iproj.json, as well as the different rules.mk files. Its all outlined in the documentation. Here is an example github repo that uses BOB as the build tool, with examples of all the different types of objects that BOB can make: https://github.com/edmundreinhardt/bob-recursive-example |
Beta Was this translation helpful? Give feedback.
-
@lgiammattei ...
Everything @JDubbTX said is good as well. |
Beta Was this translation helpful? Give feedback.
-
As @JDubbTX said, BOB offers this support with |
Beta Was this translation helpful? Give feedback.
-
Thank you all, so many interesting ideas and aspects to reflect on.
|
Beta Was this translation helpful? Give feedback.
-
I have also published a sample project using git and make: Other topics include:
GeneralIf you want to use this as a common tool in your company, you should think about the strategy of how to integrate it into your current development. Since I use git, I work with all sources directly on my PC. DependenciesIn your makefiles you can define dependencies of objects.
PerformanceUsually, you will use make on your IBM i. Since almost any PC can handle this kind of IFS/PASE work better than the IBM i, I moved this work to the PC. UsabilityYou should ask yourself which way of developing (& deploying) can make your life easier and more comfortable. What happens if 2 developer are working on the same source and they need to be merged? I am using it for years and development makes much more fun since I moved to them. DeploymentFor this I use a separate branch. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hellò, in my shop we are thinking about moving our rpg(le), cl(le), dds and ddl souce file from iseries souce phisical file to a public repository such github or another one.
Do you know if is there any public tutorial, guide or whatever about this topic? I tried seaching with google but i haven't found anything really usefull.
I am trying to understand how compile and moving to production environment will work.
Beta Was this translation helpful? Give feedback.
All reactions