gitkraken / vscode-gitlens

Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
http://gitkraken.com/gitlens
Other
9.03k stars 1.35k forks source link

Use [commentlink] from Gerrit provider #1904

Open adambadura opened 2 years ago

adambadura commented 2 years ago

Gerrit uses refs/meta/config special branch to configure various aspects of Gerrit itself. Amongst others are [commentlink] sections in the project.config file. It would be nice if the provider here could take this into account as a kind of auto-generated auto-links.

felipecrs commented 2 years ago

The complexity I see here is that it would require to contact Gerrit API.

Because, when you clone a project in your local machine, the refs/meta/config does not get cloned.

Another thing is that depending on how the project was configured, it's not even allowed for users to fetch this special ref.

adambadura commented 2 years ago

It could be done as on-demand action that would import existing settings and convert them to auto-link settings? However, for that see #1903.