mirror of https://github.com/zcash/developers.git
Clarify when a repo's GitHub ID or name is being used
This commit is contained in:
parent
7d23400e49
commit
7e87884255
|
@ -122,6 +122,7 @@ def fetch_issues(op, issues, REPOS):
|
|||
node.merged()
|
||||
|
||||
|
||||
# `nodes` is a list of `(repo_github_id, issue_number)` tuples.
|
||||
def download_issues(endpoint, nodes, REPOS):
|
||||
issues = [(repo, issue) for (repo, issue) in nodes if repo in REPOS]
|
||||
|
||||
|
|
|
@ -41,6 +41,12 @@ def fetch_workspace_graph(op, workspace_id, repos, cursor):
|
|||
dependencies.page_info.end_cursor()
|
||||
|
||||
|
||||
# Fetches the dependency graph involving the given `repos` from the given `workspace_id`.
|
||||
#
|
||||
# `repos` is a list of GitHub repo IDs.
|
||||
#
|
||||
# Returns a list of `(blocking, blocked)` tuples corresponding to DAG edges.
|
||||
# `blocking` and `blocked` are both `(repo_github_id, issue_number)` tuples.
|
||||
def get_dependency_graph(endpoint, workspace_id, repos):
|
||||
edges = []
|
||||
cursor = None
|
||||
|
|
Loading…
Reference in New Issue