Commit Graph

33 Commits

Author SHA1 Message Date
Bob Lantz beeea4b292 Exclude miniedit from pep8 checking for now
(Also untabbed comment lines, flagged by emacs et al.)
2014-12-08 15:27:13 -08:00
Bob Lantz 7a3159c9af Spacing tweaks for pep8 checker 2014-12-08 15:10:32 -08:00
Bob Lantz 908e85d9f9 Remove PLFMT since options are moved to .pylint 2014-12-04 09:27:53 -08:00
Bob Lantz 03461ce908 Add 'slowtest' make target to test walkthrough, examples 2014-12-04 09:17:13 -08:00
Bob Lantz 061598f011 Change from numeric to symbolic pylint error codes 2014-12-04 08:21:53 -08:00
Bob Lantz db45b7c644 Parseable output format for newer pylint 2014-12-02 23:00:14 -08:00
Jose Pedro Oliveira 8842e450db Turns on gcc warnings (CFLAGS += -Wall -Wextra) 2013-09-28 01:36:02 +01:00
Bob Lantz 0c5aae157a examples -> mininet/examples for code check 2013-09-11 12:00:15 -07:00
Brandon Heller e1205a8a49 Add a simple unit test for link/host creation with options 2012-11-14 00:43:46 -08:00
Bob Lantz 31015ef5d8 Make doc a real subdirectory so we can put other things there. 2012-10-29 15:36:19 -07:00
Bob Lantz 9c0ed88c72 Create version check utility and add to code check.
Fixes #70
2012-10-04 19:02:27 -07:00
Bob Lantz 9d5a21a799 Fix typo MANPAGE->MANPAGES
Thanks to Isaku Yamahata.
2012-08-17 15:25:06 -07:00
James Page 9b11238467 Observe build environment flags and use PYTHONPATH when generating version number 2012-08-06 03:08:41 -07:00
Bob Lantz ce823507cd Fix man page install. 2012-07-31 17:22:13 -07:00
Bob Lantz d85a58feeb Autogenerate man page for mnexec. 2012-07-06 23:18:24 -07:00
Bob Lantz d54cde46e0 Add PYTHONPATH=. to allow "make man" to work if Mininet is not installed. 2012-07-06 19:54:42 -07:00
Bob Lantz 78b2f585ae Fixed support for adding man page to debian package - to pass lintian! 2012-07-03 22:50:53 -07:00
Bob Lantz 7fe847967d clean up "make man" slightly 2012-07-03 22:08:25 -07:00
Bob Lantz f2e7884ade Add support for generating man page from mn --help. 2012-07-01 23:23:56 -07:00
Bob Lantz ee222055f1 Use install(1) to install mnexec so that setup.py develop works. 2012-03-02 20:34:56 -08:00
Bob Lantz e6d8e974ce Added errcheck target which only checks for errors. 2012-03-02 15:39:05 -08:00
Bob Lantz 2b03a115d2 Changed make clean to delete mnexec; added codecheck and test messages. 2011-04-01 11:56:31 -07:00
Bob Lantz 8a130deae5 Support for generating documentation with doxygen/doxypy (such as it is.) 2010-10-27 21:21:53 -07:00
Bob Lantz 82b7207295 Pass pylint. 2010-05-06 16:24:15 -07:00
Bob Lantz bcacfc0510 Support for control-C. Finally.
I've changed the way things work a bit:

1. netns is replaced by mnexec, a general-purpose mininet helper.

2. For interactive commands, we now use mnexec -p, which prints out
   the pid, so we can kill it when someone hits control-C!

3. We close file descriptors for subshells. This might save memory,
   but who knows.

4. We detach our subshells from the tty using mnexec -s; thus
   control-C should not terminate everything.

5. Given 4, mn -c is now necessary if you kill mininet.
2010-03-13 18:23:07 -08:00
Brandon Heller f259e2fa1c Don't try to codecheck non-existent mnclean 2010-03-04 22:26:29 -08:00
Bob Lantz 2626693241 Changed to report repeated pep8 issues. 2010-03-08 15:31:23 -08:00
Bob Lantz 281f6e59db Minor changes to get 'make test' to pass.
- some namespace conflicts due to unpep8
- fixed infinite recursion caused by removing redundant makeIntfPair
2010-02-05 16:42:01 -08:00
Bob Lantz 80a8fa62d5 First crack at restoring mininet python style, assisted by handy
'unpep8' script, which does most of the work.

- topo.py is still in pep8
- not all examples work, but this is due to other issues
2010-02-05 02:33:34 -08:00
Bob Lantz ac9554d6dc Renamed mn_run.py -> mn, mn_clean.py -> mnclean; updated Makefle
It's possible that mn_clean is a bit easier to read; mnclean may be easier
to type, however.

Added variables to Makefile so that source files are listed in a single
location.
2010-02-03 15:29:07 -08:00
Brandon Heller 723d068c51 Add static code checking for style and errors
This required a change to logging, which now uses a singleton pattern.

For all future checkins, 'make codecheck' should pass.
2010-01-09 17:59:43 -08:00
Brandon Heller ff43615ab1 Add example unit tests and Makefile target 2009-12-18 12:15:04 -08:00
Brandon Heller fd99d67c33 Add make clean to remove dist files created by setuptools 2009-12-18 12:12:51 -08:00