[pybot-commits] CVS: pybot ChangeLog,1.11,1.12 TODO,1.4,1.5 pybot.conf,1.5,1.6 pybot.py,1.2,1.3
Brought to you by:
niemeyer
From: Gustavo N. <nie...@us...> - 2003-05-09 20:18:39
|
Update of /cvsroot/pybot/pybot In directory sc8-pr-cvs1:/tmp/cvs-serv16526 Modified Files: ChangeLog TODO pybot.conf pybot.py Log Message: - modules/userdata.py,modules/permission.py: A much better userdata registry and permission system was developed. - misc.py: Increased maximum line size to 400 characters. - server.py,runner.py,modules/permission.py: Implemented a pybot console, allowing one to talk to pybot locally. - scripts/*: Removed setup scripts. They're not needed anymore now that we have a console. - core.py: Removed (why was it still here?). - modules/options.py: Get filename from configuration file. Index: ChangeLog =================================================================== RCS file: /cvsroot/pybot/pybot/ChangeLog,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** ChangeLog 9 May 2003 15:27:43 -0000 1.11 --- ChangeLog 9 May 2003 20:18:36 -0000 1.12 *************** *** 3,6 **** --- 3,12 ---- registry and permission system was developed. * misc.py: Increased maximum line size to 400 characters. + * server.py,runner.py,modules/permission.py: Implemented a + pybot console, allowing one to talk to pybot locally. + * scripts/*: Removed setup scripts. They're not needed anymore + now that we have a console. + * core.py: Removed (why was it still here?). + * modules/options.py: Get filename from configuration file. 2003-05-08 Gustavo Niemeyer <nie...@co...> Index: TODO =================================================================== RCS file: /cvsroot/pybot/pybot/TODO,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TODO 9 May 2003 15:27:43 -0000 1.4 --- TODO 9 May 2003 20:18:36 -0000 1.5 *************** *** 4,9 **** - A better website for pybot. - - Documentation!! Please, write documentation. :-) - - Include every module in the online help system. --- 4,7 ---- *************** *** 18,19 **** --- 16,26 ---- - Remove the parameter from __loadmodule() and __unloadmodule__(), and convert them to use a general "mod" name for the instance. + + - Cross identification between servers. + + - Include help topics when registering a help entry. + + - Include help for permissions. + + - Perhaps move all option system to sqlite. + Index: pybot.conf =================================================================== RCS file: /cvsroot/pybot/pybot/pybot.conf,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** pybot.conf 9 May 2003 15:27:43 -0000 1.5 --- pybot.conf 9 May 2003 20:18:36 -0000 1.6 *************** *** 18,26 **** ; system (send "help permission" to pybot for more information), or just ; append an entry here and restart pybot. ! admins = niemeyer@i.conectiva.com.br [userdata] ; 30min login_timeout = 1800 [infopack] --- 18,29 ---- ; system (send "help permission" to pybot for more information), or just ; append an entry here and restart pybot. ! admins = nie...@ir... [userdata] ; 30min login_timeout = 1800 + + [options] + path = %(datadir)s/options [infopack] Index: pybot.py =================================================================== RCS file: /cvsroot/pybot/pybot/pybot.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pybot.py 8 May 2003 19:11:34 -0000 1.2 --- pybot.py 9 May 2003 20:18:36 -0000 1.3 *************** *** 30,35 **** sys.exit("error: couldn't find module pybot.runner") module[0].close() while 1: ! ret = os.system("python "+module[1]) if ret != 0: break --- 30,36 ---- sys.exit("error: couldn't find module pybot.runner") module[0].close() + args = ' '.join(["'%s'"%x for x in sys.argv[1:]]) while 1: ! ret = os.system("python %s %s" % (module[1], args)) if ret != 0: break |