mirror of
https://github.com/Icinga/icingaweb2-module-reactbundle.git
synced 2025-07-28 16:24:06 +02:00
Compare commits
14 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
1e682710d9 | ||
|
649bdeaa76 | ||
|
62967011dc | ||
|
825f9e95c7 | ||
|
9ab4b2efed | ||
|
342a1d15fc | ||
|
b0c9f6d2b7 | ||
|
61986dd131 | ||
|
c699cdf689 | ||
|
71d4bfe08e | ||
|
a41978b574 | ||
|
40391095e3 | ||
|
f44e3d2bdb | ||
|
285c0b8d30 |
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,4 +1,3 @@
|
||||
.idea
|
||||
/vendor/
|
||||
/.idea/
|
||||
.*.sw[op]
|
||||
composer.lock
|
||||
vendor
|
||||
|
21
LICENSE
Normal file
21
LICENSE
Normal 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.
|
17
README.md
17
README.md
@ -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
|
||||
=================================================
|
||||
|
||||
@ -6,16 +13,16 @@ for asynchronous PHP-based Icinga Web 2 modules. Please download the latest
|
||||
release and install it like any other module.
|
||||
|
||||
> **HINT**: Do NOT install the GIT master, it will not work! Checking out a
|
||||
> branch like `stable/0.5.0` or a tag like `v0.5.0` is fine.
|
||||
> branch like `stable/0.9.0` or a tag like `v0.9.0` is fine.
|
||||
|
||||
Sample Tarball installation
|
||||
---------------------------
|
||||
|
||||
```sh
|
||||
MODULE_NAME=reactbundle
|
||||
MODULE_VERSION=v0.5.0
|
||||
MODULE_VERSION=v0.9.0
|
||||
MODULES_PATH="/usr/share/icingaweb2/modules"
|
||||
MODULE_PATH="${MODULES_PATH}/${MODULE_PATH}"
|
||||
MODULE_PATH="${MODULES_PATH}/${MODULE_NAME}"
|
||||
RELEASES="https://github.com/Icinga/icingaweb2-module-${MODULE_NAME}/archive"
|
||||
mkdir "$MODULE_PATH" \
|
||||
&& wget -q $RELEASES/${MODULE_VERSION}.tar.gz -O - \
|
||||
@ -28,7 +35,7 @@ Sample GIT installation
|
||||
|
||||
```sh
|
||||
MODULE_NAME=reactbundle
|
||||
MODULE_VERSION=v0.5.0
|
||||
MODULE_VERSION=v0.9.0
|
||||
REPO="https://github.com/Icinga/icingaweb2-module-${MODULE_NAME}"
|
||||
MODULES_PATH="/usr/share/icingaweb2/modules"
|
||||
git clone ${REPO} "${MODULES_PATH}/${MODULE_NAME}" --branch "${MODULE_VERSION}"
|
||||
@ -48,4 +55,4 @@ Developer Documentation
|
||||
|
||||
e.g.
|
||||
|
||||
./bin/make-release.sh 0.5.0
|
||||
./bin/make-release.sh 0.9.0
|
||||
|
@ -8,6 +8,12 @@ if [[ -z $VERSION ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
function fail {
|
||||
local msg="$1"
|
||||
echo "ERROR: $msg"
|
||||
exit 1
|
||||
}
|
||||
|
||||
TAG=$(git tag | grep -c "$VERSION")
|
||||
|
||||
if [[ "$TAG" -ne "0" ]]; then
|
||||
@ -20,22 +26,24 @@ BRANCH="stable/$VERSION"
|
||||
git checkout -b "$BRANCH"
|
||||
git rm -rf vendor
|
||||
rm -rf vendor
|
||||
rm composer.lock
|
||||
composer install
|
||||
rm -f composer.lock
|
||||
composer install || fail "composer install failed"
|
||||
find vendor/ -type f -name "*.php" \
|
||||
| grep -v '/examples/' \
|
||||
| grep -v '/example/' \
|
||||
| grep -v '/tests/' \
|
||||
| grep -v '/test/' \
|
||||
| xargs git add -f
|
||||
find vendor/ -type f -name LICENSE | xargs git add -f
|
||||
sed -i '' "s/^Version:.*/Version: v$VERSION/" module.info
|
||||
| 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
|
||||
sed -i.bak "s/^Version:.*/Version: $VERSION/" module.info && rm -f module.info.bak
|
||||
git add module.info
|
||||
git add composer.lock -f
|
||||
git commit -m "Version v$VERSION"
|
||||
|
||||
rm -f composer.lock
|
||||
rm -rf vendor
|
||||
git checkout vendor
|
||||
composer validate --no-check-all --strict || fail "Composer validate failed"
|
||||
|
||||
git tag -a v$VERSION -m "Version v$VERSION"
|
||||
echo "Finished, tagged v$VERSION"
|
||||
|
@ -16,29 +16,33 @@
|
||||
"require": {
|
||||
"php": ">=5.6.3",
|
||||
"ext-curl": "*",
|
||||
"clue/block-react": "^1.3",
|
||||
"clue/buzz-react": "^2.5",
|
||||
"clue/block-react": "^1",
|
||||
"clue/buzz-react": "~2.7.0",
|
||||
"clue/connection-manager-extra": "^1.1",
|
||||
"clue/http-proxy-react": "^1.4",
|
||||
"clue/http-proxy-react": "^1",
|
||||
"clue/mq-react": "^1.1",
|
||||
"clue/redis-react": "^2.3",
|
||||
"clue/soap-react": "^1.0",
|
||||
"clue/socket-raw": "^1.4",
|
||||
"clue/socks-react": "^1.0",
|
||||
"clue/socks-react": "^1",
|
||||
"clue/stdio-react": "^2.3",
|
||||
"evenement/evenement": "^2",
|
||||
"predis/predis": "^1.1",
|
||||
"psr/http-message": "^1",
|
||||
"ramsey/uuid": "^3.8",
|
||||
"react/child-process": "^0.6",
|
||||
"react/datagram": "^1.4",
|
||||
"react/dns": "^0.4",
|
||||
"react/datagram": "^1.5",
|
||||
"react/dns": "^1",
|
||||
"react/event-loop": "^1.1",
|
||||
"react/http": "^0.8",
|
||||
"react/http": "^1",
|
||||
"react/http-client": "^0.5",
|
||||
"react/promise": "^2.7",
|
||||
"react/promise": "^2",
|
||||
"react/promise-stream": "^1",
|
||||
"react/promise-timer": "^1.5",
|
||||
"react/socket": "^1.2",
|
||||
"react/stream": "^1.1"
|
||||
"react/socket": "^1",
|
||||
"react/stream": "^1.1",
|
||||
"guzzlehttp/psr7": "^1.7",
|
||||
"guzzlehttp/guzzle": "^6.5.5"
|
||||
},
|
||||
"require-dev": {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user