Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Remote URL replacement #17

Closed
warrenseine opened this issue Nov 27, 2020 · 6 comments
Closed

Remote URL replacement #17

warrenseine opened this issue Nov 27, 2020 · 6 comments

Comments

@warrenseine
Copy link

warrenseine commented Nov 27, 2020

The VS Code plugin provides a useful feature to replace the remote before building the SourceGraph URL. In settings.json, it looks like:

  "sourcegraph.remoteUrlReplacements": {
    "git.company.com": "git-web.company.com"
  },

I would like to see this setting implemented in the JetBrains plugin as well, ideally in the user-provided sourcegraph-jetbrains.properties file.

@Joelkw Joelkw added this to To triage in Extensibility :: Backlog (DEPRECATED) via automation Jun 24, 2021
@Joelkw Joelkw moved this from To triage to Prioritized List of Issues in Extensibility :: Backlog (DEPRECATED) Jun 24, 2021
@Joelkw
Copy link

Joelkw commented Jun 24, 2021

@warrenseine apologies for the delay on this! We'll take a look and likely ship this within the next month.

@warrenseine
Copy link
Author

Awesome, thank you!

@muratsu muratsu removed this from Prioritized List of Issues in Extensibility :: Backlog (DEPRECATED) Jun 30, 2021
@Joelkw Joelkw moved this from Next to To Do (current focus) 📄 in Extensibility :: Current Iteration Jul 8, 2021
@muratsu muratsu moved this from To Do (current focus) 📄 to In Progress 👀 in Extensibility :: Current Iteration Jul 16, 2021
@slimsag
Copy link
Member

slimsag commented Aug 3, 2021

FWIW, it is possible to do this by adding a sourcegraph Git remote that matches the Git repository URL found on your Sourcegraph instance. e.g.:

git remote add sourcegraph https://git-web.company.com/my/repo

Then the extension will utilize that code host URL in order to determine the repository URL on Sourcegraph.

@warrenseine
Copy link
Author

That's good to know, thanks! I still prefer the option to set it in a single place if that's in the roadmap :)

@muratsu
Copy link
Contributor

muratsu commented Aug 10, 2021

@warrenseine this feature has shipped and is publicly available with v1.2.1!

@muratsu muratsu closed this as completed Aug 10, 2021
Extensibility :: Current Iteration automation moved this from In Progress 👀 to Done 🚀 Aug 10, 2021
@warrenseine
Copy link
Author

Thank you very much!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

4 participants