Importer for OBS packages into git
56cbe0a125
There seems to be races when using db cursors from multiple threads. as found by import issues after switching to a newer computer that has performance and energy efficient cores. As this is not particularly performance critical, convert to single threaded use which makes it work again |
||
---|---|---|
lib | ||
repos | ||
tests | ||
.gitignore | ||
database.ini | ||
git-importer.py | ||
gone-packages.txt | ||
Makefile | ||
packages | ||
README.md |
sudo zypper in python3-psycopg2 sudo su - postgres
createdb -O <LOCAL_USER> imported_git
To reset the database, drop table scheme