• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

asset/css/H13-Mar-2020-11288

bin/H13-Mar-2020-5343

vendor/H13-Mar-2020-22,37711,947

.gitignoreH A D13-Mar-202027 43

AssetLoader.phpH A D13-Mar-20202 KiB5344

LICENSEH A D13-Mar-20201.1 KiB2217

README.mdH A D13-Mar-20201.3 KiB5137

composer.jsonH A D13-Mar-2020794 3433

composer.lockH A D13-Mar-202015.1 KiB452451

module.infoH A D13-Mar-2020209 65

run.phpH A D13-Mar-202054 42

README.md

1Icinga Web 2 - IPL
2==================
3
4This module ships the new Icinga PHP library. Please download the latest
5release and install it like any other module.
6
7> **HINT**: Do NOT install the GIT master, it will not work! Checking out a
8> branch like `stable/0.5.0` or a tag like `v0.5.0` is fine.
9
10Sample Tarball installation
11---------------------------
12
13```sh
14MODULE_NAME=ipl
15MODULE_VERSION=v0.5.0
16MODULES_PATH="/usr/share/icingaweb2/modules"
17MODULE_PATH="${MODULES_PATH}/${MODULE_NAME}"
18RELEASES="https://github.com/Icinga/icingaweb2-module-${MODULE_NAME}/archive"
19mkdir "$MODULE_PATH" \
20&& wget -q $RELEASES/${MODULE_VERSION}.tar.gz -O - \
21   | tar xfz - -C "$MODULE_PATH" --strip-components 1
22icingacli module enable "${MODULE_NAME}"
23```
24
25Sample GIT installation
26-----------------------
27
28```sh
29MODULE_NAME=ipl
30MODULE_VERSION=v0.5.0
31REPO="https://github.com/Icinga/icingaweb2-module-${MODULE_NAME}"
32MODULES_PATH="/usr/share/icingaweb2/modules"
33git clone ${REPO} "${MODULES_PATH}/${MODULE_NAME}" --branch "${MODULE_VERSION}"
34icingacli module enable "${MODULE_NAME}"
35```
36
37Developer Documentation
38-----------------------
39
40### Add a new dependency
41
42    composer require author/library:version
43
44### Create a new release
45
46    ./bin/make-release.sh <version>
47
48e.g.
49
50    ./bin/make-release.sh 0.6.0
51