This project allows you to download and install programs onto your IBM i system from GitHub (soon to be any Git repo)
Basic Package Manager for IBM i, tested on:
- 7.1
- 7.2
- 7.3
Currently, it only supports GitHub. This is because my hosted system doesn't have a version of Git, once my request has gone through to get it installed, you'll be able to use any Git repo.
If you want to get your RPG project on GitHub then please let me know on Gitter or by emailing me as I am more than willing to help. :-)
The current way of installing
- You'll need to get the source from this repo into a source member or IFS file - FTP / Copy+Paste via Rational Developer for i. I've been using
FFPKGMGR
as my development library, but the choice is your. CRTSQLRPGI OBJ(FFPKGMGR/RELIC) SRCFILE(FFPKGMGR/QRPGLESRC) SRCMBR(RELIC) COMMIT(*NONE) OPTION(*EVENTF) RPGPPOPT(*LVL2) REPLACE(*YES) DBGVIEW(*SOURCE)
to compile.- Should hopefully be installed.
OR
- Do a
git clone https://github.com/Club-Seiden/RelicPackageManager.git /home/[USER]/Relic/
where[USER]
is your user profile name (you also have to create the Relic directory). - Compile RELIC.RPGLE from the IFS (I use FFPKGMGR, you can use any) using
CRTSQLRPGI
withCOMMIT(*NONE)
.
- Find a GitHub repo you want to install onto your system, for example FFEDIT.
- There are three paramters to the RELIC program. The organisation or user the repo is in, the repo name and what library to use/install into. Run
CALl RELIC PARM('RelicPackages' 'FFEDIT' 'SOMELIB')
for FFEDIT to be installed into SOMELIB.
- Create a
build.txt
file in your repo. - A build file contains 3 sections.
dirs:
,files:
andbuild:
.dirs:
is the list of directories and sub-directories to be made.files:
is the list of sources/files to download onto your system.build:
is the commands to run after all directories and sources have been made.
You can find examples in any repo in the RelicPackages organisation.