Abhishek Dasgupta wrote: > The initial generation is taking really long! It's over two hours and still > generating... *SNIP* > Also, there has to be some way of escaping the filename so that sqlite > does not give errors like this: > SQL error: near "N": syntax error
I made a fork of pkgtools on github. Have a look at the sqlite branch of http://github.com/CMB/pkgtools I wrote a script which incrementally updates an SQLite database from a REPO.files.tar.gz tarball. It is in pkgtools/other/repofile2db.py The code is terribly raw! I'm afraid to try it, until I've done some more desk-checking. -- Chris
