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

Post-activation plugin (PR to automatically add a .drone.yml) #1161

Closed
bradrydzewski opened this issue Aug 23, 2015 · 1 comment
Closed

Post-activation plugin (PR to automatically add a .drone.yml) #1161

bradrydzewski opened this issue Aug 23, 2015 · 1 comment
Labels

Comments

@bradrydzewski
Copy link

We should add the ability to specify plugins post-activation (and maybe post-deactivation) and perhaps after other system events as well. An example for this sort of plugin would be opening a pull request to automatically add a .drone.yml or badge to the README.md file.

The reason this makes sense as a plugin is because Drone supports multiple remote systems (GitHub, Bitbucket, etc) and each one has slightly different APIs and processes that need to be followed. Bitbucket, for example, requires Mercurial integration as well as Git.

By pushing this functionality to a plugin, instead of a core Drone feature, it gives us flexibility and allows teams to customize this functionality to meet their specific organizational needs. It also means it can be turned on or off by the system admin. Or maybe you want the .drone.yml auto-populated with common commands or notification settings for your org -- you could alter the plugin to do so.

@bradrydzewski
Copy link
Author

I'm going to close. I definitely see how this could add a small amount of convenience, however, not enough to justify the technical complexity that would be required to implement this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant