pi 0.1.15 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README CHANGED
@@ -186,15 +186,15 @@ Available options:
186
186
 
187
187
  ubuntu@admin:~$ pi projects
188
188
 
189
- +-------------+---------+-----------+-----------------------------------------------------------------------+-------------+
190
- | Name | Runtime | Framework | GitUrl | Description |
191
- +-------------+---------+-----------+-----------------------------------------------------------------------+-------------+
192
- | javatmp1 | Java | Spring | http://wangjing@git-staging.samsungcloud.org/wangjing/javatmp1.git | test |
193
- | railstmp3 | Ruby | Rails | http://wangjing@git-staging.samsungcloud.org/wangjing/railstmp3.git | test |
194
- | testdemowj1 | Ruby | Rails3 | http://wangjing@git-staging.samsungcloud.org/wangjing/testdemowj1.git | test |
195
- | testdemowj2 | JVM | Spring | http://wangjing@git-staging.samsungcloud.org/wangjing/testdemowj2.git | test |
196
- | tmp1 | ruby18 | rails | http://wangjing@git-staging.samsungcloud.org/wangjing/tmp1.git | test |
197
- +-------------+---------+-----------+-----------------------------------------------------------------------+-------------+
189
+ +-------------+---------+-----------+----------+-----------------------------------------------------------------------+-------------+
190
+ | Name | Runtime | Framework | Git Type | GitUrl | Description |
191
+ +-------------+---------+-----------+----------+-----------------------------------------------------------------------+-------------+
192
+ | javatmp1 | java | spring | github | git://github.com/ruanzhimin/javatmp1.git | test |
193
+ | railstmp3 | Ruby | Rails | cloudpi | http://wangjing@git-staging.samsungcloud.org/wangjing/railstmp3.git | test |
194
+ | testdemowj1 | Ruby | Rails3 | cloudpi | http://wangjing@git-staging.samsungcloud.org/wangjing/testdemowj1.git | test |
195
+ | testdemowj2 | JVM | Spring | cloudpi | http://wangjing@git-staging.samsungcloud.org/wangjing/testdemowj2.git | test |
196
+ | tmp1 | ruby18 | rails | cloudpi | http://wangjing@git-staging.samsungcloud.org/wangjing/tmp1.git | test |
197
+ +-------------+---------+-----------+----------+-----------------------------------------------------------------------+-------------+
198
198
 
199
199
  ubuntu@admin:~$ pi create-project
200
200
  Project Name: javatmp1
@@ -213,21 +213,18 @@ Selected Runtime: java
213
213
  Select Framework: 2
214
214
  Selected Framework: spring
215
215
  Please enter in the description: test
216
+ =============Repository Types============
217
+ 1. cloudpi
218
+ 2. github
219
+ Select Repository Type: 2
220
+ Selected Repository Type: github
221
+ =============Publish Types============
222
+ 1. public
223
+ 2. private
224
+ Select publish Type: 1
225
+ Selected publish Type: public
216
226
  Creating project javademo: OK
217
227
 
218
- ubuntu@admin:~$ pi projects
219
-
220
- +-------------+---------+-----------+-----------------------------------------------------------------------+-------------+
221
- | Name | Runtime | Framework | GitUrl | Description |
222
- +-------------+---------+-----------+-----------------------------------------------------------------------+-------------+
223
- | javademo | java | spring | http://wangjing@git-staging.samsungcloud.org/wangjing/javademo.git | test |
224
- | javatmp1 | Java | Spring | http://wangjing@git-staging.samsungcloud.org/wangjing/javatmp1.git | test |
225
- | railstmp3 | Ruby | Rails | http://wangjing@git-staging.samsungcloud.org/wangjing/railstmp3.git | test |
226
- | testdemowj1 | Ruby | Rails3 | http://wangjing@git-staging.samsungcloud.org/wangjing/testdemowj1.git | test |
227
- | testdemowj2 | JVM | Spring | http://wangjing@git-staging.samsungcloud.org/wangjing/testdemowj2.git | test |
228
- | tmp1 | ruby18 | rails | http://wangjing@git-staging.samsungcloud.org/wangjing/tmp1.git | test |
229
- +-------------+---------+-----------+-----------------------------------------------------------------------+-------------+
230
-
231
228
  ubuntu@admin:~$ pi delete-project
232
229
  =============Project Name=======
233
230
  1. javademo
@@ -240,18 +237,6 @@ Select Project: 1
240
237
  Selected Project: javademo
241
238
  Deleting project [javademo]: OK
242
239
 
243
- ubuntu@admin:~$ pi projects
244
-
245
- +-------------+---------+-----------+-----------------------------------------------------------------------+-------------+
246
- | Name | Runtime | Framework | GitUrl | Description |
247
- +-------------+---------+-----------+-----------------------------------------------------------------------+-------------+
248
- | javatmp1 | Java | Spring | http://wangjing@git-staging.samsungcloud.org/wangjing/javatmp1.git | test |
249
- | railstmp3 | Ruby | Rails | http://wangjing@git-staging.samsungcloud.org/wangjing/railstmp3.git | test |
250
- | testdemowj1 | Ruby | Rails3 | http://wangjing@git-staging.samsungcloud.org/wangjing/testdemowj1.git | test |
251
- | testdemowj2 | JVM | Spring | http://wangjing@git-staging.samsungcloud.org/wangjing/testdemowj2.git | test |
252
- | tmp1 | ruby18 | rails | http://wangjing@git-staging.samsungcloud.org/wangjing/tmp1.git | test |
253
- +-------------+---------+-----------+-----------------------------------------------------------------------+-------------+
254
-
255
240
  ubuntu@admin:~$ pi project-apps
256
241
  =============Project Name=======
257
242
  1. javatmp1
@@ -319,8 +304,8 @@ ubuntu@admin:~$ pi upload
319
304
  5. tmp1
320
305
  Select Project: 1
321
306
  Selected Project: javatmp1
322
- Please enter in the description: test
323
307
  Please enter the version: test version
308
+ Please enter in the description: test
324
309
  Please enter the path of upload war file: /home/wangjing/workspace/sample.war
325
310
  Deployment path does not exist!
326
311
  Please enter the path of upload war file: /home/wangjing/workspace/project/sample
@@ -340,7 +325,15 @@ User: wangjing
340
325
  Password: *******
341
326
  Problem with login, Cannot access target (getaddrinfo: Name or service not known), try again or register for an account.
342
327
 
328
+ ubuntu@admin:~$ pi github
329
+ Please input your name: ruanzhimin
330
+ Please input your email: ruanzhimin@gmail.com
331
+ Please input your password: ************
332
+ Error (HTTP 500): {"httpCode":500,"errorCode":1007,"httpDescription":"Internal Server Error","errorDescription":"Invalid github account."}
333
+
343
334
  ubuntu@admin:~$ pi project-events tmp4--trace
344
335
  Error (HTTP 500): {"httpCode":500,"errorCode":3004,"httpDescription":"Internal Server Error","errorDescription":"The project is
345
336
  not belongs to current account.Project name : tmp4--trace"}
346
337
 
338
+
339
+
@@ -94,7 +94,7 @@ module PI::Cli::Command
94
94
 
95
95
  if repositoryType == "github"
96
96
  isNew =nil
97
- isNew == "yes"
97
+ isNew = "yes"
98
98
  publishType = nil
99
99
  publishTypes =["public","private"]
100
100
  choose do |menu|
data/lib/cli/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module PI
2
2
  module Cli
3
- VERSION = '0.1.15'
3
+ VERSION = '0.1.16'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 59
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 15
10
- version: 0.1.15
9
+ - 16
10
+ version: 0.1.16
11
11
  platform: ruby
12
12
  authors:
13
13
  - Samsung
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-07-09 00:00:00 Z
18
+ date: 2012-07-10 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: json_pure