Commit graph

17 commits

Author SHA1 Message Date
Nikos Kouremenos
d9cc33cf26 log system rewrite to use sqlite database instead of plain ascii files. this allows us to scale better (be faster), provide search in history, and save logs for JIDs that are non-ASCII. PLEASE read http://trac.gajim.org/wiki/MigrateLogToDot9DB 2005-11-23 19:12:52 +00:00
Nikos Kouremenos
d319c8eedf update migration script to match the new api 2005-11-23 00:06:29 +00:00
Nikos Kouremenos
8fd42ee7d8 add uniq; fix name of index to be cooler, fix a typo in comment, and most importantly use lastrowid instead of asking max (eg. play a little less with db 2005-11-22 15:38:03 +00:00
Nikos Kouremenos
67bdcf983f typo 2005-11-22 14:52:37 +00:00
Nikos Kouremenos
f5dfa2c804 check if db is already there and fail nicely 2005-11-22 14:52:04 +00:00
Nikos Kouremenos
374bde0914 typo 2005-11-22 11:53:56 +00:00
Nikos Kouremenos
76b4181123 use os.path.join 2005-11-22 11:25:04 +00:00
Nikos Kouremenos
8beb2e0266 do not fail in windoz part 3 and last 2005-11-22 11:24:10 +00:00
Nikos Kouremenos
5989b495d1 do not fail in windoz part 2 2005-11-22 11:21:48 +00:00
Nikos Kouremenos
d8b732ad2a do not fail in windoz 2005-11-22 11:18:08 +00:00
Yann Leboulanger
db89101271 add some comments 2005-11-22 11:13:54 +00:00
Yann Leboulanger
a5f7c01911 prevent some TB when converting logs 2005-11-22 11:06:39 +00:00
Nikos Kouremenos
e78f26908c max is faster than count. thanks norman 2005-11-22 00:05:45 +00:00
Nikos Kouremenos
50af6160bf use global pattern. the pb is HD I/O not CPU but anyways 2005-11-21 23:47:22 +00:00
Nikos Kouremenos
801f8bd985 minor 2005-11-21 23:33:09 +00:00
Nikos Kouremenos
2c0d7cea12 make it executable 2005-11-21 23:30:39 +00:00
Nikos Kouremenos
011462eec7 make it a bit faster 2005-11-21 23:25:04 +00:00
Renamed from scripts/migrate_to_dot9_logs.py (Browse further)