repocleanup: moved db, viewer, log-parsers to ppf
authorMarius Sandu-Popa <sandupopamarius@gmail.com>
Sat, 10 Apr 2010 08:23:55 +0000 (11:23 +0300)
committerMarius Sandu-Popa <sandupopamarius@gmail.com>
Sat, 10 Apr 2010 08:24:19 +0000 (11:24 +0300)
40 files changed:
bt_comm/client/Client.py
ppf/db/.gitignore [moved from auto/db/.gitignore with 100% similarity]
ppf/db/DatabaseAccess.py [moved from auto/db/DatabaseAccess.py with 100% similarity]
ppf/db/DatabaseCommander.py [moved from auto/db/DatabaseCommander.py with 100% similarity]
ppf/db/DatabaseWriter.py [moved from auto/db/DatabaseWriter.py with 100% similarity]
ppf/db/README [moved from auto/db/README with 100% similarity]
ppf/db/client_sessions.sample.txt [moved from auto/db/client_sessions.sample.txt with 100% similarity]
ppf/db/db_init [moved from auto/db/db_init with 100% similarity]
ppf/db/julian.py [moved from auto/db/julian.py with 100% similarity]
ppf/db/sidereal.py [moved from auto/db/sidereal.py with 100% similarity]
ppf/db/status_messages.sample.txt [moved from auto/db/status_messages.sample.txt with 100% similarity]
ppf/db/swarms.sample.txt [moved from auto/db/swarms.sample.txt with 100% similarity]
ppf/db/verbose_messages.sample.txt [moved from auto/db/verbose_messages.sample.txt with 100% similarity]
ppf/extra/db_init.py [moved from auto/extra/db_init.py with 100% similarity]
ppf/log-parser/libtorrent/LogParser.py [moved from log-parser/libtorrent/LogParser.py with 100% similarity]
ppf/log-parser/libtorrent/README [moved from log-parser/libtorrent/README with 100% similarity]
ppf/log-parser/libtorrent/StatusParser.py [moved from log-parser/libtorrent/StatusParser.py with 100% similarity]
ppf/log-parser/libtorrent/run_sample [moved from log-parser/libtorrent/run_sample with 100% similarity]
ppf/log-parser/tribler/LogParser.py [moved from log-parser/tribler/LogParser.py with 100% similarity]
ppf/log-parser/tribler/StatusParser.py [moved from log-parser/tribler/StatusParser.py with 100% similarity]
ppf/log-parser/tribler/make_db [moved from log-parser/tribler/make_db with 100% similarity]
ppf/log-parser/tribler/run_sample [moved from log-parser/tribler/run_sample with 100% similarity]
ppf/log-parser/tribler/run_sample_verbose [moved from log-parser/tribler/run_sample_verbose with 100% similarity]
ppf/log-samples/libtorrent/141.85.224.222_50200.log [moved from log-samples/libtorrent/141.85.224.222_50200.log with 100% similarity]
ppf/log-samples/libtorrent/libtorrent-status.sample.log [moved from log-samples/libtorrent/libtorrent-status.sample.log with 100% similarity]
ppf/log-samples/tribler/log/smth.txt [moved from log-samples/tribler/log/smth.txt with 100% similarity]
ppf/log-samples/tribler/log/test1_verbose_msg_request.log [moved from log-samples/tribler/log/test1_verbose_msg_request.log with 100% similarity]
ppf/log-samples/tribler/log/test2.txt [moved from log-samples/tribler/log/test2.txt with 100% similarity]
ppf/log-samples/tribler/log/test2_verbose_msg.log [moved from log-samples/tribler/log/test2_verbose_msg.log with 100% similarity]
ppf/sql/.gitignore [moved from auto/sql/.gitignore with 100% similarity]
ppf/sql/README [moved from auto/sql/README with 100% similarity]
ppf/sql/p2p-log-sqlite.sql [moved from auto/sql/p2p-log-sqlite.sql with 100% similarity]
ppf/util/julian.py [moved from auto/util/julian.py with 100% similarity]
ppf/util/sidereal.py [moved from auto/util/sidereal.py with 100% similarity]
ppf/viewer/DbObjects.py [moved from viewer/DbObjects.py with 100% similarity]
ppf/viewer/README [moved from viewer/README with 100% similarity]
ppf/viewer/config.py [moved from viewer/config.py with 100% similarity]
ppf/viewer/mpleditor.py [moved from viewer/mpleditor.py with 100% similarity]
ppf/viewer/p2p-nexteditor.py [moved from viewer/p2p-nexteditor.py with 100% similarity]
ppf/viewer/run_viewer [moved from viewer/run_viewer with 100% similarity]

index e2b6d64..3526e9e 100644 (file)
@@ -45,11 +45,11 @@ class Commander(Thread):
        def sendComm(self, hostname, port, msg_type, config_data):
                try:
                        self.sock.connect((hostname, port))
-                       self.send(msg_type)
-                       response = self.recv_msg()
+                       self.sendMsg(msg_type)
+                       response = self.recvMsg()
                        if response == ACK_MSG:
                                self.sendMsg(pickle.dumps(config_data))
-                               response = self.recv_msg()
+                               response = self.recvMsg()
                        print "->>>>>>>>>>>>>>>>>>>>>>>>>", response
                except Exception as e:
                        print e
@@ -75,7 +75,7 @@ class Commander(Thread):
                        
        def startDaemon(self, node):
                print node.daemon_dir
-               comm = "PYTHONPATH=/home/p2p/cs-p2p-next/bt_comm:/home/p2p/cs-p2p-next/bt_comm/start-clients/ python /home/p2p/cs-p2p-next/bt_comm/server/Server.py start " + node.public_address + " " + node.listen_port
+               comm = "PYTHONPATH=/home/p2p/cs-p2p-next/bt_comm:/home/p2p/cs-p2p-next/bt_comm/start-clients/ python /home/p2p/cs-p2p-next/bt_comm/server/Server.py start " + node.private_address + " " + node.listen_port
                print comm
                #self.printDummyCommand(node.public_address, node.public_port, node.ssh_port, comm)
                self.sendSSHComm(node.public_address, node.username, int(node.ssh_port), comm)
similarity index 100%
rename from auto/db/.gitignore
rename to ppf/db/.gitignore
similarity index 100%
rename from auto/db/README
rename to ppf/db/README
similarity index 100%
rename from auto/db/db_init
rename to ppf/db/db_init
similarity index 100%
rename from auto/db/julian.py
rename to ppf/db/julian.py
similarity index 100%
rename from auto/db/sidereal.py
rename to ppf/db/sidereal.py
similarity index 100%
rename from auto/extra/db_init.py
rename to ppf/extra/db_init.py
similarity index 100%
rename from auto/sql/.gitignore
rename to ppf/sql/.gitignore
similarity index 100%
rename from auto/sql/README
rename to ppf/sql/README
similarity index 100%
rename from auto/util/julian.py
rename to ppf/util/julian.py
similarity index 100%
rename from auto/util/sidereal.py
rename to ppf/util/sidereal.py
similarity index 100%
rename from viewer/DbObjects.py
rename to ppf/viewer/DbObjects.py
similarity index 100%
rename from viewer/README
rename to ppf/viewer/README
similarity index 100%
rename from viewer/config.py
rename to ppf/viewer/config.py
similarity index 100%
rename from viewer/mpleditor.py
rename to ppf/viewer/mpleditor.py
similarity index 100%
rename from viewer/run_viewer
rename to ppf/viewer/run_viewer