lib/github_labeler.rb
#
# Fetches the list of labels in a repository and stores them
# in the labels cache
#
Fetches the list of labels in a repository and stores them
in the labels cache
Fetches the list of labels in a repository and stores them in the labels cache
def refresh_repo_labels(repo, options = {})
    @logger.debug "Fetching label information for #{repo}"
    @repo_labels[repo] = {}
    @client.labels(repo).each do |label|
      @repo_labels[repo][label[:name].downcase] = label
    end
  end
def refresh_repo_labels ( repo , options = { } ) @logger . debug "Fetching label information for #{repo}" @repo_labels [ repo ] = { } @client . labels ( repo ) . each do | label | @repo_labels [ repo ] [ label [ :name ] . downcase ] = label end end
Fetches the list of labels in a repository and stores them
in the labels cache
Fetches the list of labels in a repository and stores them in the labels cache
repo
options