BluePKG provides a full package management system for the IBM i platform. The main program is a native client (written in RPG) which can install one or more packages from various sources (local or the internet).
Wouldn't it be nice to just enter one line on the console to install a program with all its dependencies?
The goal of this project is to provide a native client in compiled form to just download and run.
What Software can I install with this client?
The idea is to package all open source software available for IBM i platform.
The following projects might be candidates to be packaged:
- JSON service program
- C headers for the standard C functions
- linked list service program
- DSM (dynamic screen manager)
- HTTP client
- STOMP client
If your project is not listed here and you would like to get your software packaged then just drop me a mail, email@example.com .
How do I get set up?
At the moment there is no precompiled object so it must be build from source code. Easiest way is to clone this repository. An rpm package is included in the repository for testing.
To compile the main program execute the following commands (adjust path and lib):
CHGCURDIR '/path/to/your/cloned/repo' CRTRPGMOD MODULE(BLUEPKG_UT) SRCSTMF('bluepkg_util.rpgle') CRTRPGMOD MODULE(BLUEPKG) SRCSTMF('bluepkg.rpgle') CRTPGM PGM(BLUEPKG) MODULE(BLUEPKG BLUEPKG_UT) CALL BLUEPKG
To run the unit test you need to have RPGUnit installed and execute the following commands (you need to adjust path, library and include dir):
CHGCURDIR '/path/to/your/cloned/repo' CRTRPGMOD MODULE(BLUEPKG_U1) SRCSTMF('unittest/bluepkg_ut_1.rpgle') CRTSRVPGM SRVPGM(BLUEPKG_U1) MODULE(BLUEPKG BLUEPKG_UT BLUEPKG_U1) EXPORT(*ALL) BNDSRVPGM(RUTESTCASE) RUCALLTST TSTPGM(BLUEPKG_U1)
You can contribute in any way you like. Just do it! =)
Take a look at the wiki to get into the project.
Who do I talk to?
Mihael Schmidt , firstname.lastname@example.org