From: Dave B. <db...@pc...> - 2004-10-26 19:15:16
|
I was also thinking it would be nice to give pipelines another parameter (in addition to the properties file parameter they have now.) The second one would be the --commit flag. Right now committing plugins and scripts are done in the pipeline code itself, and the user has to change the code when they just want to test the pipeline and the plugins contained therein. If we had a commit flag on the command line instead of in the code, then we could prevent having to change the code for testing, as well as force the user to explicitly state they want to commit code, which guards against accidentally running in commit mode. How does that sound? It would require some tweaking in the Manager (currently we have the explicit methods available, 'runPlugin' and 'runPluginNoCommit' which would have to be changed to take the flag given on the command line), as well as in existing pipelines which are using the Manager, but it would be only a small amount of work. Dave |