Skip to content
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 facility for sputnik collectors #113

Open
sjamesr opened this issue Sep 3, 2015 · 3 comments
Open

plugin facility for sputnik collectors #113

sjamesr opened this issue Sep 3, 2015 · 3 comments

Comments

@sjamesr
Copy link

sjamesr commented Sep 3, 2015

Hi there,

I'd like to annotate our Go reviews with the output of Go Vet. As I understand it, I'd have to provide a new collector implementation that invokes Go Vet on the before- and after-review state of the Git repo.

I'm wondering if there's any interest in implementing a plugin system for Sputnik. I imagine it would be useful if Sputnik could locate new collector implementations at runtime. I think this would make it a little easier to introduce new collector types without changing the Sputnik source code.

Thanks,
James

@zygm0nt
Copy link
Collaborator

zygm0nt commented Sep 6, 2015

This would be a very welcome change. So if you'd like to contribute, than please do so.

Thanks.

@mirkosertic
Copy link
Contributor

I think this would be very cool, as i need this feature too. I will try to add this, shouln't be such a big deal...

@pjagielski
Copy link
Collaborator

I don't think that executing external binaries by Sputnik is a good idea. Is this what you mean by invoking Go Vet?

What we were thinking of instead could be a set of plugins that convert other tools output to Sputnik-compatible input. So the tool would be run outside Sputnik and then the output could be passed to Sputnik ReviewProcessor to construct ReviewResult. Sputnik can then send the result to Gerrit/Stash.

Is this reasonable?

SpOOnman added a commit that referenced this issue Feb 23, 2016
Implementation of #113 Plugin Facility for Sputnik Processors
rufuslevi pushed a commit to rufuslevi/sputnik that referenced this issue Mar 12, 2024
rufuslevi pushed a commit to rufuslevi/sputnik that referenced this issue Mar 12, 2024
rufuslevi pushed a commit to rufuslevi/sputnik that referenced this issue Mar 12, 2024
rufuslevi pushed a commit to rufuslevi/sputnik that referenced this issue Mar 12, 2024
rufuslevi pushed a commit to rufuslevi/sputnik that referenced this issue Mar 12, 2024
Implementation of TouK#113 Plugin Facility for Sputnik Processors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants