Compare commits

...

14 Commits

Author SHA1 Message Date
Johannes Meyer
ac844e6464 composer.json: Raise ipl/orm requirement 2025-07-14 13:53:18 +02:00
Johannes Meyer
2afd0f67eb Update README.md 2025-05-22 13:18:57 +02:00
Johannes Meyer
84c91fbac0 composer.json: Raise ipl-web requirement 2025-05-22 12:57:40 +02:00
Johannes Meyer
3e895ee7e6 RELEASE.md: Update docker example 2025-05-22 11:25:22 +02:00
Johannes Meyer
7b1ea02863 Remove patch for ramsey/collection
It's obsolte now since the raise to PHP 8.2
2025-05-21 13:15:39 +02:00
Johannes Meyer
ce45fede7e Raise required PHP version to 8.2 2025-05-21 13:15:29 +02:00
Johannes Meyer
ca92d8e26e composer.json: Raise required versions 2024-07-15 09:51:48 +02:00
Johannes Meyer
611ca4161b make-release.sh: Properly handle file names with whitespace 2023-12-13 16:24:13 +01:00
Johannes Meyer
42dff4b0f6
Merge pull request #25 from Icinga/fix-autoloading
Fix autoloading
2023-10-27 09:47:10 +02:00
Johannes Meyer
b89aa9dfab Transfer ramsey/collection patch from icinga-php-thirdparty 2023-10-27 09:43:48 +02:00
Johannes Meyer
65a24000de Revert "Merge pull request #22 from Icinga/avoid-child-dependency-installs"
This reverts commit 71c4555ff2a5cceecb6e4b23bb5b3354c22c7444, reversing
changes made to 435e443a4122da64f92baaa054d65c36bebab77f.
2023-10-27 09:26:48 +02:00
Johannes Meyer
71c4555ff2
Merge pull request #22 from Icinga/avoid-child-dependency-installs
Avoid child dependency installs
2023-10-19 16:46:12 +02:00
Johannes Meyer
666262b018 Make sure no release contains thirdparty libraries 2023-10-19 16:43:02 +02:00
Johannes Meyer
7330e414a6 Add metapackage to avoid child dependency installs 2023-10-19 16:42:37 +02:00
4 changed files with 19 additions and 19 deletions

View File

@ -5,7 +5,7 @@ This project bundles all Icinga PHP libraries into one piece and can be integrat
## Requirements
* [Icinga Web 2](https://github.com/Icinga/icingaweb2) (>= 2.9)
* PHP (>= 7.2)
* PHP (>= 8.2)
## Bundled Parts
@ -26,7 +26,7 @@ path for Icinga Web 2 installations is: `/usr/share/icinga-php`
Download or clone this repository there (e.g. `/usr/share/icinga-php/ipl`) and you're done.
> **Note**: Do NOT use the default branch, it will not work! Checking out a
> branch like `stable/0.10.1` or a tag like `v0.10.1` is fine.
> branch like `stable/0.16.0` or a tag like `v0.16.0` is fine.
### Examples
@ -34,7 +34,7 @@ Download or clone this repository there (e.g. `/usr/share/icinga-php/ipl`) and y
```sh
INSTALL_PATH="/usr/share/icinga-php/ipl"
INSTALL_VERSION="v0.10.1"
INSTALL_VERSION="v0.16.0"
mkdir "$INSTALL_PATH" \
&& wget -q "https://github.com/Icinga/icinga-php-library/archive/$INSTALL_VERSION.tar.gz" -O - \
| tar xfz - -C "$INSTALL_PATH" --strip-components 1
@ -44,6 +44,6 @@ mkdir "$INSTALL_PATH" \
```
INSTALL_PATH="/usr/share/icinga-php/ipl"
INSTALL_VERSION="stable/0.10.1"
INSTALL_VERSION="stable/0.16.0"
git clone https://github.com/Icinga/icinga-php-library.git "$INSTALL_PATH" --branch "$INSTALL_VERSION"
```

View File

@ -8,4 +8,4 @@ e.g.
## Docker Example
docker run -it -v $(pwd):/tmp/pwd -w /tmp/pwd -v $(realpath ~/.gitconfig):/tmp/user/.gitconfig -e "HOME=/tmp/user" -u $(id -u):$(id -g) dev-docker_web72 bin/make-release.sh 1.0.0 --no-tag
docker run -it -v $(pwd):/tmp/pwd -w /tmp/pwd -v $(realpath ~/.gitconfig):/tmp/user/.gitconfig -e "HOME=/tmp/user" -u $(id -u):$(id -g) dev-docker_web82 bin/make-release.sh 1.0.0 --no-tag

View File

@ -35,15 +35,15 @@ rm -rf asset vendor
rm -f composer.lock
composer install --no-scripts || fail "composer install failed"
composer run-script post-update-cmd -- copy-assets
find vendor/ -type f -name "*.php" \
| grep -v '/examples/' \
| grep -v '/example/' \
| grep -v '/tests/' \
| grep -v '/test/' \
| xargs -L1 git add -f
find vendor/ -type f -name LICENSE | xargs -L1 git add -f
find vendor/ -type f -name '*.json' | xargs -L1 git add -f
find asset/ -type f | xargs -L1 git add -f
find vendor/ -type f -name "*.php" -print0 \
| grep -z -v '/examples/' \
| grep -z -v '/example/' \
| grep -z -v '/tests/' \
| grep -z -v '/test/' \
| xargs -0 -L1 git add -f
find vendor/ -type f -name LICENSE -print0 | xargs -0 -L1 git add -f
find vendor/ -type f -name '*.json' -print0 | xargs -0 -L1 git add -f
find asset/ -type f -print0 | xargs -0 -L1 git add -f
echo "v$VERSION" > VERSION
git add VERSION
git add composer.lock -f

View File

@ -7,19 +7,19 @@
"config": {
"sort-packages": true,
"platform": {
"php": "7.2.9"
"php": "8.2"
}
},
"require": {
"php": ">=7.2",
"php": ">=8.2",
"ipl/html": "^0.8.0",
"ipl/i18n": "^0.2.0",
"ipl/orm": "^0.6.0",
"ipl/orm": "^0.7.0",
"ipl/scheduler": "^0.1.0",
"ipl/sql": "^0.7.0",
"ipl/stdlib": "^0.13.0",
"ipl/stdlib": "^0.14.0",
"ipl/validator": "^0.5.0",
"ipl/web": "^0.9.0"
"ipl/web": "^0.11.0"
},
"require-dev": {
},