github-api icon indicating copy to clipboard operation
github-api copied to clipboard

Stop using `getUrl()` for populate and refresh actions

Open bitwiseman opened this issue 5 years ago • 1 comments

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.

bitwiseman avatar May 28 '20 20:05 bitwiseman

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.

bitwiseman avatar Sep 26 '21 20:09 bitwiseman