package server: support ftp server as a package server 31/12531/1
authorHyoun Jiil <jiil.hyoun@samsung.com>
Mon, 18 Nov 2013 10:17:05 +0000 (19:17 +0900)
committerHyoun Jiil <jiil.hyoun@samsung.com>
Mon, 18 Nov 2013 10:17:05 +0000 (19:17 +0900)
[Description] package server need to support ftp server

Change-Id: Icb9585c34c1b2c1e0be5d6379fd2f9996e046206
Signed-off-by: Hyoun Jiil <jiil.hyoun@samsung.com>
package/changelog
package/pkginfo.manifest
src/common/utils.rb

index 3d96d4456c608630413214370edf7340ae25aab9..2ce84e4e7606ed563d09ed6f8f4a948bf3b2763d 100644 (file)
@@ -1,3 +1,6 @@
+* 2.1.52
+- support ftp as a package server
+== hyoun jiil <jiil.hyoun@samsung.com> 2013-11-18
 * 2.1.51
 - support version number over 3 dots 
 == hyoun jiil <jiil.hyoun@samsung.com> 2013-11-14
index 3a8a57c3ba2f46db7f8309c070b07ffeddc712f2..7a16447ebb6a2ee9b5f5054684de556da5580a5f 100644 (file)
@@ -1,5 +1,5 @@
 Source : dibs
-Version :2.1.51
+Version :2.1.52
 Maintainer : taejun ha<taejun.ha@samsung.com>, jiil hyoun <jiil.hyoun@samsung.com>, donghyuk yang <donghyouk.yang@samsung.com>, donghee yang <donghee.yang@samsung.com>, sungmin kim <dev.sungmin.kim@samsung.com
 
 Package : tizen-dibs-test
index 93e6f20f2ee6b889cec4151f436f04e1c4a0d97b..e3ce1ad7477b5cd4c2da63704d5a8ec51b2c2fc2 100644 (file)
@@ -99,10 +99,9 @@ class Utils
                protocol = url.split(':')[0]
 
                case protocol
-               when "http" then
-                       return true
-               else
-                       return false
+               when "http" then return true
+               when "ftp" then return true
+               else return false
                end
        end