Compare commits

...

9 Commits

Author SHA1 Message Date
Johannes Meyer
1e682710d9
Add deprecation notice 2021-07-13 08:22:26 +02:00
Johannes Meyer
649bdeaa76 README.md: Update version refs to v0.9.0 2021-02-16 15:56:25 +01:00
Johannes Meyer
62967011dc Require guzzlehttp/guzzle and guzzlehttp/psr7 2021-02-16 15:56:25 +01:00
Thomas Gelf
825f9e95c7 README: update version
fixes #8
2020-09-22 05:36:56 +02:00
Thomas Gelf
9ab4b2efed composer: upgrade to stable react/http and others
fixes #10
2020-09-22 05:31:12 +02:00
Thomas Gelf
342a1d15fc composer: raise versions 2019-09-13 17:53:02 +02:00
Thomas Gelf
b0c9f6d2b7 composer: require stdio 2019-09-12 22:50:38 +02:00
Thomas Gelf
61986dd131 make-release: fix module version string 2019-09-12 22:48:59 +02:00
Thomas Gelf
c699cdf689 LICENSE: add missing file 2019-05-20 12:47:43 +02:00
4 changed files with 47 additions and 15 deletions

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
The MIT License
Copyright (c) 2018 Icinga GmbH https://www.icinga.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -1,3 +1,10 @@
# DEPRECATED
The currently maintained version of this project can be found [here](https://github.com/Icinga/icinga-php-thirdparty).
💡 Some modules (e.g. the Director) still depend on this module. This module is still available for usage, so if you're on Icinga Web 2 v2.8.2 or lower please install v0.9.0.
💡 However, if you're on Icinga Web 2 v2.9.0 or higher, this module is **not** required anymore. Unless you're running the Director in version 1.8.0 or lower, v1.8.1 also doesn't require this module.
Icinga Web 2 - ReactPHP-based 3rd party libraries Icinga Web 2 - ReactPHP-based 3rd party libraries
================================================= =================================================
@ -6,14 +13,14 @@ for asynchronous PHP-based Icinga Web 2 modules. Please download the latest
release and install it like any other module. release and install it like any other module.
> **HINT**: Do NOT install the GIT master, it will not work! Checking out a > **HINT**: Do NOT install the GIT master, it will not work! Checking out a
> branch like `stable/0.6.0` or a tag like `v0.6.0` is fine. > branch like `stable/0.9.0` or a tag like `v0.9.0` is fine.
Sample Tarball installation Sample Tarball installation
--------------------------- ---------------------------
```sh ```sh
MODULE_NAME=reactbundle MODULE_NAME=reactbundle
MODULE_VERSION=v0.6.0 MODULE_VERSION=v0.9.0
MODULES_PATH="/usr/share/icingaweb2/modules" MODULES_PATH="/usr/share/icingaweb2/modules"
MODULE_PATH="${MODULES_PATH}/${MODULE_NAME}" MODULE_PATH="${MODULES_PATH}/${MODULE_NAME}"
RELEASES="https://github.com/Icinga/icingaweb2-module-${MODULE_NAME}/archive" RELEASES="https://github.com/Icinga/icingaweb2-module-${MODULE_NAME}/archive"
@ -28,7 +35,7 @@ Sample GIT installation
```sh ```sh
MODULE_NAME=reactbundle MODULE_NAME=reactbundle
MODULE_VERSION=v0.6.0 MODULE_VERSION=v0.9.0
REPO="https://github.com/Icinga/icingaweb2-module-${MODULE_NAME}" REPO="https://github.com/Icinga/icingaweb2-module-${MODULE_NAME}"
MODULES_PATH="/usr/share/icingaweb2/modules" MODULES_PATH="/usr/share/icingaweb2/modules"
git clone ${REPO} "${MODULES_PATH}/${MODULE_NAME}" --branch "${MODULE_VERSION}" git clone ${REPO} "${MODULES_PATH}/${MODULE_NAME}" --branch "${MODULE_VERSION}"
@ -48,4 +55,4 @@ Developer Documentation
e.g. e.g.
./bin/make-release.sh 0.6.0 ./bin/make-release.sh 0.9.0

View File

@ -36,7 +36,7 @@ find vendor/ -type f -name "*.php" \
| xargs -L1 git add -f | xargs -L1 git add -f
find vendor/ -type f -name LICENSE | 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 vendor/ -type f -name '*.json' | xargs -L1 git add -f
sed -i.bak "s/^Version:.*/Version: v$VERSION/" module.info && rm -f module.info.bak sed -i.bak "s/^Version:.*/Version: $VERSION/" module.info && rm -f module.info.bak
git add module.info git add module.info
git add composer.lock -f git add composer.lock -f
git commit -m "Version v$VERSION" git commit -m "Version v$VERSION"

View File

@ -16,29 +16,33 @@
"require": { "require": {
"php": ">=5.6.3", "php": ">=5.6.3",
"ext-curl": "*", "ext-curl": "*",
"clue/block-react": "^1.3", "clue/block-react": "^1",
"clue/buzz-react": "^2.5", "clue/buzz-react": "~2.7.0",
"clue/connection-manager-extra": "^1.1", "clue/connection-manager-extra": "^1.1",
"clue/http-proxy-react": "^1.4", "clue/http-proxy-react": "^1",
"clue/mq-react": "^1.1", "clue/mq-react": "^1.1",
"clue/redis-react": "^2.3", "clue/redis-react": "^2.3",
"clue/soap-react": "^1.0", "clue/soap-react": "^1.0",
"clue/socket-raw": "^1.4", "clue/socket-raw": "^1.4",
"clue/socks-react": "^1.0", "clue/socks-react": "^1",
"clue/stdio-react": "^2.3",
"evenement/evenement": "^2", "evenement/evenement": "^2",
"predis/predis": "^1.1", "predis/predis": "^1.1",
"psr/http-message": "^1", "psr/http-message": "^1",
"ramsey/uuid": "^3.8", "ramsey/uuid": "^3.8",
"react/child-process": "^0.6", "react/child-process": "^0.6",
"react/datagram": "^1.4", "react/datagram": "^1.5",
"react/dns": "^0.4", "react/dns": "^1",
"react/event-loop": "^1.1", "react/event-loop": "^1.1",
"react/http": "^0.8", "react/http": "^1",
"react/http-client": "^0.5", "react/http-client": "^0.5",
"react/promise": "^2.7", "react/promise": "^2",
"react/promise-stream": "^1",
"react/promise-timer": "^1.5", "react/promise-timer": "^1.5",
"react/socket": "^1.2", "react/socket": "^1",
"react/stream": "^1.1" "react/stream": "^1.1",
"guzzlehttp/psr7": "^1.7",
"guzzlehttp/guzzle": "^6.5.5"
}, },
"require-dev": { "require-dev": {
} }