Method: BigKeeper::ModuleService#push

Defined in:
lib/big_keeper/service/module_service.rb

#push(path, user, module_name, home_branch_name, type, comment) ⇒ Object



30
31
32
33
34
35
36
37
# File 'lib/big_keeper/service/module_service.rb', line 30

def push(path, user, module_name, home_branch_name, type, comment)
  Logger.highlight("Push branch '#{home_branch_name}' for module '#{module_name}'...")

  verify_module(path, user, module_name, home_branch_name, type)

  module_full_path = BigkeeperParser.module_full_path(path, user, module_name)
  GitService.new.verify_push(module_full_path, comment, home_branch_name, module_name)
end