[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Improve logging, speed up tests, bulletproof queues.
Update of /home/minion/cvsroot/src/minion
In directory moria.mit.edu:/tmp/cvs-serv15090
Modified Files:
Makefile TODO
Log Message:
Improve logging, speed up tests, bulletproof queues.
Also add a better linecounter (that's been sitting in my ~/bin for a
long time).
Index: Makefile
===================================================================
RCS file: /home/minion/cvsroot/src/minion/Makefile,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- Makefile 25 May 2003 20:55:29 -0000 1.42
+++ Makefile 26 May 2003 20:04:10 -0000 1.43
@@ -234,8 +234,10 @@
( export PYTHONPATH=.; cd build/lib*; pychecker -F ../../pycheckrc \
./mixminion/*.py ./mixminion/*/*.py )
-lines: clean
- wc -l src/*.[ch] lib/*/*.py lib/*/*/*.py
+lines:
+ @$(FINDPYTHON); \
+ $$PYTHON etc/countlines.py src/*.[ch] lib/mixminion/[A-Z_]*.py \
+ lib/mixminion/*/*.py --noncode lib/mixminion/[a-z]*.py
xxxx:
find lib src \( -name '*.py' -or -name '*.[ch]' \) -print0 \
Index: TODO
===================================================================
RCS file: /home/minion/cvsroot/src/minion/TODO,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- TODO 26 May 2003 04:37:51 -0000 1.100
+++ TODO 26 May 2003 20:04:10 -0000 1.101
@@ -93,13 +93,13 @@
"server not there." Log accordingly.
o The retry scheduling logic is bogus.
o Attach debugging log calls to DeliveryQueue.
- - Add more logging code to track fds with MMTPServer.
- - Make sure that deliveryFailed/deliverySucceeded
+ o "Iffy mode" is iffy message
+ o Add more logging code to track fds with MMTPServer.
+ o Make sure that deliveryFailed/deliverySucceeded
with a nonexistent handle give a warning, and don't
simply die.
- - Analyze logic: how can a timeout cause deliveryFailed
+ o Analyze logic: how can a timeout cause deliveryFailed
on a nonexistent handle?
- - "Iffy mode" is iffy message
o Improved path selection
o Better syntax
o Improved implementation
@@ -112,13 +112,13 @@
o Tests
. Ability to generate new serverdesc with old keys.
o Implement
- o Test backend
- - Automate
+? o Test backend
+.5 *- Automate
. Ability to notice discrepancies between SD and
server configuration.
o Implement
.5 - Test backend
-.5 - Integrate with frontend
+.5 *- Integrate with frontend
. Online key rotation
o Function to determine time for next rotation event.
o Ability to add PK to packethandler
@@ -135,20 +135,20 @@
reject them if invalid,
and queue them if unrecognized.
2 - Tests for above
-.5-1.5 . The actual CGI
+.5-1.5 *. The actual CGI
o Ability to move servers from queue to good-list.
0.5 - Tests
. Code to remember whether descriptors are published,
and republish as needed
o Implement
-.5 - Add 'publish' option
-1 - Add explicit 'republish' command.
+.5 *- Add 'publish' option
+1 *- Add explicit 'republish' command.
1 - Tests
o Design directory liveness format. Maybe include
all servers in "live" list for now?
-1 - Add code to make directory list some servers
+1 *- Add code to make directory list some servers
as 'ungood'
-0.5 - Code to automatically regenerate directories as
+0.5 *- Code to automatically regenerate directories as
needed.
o Make "=== BEGIN" stuff comply with openpgp rfc: why rock
the boat?