+* 2.2.2
+- Fix pkg-svr clean/remove-snapshot bug
+-- Now changes folder snapshot log also remove
+== hyoun jiil <jiil.hyoun@samsung.com> 2014-08-14
* 2.1.65
- fix windows package bug caused by nasca
-- package has nasca encript file
Source : dibs
-Version :2.1.65
+Version :2.2.2
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, jonghwan park <jonghwan2.park@samsung.com>
Package : tizen-dibs-test
end
end
+ # remove unused changes
+ Dir.new( @location + "/changes" ).each do |change|
+ if change.start_with? "." then next end
+
+ if not remain_snapshot_list.include? change.sub(/\.log/,'') then
+ FileUtils.rm_f "#{@location}/changes/#{change}"
+ end
+ end
+
# upate snapshot.info file
update_snapshot_info_file(remain_snapshot_list)
end
end
end
+ # remove unused changes
+ Dir.new( @location + "/changes" ).each do |change|
+ if change.start_with? "." then next end
+
+ if removed_snapshot.include? change.sub(/\.log/,'') then
+ FileUtils.rm_f "#{@location}/changes/#{change}"
+ end
+ end
+
if not snapshot_list.empty? then
@log.output( "snapshot not exist : #{snapshot_list.join(",")}", Log::LV_USER )
end