Description of problem: When running with Enterprise (rch.1.10.1) with rhc app create --from-code with an invalid URL, the error message should match that given by Origin/Online to be consistent Online/Origin ============= Creating application 'wontwork' ... Source code repository could not be cloned: Enterprise ============= Creating application 'wontwork' ... Source Code repository could not be cloned: Note the word 'Code' is lower case in Online/Origin. Please change it so we have a consistent error message across the product lines. Also, URL like 'git:openshift/test-example.git' is considered valid in Origin/Online, but is treated as 'Invalid initial git URL' Online/Origin ============= Source code repository could not be cloned: 'git:openshift/test-example.git'. Enterprise ========== Creating application 'wontwork' ... Invalid initial git URL Version-Release number of selected component (if applicable): rhc version 1.10.1 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Test this on 2.0/2013-11-15.1. [root@dhcp-8-133 workspace]# rhc app create app1 php --from-code git:openshift/test-example.git Using php-5.3 (PHP 5.3) for 'php' Application Options ------------------- Domain: www Cartridges: php-5.3 Source Code: git:openshift/test-example.git Gear Size: default Scaling: no Creating application 'app1' ... Source code repository could not be cloned: 'git:openshift/test-example.git'. Please verify the repository is correct and try a non-SSH URL such as HTTP. The word "code" in "Source code repository could not be cloned:" has been changed to lower-case. And the response of git url is correct.