lib/issue_graph/issue/collection.rb
# Pre-load all of the issues from the github repo. We'll then layer this
# with dependency and epic data from zenhub
Pre-load all of the issues from the github repo. We'll then layer this
with dependency and epic data from zenhub
Pre - load all of the issues from the github repo . We ' ll then layer this with dependency and epic data from zenhub
def load_issues
    load_repository_data()
    gh_client.list_issues(repo_name, { state: "all" }).each do |data|
      issue = IssueGraph::Issue.new
      issue.load_from_gh_data(data)
      issue[:repo_id] = repo[:id]
      issue[:repo_name] = repo_name
      self.add(issue)
    end
  end
def load_issues load_repository_data ( ) gh_client . list_issues ( repo_name , { state : "all" } ) . each do | data | issue = IssueGraph :: Issue . new issue . load_from_gh_data ( data ) issue [ :repo_id ] = repo [ :id ] issue [ :repo_name ] = repo_name self . add ( issue ) end end
Pre-load all of the issues from the github repo.
Pre - load all of the issues from the github repo .