global

def repo_id_by_name(name)

def repo_id_by_name(name)
  raise 'The name of the repo is nil' if name.nil?
  json = @origin.repository(name)
  id = json[:id]
  @loog.debug("GitHub repository #{name.inspect} has an ID: ##{id}")
  id
end