[Mailman-Developers] Gsoc idea discussions : Continuous integration tool

Stephen J. Turnbull stephen at xemacs.org
Tue Mar 4 09:32:44 CET 2014


varun sharma writes:

 > > Why would you use Django to build the tool as opposed to "just" a
 > > python package?

 > I was thinking of expanding it like buildbot to include django
 > based GUI and detailed reports. So i thought we can use django, but
 > if we just want a command line tool, then python module will be
 > fine.

Why not do both?  I think that you should be able to separate the
"business logic" from the UI elements.

Then use the "if __name__ == '__main__':" technique to implement the
CLI, and import the module into the optional Django front end.



More information about the Mailman-Developers mailing list