github-api
github-api copied to clipboard
Stop using `getUrl()` for populate and refresh actions
The urls returned from github are often problematic and inaccurate.
Example:
The url return getRef() returns a url with git/refs in it, even when the original query was to git/ref.
This may not be feasible. There are a number of scenarios where we need to depend on url and when it is incorrect or strange we simply need to work-around it. We should add comments to the JavaDoc for getUrl() describing the difficulties and ways to work around it.