sourcegraph / sourcegraph-extension-api

Sourcegraph extension API: use and build extensions that enhance reading and reviewing code in your existing tools. "The extension API you wish your code host had."
44 stars 2 forks source link

feat: supply sourcegraphURL and clientApplication to extensions #111

Closed sqs closed 6 years ago

sqs commented 6 years ago

In some cases, such as to work around https://github.com/sourcegraph/sourcegraph/issues/566, it is useful for extensions to know the Sourcegraph URL and what kind of client application is running it.

codecov[bot] commented 6 years ago

Codecov Report

Merging #111 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #111   +/-   ##
=======================================
  Coverage   77.58%   77.58%           
=======================================
  Files          67       67           
  Lines        2628     2628           
  Branches      534      534           
=======================================
  Hits         2039     2039           
  Misses        589      589
Impacted Files Coverage Δ
src/extension/extensionHost.ts 87.5% <ø> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5973a14...d927137. Read the comment docs.

sourcegraph-bot commented 6 years ago

:tada: This PR is included in version 18.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: