Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6afa620

Browse files
committed
Verbose cURL
1 parent e6da38f commit 6afa620

File tree

3 files changed

+10
-28
lines changed

3 files changed

+10
-28
lines changed

‎CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
## 9.2.0
22
##### 10 january 2024
33
- __Driver Core__
4-
- Driver is co-maintained by @Geolim4 and @srjlewis
5-
- `Couchbasev4` is now an extension separated from the main Phpfastcache repository.
6-
- `Couchbasev4` requires Couchbase client `Couchbase/Couchbase` 4.x and PHP Extension `Couchbase` 4.x
7-
- `Couchbasev4` may requires `posix`/`pcntl` extension if you are manipulating processes and need to fix an [internal Couchbase bug](README.md#-this-extension-optionally-requires-).
4+
- Driver is maintained by @Geolim4
5+
- `Arangodb` is now an extension separated from the main Phpfastcache repository.

‎README.md

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Contributing [![PHP Tests](https://github.com/PHPSocialNetwork/couchbasev4-extension/actions/workflows/php.yml/badge.svg)](https://github.com/PHPSocialNetwork/couchbasev4-extension/actions/workflows/php.yml)
1+
## Contributing [![PHP Tests](https://github.com/PHPSocialNetwork/arangodb-extension/actions/workflows/php.yml/badge.svg)](https://github.com/PHPSocialNetwork/arangodb-extension/actions/workflows/php.yml)
22
Merge requests are welcome but will require the tests plus the quality tools to pass:
33

44
_(Commands must be run from the repository root)_
@@ -9,7 +9,7 @@ composer run-script quality
99
composer run-script tests
1010

1111
# In case you want to fix the code style automatically:
12-
./vendor/bin/phpcbf lib/ --report=summary
12+
composer run-script phpcbf
1313
```
1414

1515
## Support & Security
@@ -19,24 +19,8 @@ Support for this extension must be posted to the main [Phpfastcache repository](
1919
## Composer installation:
2020

2121
```php
22-
composer install phpfastcache/couchbasev4-extension
22+
composer install phpfastcache/arangodb-extension
2323
```
2424

2525
#### ⚠️ This extension requires:
26-
27-
1️⃣ The PHP `Couchbase` extension 4.x at least
28-
29-
2️⃣ The composer `Couchbase/Couchbase` library 4.x at least
30-
31-
#### ⚠️ This extension optionally requires:
32-
1️⃣ The PHP `Posix` to fix a known Couchbase Extension bug [PCBC-886](https://issues.couchbase.com/projects/PCBC/issues/PCBC-886).
33-
Once this bug has been fixed the dependency suggestion will be removed.
34-
If your application wants to fork the processes using `pcntl_fork()` the `Posix` extension is needed, and you want the fix to be enabled, set up the config like this:
35-
```php
36-
$config = (new CouchbaseConfig())->setDoForkDetection(true);
37-
```
38-
39-
2️⃣ Also the PHP `Pcntl` if you plan to contribute to this project and run the tests before pushing your Merge Request.
40-
41-
42-
26+
1️ The composer `triagens/arangodb` library 3.8 at least.

‎tests/Scripts/install_arangodb.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
mkdir -p arangodb
66
cd arangodb
7-
export ARANGODB_ROOT_PASSWD=password
7+
export ARANGODB_ROOT_PASSWD='password'
88

99
curl -OL https://download.arangodb.com/arangodb310/DEBIAN/Release.key
1010
sudo apt-key add - < Release.key
@@ -25,7 +25,7 @@ echo "#################################"
2525
printf "\n"
2626

2727
echo "1/3 - Creating 'phpfastcache' user:"
28-
curl -X POST -u root:$ARANGODB_ROOT_PASSWD --header 'accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user <<EOF
28+
curl -v -X POST -u root:$ARANGODB_ROOT_PASSWD --header 'accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user <<EOF
2929
{
3030
"user" : "phpfastcache",
3131
"passwd" : "travis"
@@ -34,7 +34,7 @@ EOF
3434
printf "\n\n"
3535

3636
echo "2/3 - Creating 'phpfastcache' database:"
37-
curl -X POST -u root:$ARANGODB_ROOT_PASSWD --header 'accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/database <<EOF
37+
curl -v -X POST -u root:$ARANGODB_ROOT_PASSWD --header 'accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/database <<EOF
3838
{
3939
"name" : "phpfastcache",
4040
"options" : {
@@ -46,7 +46,7 @@ EOF
4646
printf "\n\n"
4747

4848
echo "3/3 - Giving 'phpfastcache' user access to 'phpfastcache' database:"
49-
curl -X PUT -u root:$ARANGODB_ROOT_PASSWD --header 'accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user/phpfastcache/database/phpfastcache <<EOF
49+
curl -v -X PUT -u root:$ARANGODB_ROOT_PASSWD --header 'accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user/phpfastcache/database/phpfastcache <<EOF
5050
{
5151
"grant" : "rw"
5252
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /