a note for the test cases: after 1.), the package is already installed (with the version provided in the test case)
remote: Stopping PHP 5.4 cartridge (Apache+mod_php) remote: Waiting for stop to finish remote: Waiting for stop to finish remote: Building git ref 'master', commit bdd867f remote: Checking .openshift/pear.txt for PEAR dependency... remote: Checking PEAR: Validate-0.8.5 remote: remote: remote: Preparing build for deployment remote: Deployment id is 1f3fb6cb remote: Activating deployment remote: Starting PHP 5.4 cartridge (Apache+mod_php) remote: Application directory "/" selected as DocumentRoot remote: ------------------------- remote: Git Post-Receive Result: success remote: Activation status: success remote: Deployment completed with status: success Checked on devenv_5041, issue has been fixed. It will check the existing dep version on the deploy, and skip the install/upgrade if the version is latest.
remote: Stopping PHP 5.4 cartridge (Apache+mod_php) remote: Waiting for stop to finish remote: Waiting for stop to finish remote: Building git ref 'master', commit 3901602 remote: Checking .openshift/pear.txt for PEAR dependency... remote: Checking PEAR: Validate-0.8.4 remote: remote: Nothing to upgrade remote: remote: Preparing build for deployment remote: Deployment id is 7b5f76f0 remote: Activating deployment remote: Starting PHP 5.4 cartridge (Apache+mod_php) remote: Application directory "/" selected as DocumentRoot remote: ------------------------- remote: Git Post-Receive Result: success remote: Activation status: success remote: Deployment completed with status: success To ssh://53e0b0bed50415169f000009.rhcloud.com/~/git/php54.git/ d0ebb4a..3901602 master -> master When using lower version than the installed one, it will show as above.
@Meng: Thanks for noticing this! Apparently pear behaves differently if you have the latest version of a package... I have to look into this again.
I reported this as a bug: https://pear.php.net/bugs/bug.php?id=20371
https://trello.com/c/Gq4HzmjZ