-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce config deprecations (#123)
- Loading branch information
Showing
13 changed files
with
154 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/actual.txt | ||
/.composer/ | ||
/composer.lock | ||
/vendor/ | ||
/vendor-bin/*/composer.lock | ||
/vendor-bin/*/vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Check that the deprecation messages are well rendered. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"repositories": [ | ||
{ | ||
"type": "path", | ||
"url": "../../" | ||
} | ||
], | ||
"require": { | ||
"bamarni/composer-bin-plugin": "dev-master" | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"bamarni/composer-bin-plugin": true | ||
} | ||
}, | ||
"extra": { | ||
"bamarni-bin": { | ||
"forward-command": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Loading composer repositories with package information | ||
Updating dependencies | ||
Lock file operations: 1 install, 0 updates, 0 removals | ||
- Locking bamarni/composer-bin-plugin (dev-hash) | ||
Writing lock file | ||
Installing dependencies from lock file (including require-dev) | ||
Package operations: 1 install, 0 updates, 0 removals | ||
- Installing bamarni/composer-bin-plugin (dev-hash): Symlinking from ../.. | ||
Generating autoload files | ||
[bamarni-bin] The setting "bamarni-bin.bin-links" will be set to "false" from 2.x onwards. If you wish to keep it to "true", you need to set it explicitly. | ||
[bamarni-bin] The command is being forwarded. | ||
[bamarni-bin] Checking namespace vendor-bin/ns1 | ||
Loading composer repositories with package information | ||
Updating dependencies | ||
Nothing to modify in lock file | ||
Writing lock file | ||
Installing dependencies from lock file (including require-dev) | ||
Nothing to install, update or remove | ||
Generating autoload files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -Eeuo pipefail | ||
|
||
# Set env envariables in order to experience a behaviour closer to what happens | ||
# in the CI locally. It should not hurt to set those in the CI as the CI should | ||
# contain those values. | ||
export CI=1 | ||
export COMPOSER_NO_INTERACTION=1 | ||
|
||
readonly ORIGINAL_WORKING_DIR=$(pwd) | ||
|
||
trap "cd ${ORIGINAL_WORKING_DIR}" err exit | ||
|
||
# Change to script directory | ||
cd "$(dirname "$0")" | ||
|
||
# Ensure we have a clean state | ||
rm -rf actual.txt || true | ||
rm -rf .composer || true | ||
rm -rf composer.lock || true | ||
rm -rf vendor || true | ||
rm -rf vendor-bin/*/composer.lock || true | ||
rm -rf vendor-bin/*/vendor || true | ||
rm -rf vendor-bin/*/.composer || true | ||
|
||
# Actual command to execute the test itself | ||
composer update 2>&1 | tee > actual.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
}, | ||
"extra": { | ||
"bamarni-bin": { | ||
"bin-links": false, | ||
"forward-command": true | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
}, | ||
"extra": { | ||
"bamarni-bin": { | ||
"bin-links": false, | ||
"forward-command": true | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters