-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🔌 Plugin: Sourcegraph #275
Comments
I plan to start working on this, but didn't figure it out how can I assigne it to myself :/ |
I can assign you! |
@kissmikijr did you start working on this? I've been collaborating with SourceGraph on a blog post on how to use Batch Changes to onboard projects Backstage. We've also been talking about creating an entity provider that would use SourceGraph Code Search to emit entities and Code Monitoring to get notifications when files change. Could we combine efforts on this? |
I did start working on it, but put it on a side track for quiet sometime now! I can dig this up. I'm happy to combine efforts! |
When I was at Prezi we used Batch Changes exactly for this, to rollout a bunch of catalog files to the services. For me the monitoring of these changes are the biggest value, I think rolling out could be also a scaffolder template with custom actions, but in that case no way to monitor the state of the PRs |
I am also interested in a plugin/component as described in the opening post, especially the integration of SourceGraph search into backstage in some form. |
any updates on this issue? am also very interested ! |
@nia-potato : I started some activitiy on this, but never really finished it (and it also was a big hack). Instead of doing a "proper" implementation, I executed a search via the Sourcegraph GraphQL API and appended the results to the normal search results data structure somewhere between them beeing returned and them beeing displayed. If you want I can try to see if I still find that code, but I am somewhat convinced that this is no proper solution for upstream. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Summary
The basic idea is that if you or your company already uses sourcegraph this plugin would give the possibility to search a components source code through the sourcegraph API.
It should extend the component entity page with a new tab called sourcegraph. It should introduce an annotation to be able to enable this for the appropriate components ( the ones that are indexed by your sourcegraph )
I have 2 features in my mind currently.
Probably only a frontend component is needed if we can use the built in proxy. To access the sourcegraph api we need to provide an authorization header so a sourcegrpah specific config extension is needed in the app-config.yaml
The text was updated successfully, but these errors were encountered: