Sha256: e302004a5a13ad34f10940386db2481e05eef00045445a29eac00cb9db4f6a4e
Contents?: true
Size: 817 Bytes
Versions: 3
Compression:
Stored size: 817 Bytes
Contents
require 'big_keeper/util/logger' require 'big_keeper/dependency/dep_service' module BigKeeper def self.pull(path, user, type) begin # Parse Bigkeeper file BigkeeperParser.parse("#{path}/Bigkeeper") branch_name = GitOperator.new.current_branch(path) Logger.error("Not a #{GitflowType.name(type)} branch, exit.") unless branch_name.include? GitflowType.name(type) modules = DepService.dep_operator(path).modules_with_type( BigkeeperParser.module_names, ModuleType::PATH) modules.each do |module_name| ModuleService.new.pull(path, user, module_name, branch_name, type) end Logger.highlight("Pull branch '#{branch_name}' for 'Home'...") GitOperator.new.pull(path) ensure end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bigkeeper-0.7.6 | lib/big_keeper/command/feature&hotfix/pull.rb |
bigkeeper-0.7.5 | lib/big_keeper/command/feature&hotfix/pull.rb |
bigkeeper-0.7.4 | lib/big_keeper/command/feature&hotfix/pull.rb |