Open lencioni opened 8 years ago
One idea that would get this going sooner without being blocked on transferring to a node project is to expose a few scripts that you can use.
happo travis-ci
happo jenkins-ci
etc.
Just a thought: If we decide to implement this as npm modules, and allow users to plug them in using .importjs.js
, we should make sure that plugins are explicitly imported and used/instantiated:
const HappoPluginTravisCI = require('happo-plugin-travis-ci');
module.exports = {
plugins: [
new HappoPluginTravisCI(),
]
};
I've seen others include plugins through string reference only (e.g. http://eslint.org/docs/developer-guide/working-with-plugins) and I find it too implicit.
We want happo to be as easy to set up as possible. People use all different kinds of CI systems (e.g. Jenkins, Travis CI, CircleCI) and code review systems (e.g. Gerrit, GitHub, GitHub Enterprise, GitLab, BitBucket). I think it makes sense to enable plugins to be written to easily set up Happo to interface with any CI system or code review system.
I think this should be sequenced after we rewrite in JavaScript (#81). Plugins could be npm packages in the form of
happo-plugin-travis-ci
andhappo-plugin-github
.cc: @kesne