You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Mon, Nov 28, 2016 at 01:18:06PM -0800, Juan Benet wrote:
- but it's tricky to do right (given some links will automatically
backlink and some wont)
This doesn't help with cross-host back-references (e.g. a GitLab issue
referencing a GitHub issue), but within GitHub you can discover these
somewhat efficiently (an extra API call or two per rendered node)
using the timeline API preview [1]:
$ curl -sH 'Accept: application/vnd.github.mockingbird-preview' https://api.github.com/repos/jbenet/depviz/issues/15/timeline |
jq '[.[] | select(.event == "cross-referenced") | {"source": {"html_url": .source.issue.html_url, "body": .source.issue.body}}]'
[
{
"source": {
"html_url": "#22",
"body": "We don't do this at the moment (there's a FIXME in the GitHub module). Screenshot for the designed display in #9. Related but (I think?) distinct idea in #15."
}
}
]
[1]: https://developer.github.com/v3/issues/timeline/
The graph today is walked backs to the dependencies, but does not show dependents directly, as this involves walking backlinks, or other references.
Basically:
The text was updated successfully, but these errors were encountered: