Importer for OBS packages into git
Go to file
Stephan Kulow 8a3db6c183 Collect the requests for revisions in one DB call
For smaller packages this doesn't matter as much, but for large ones
the N+1 queries can sum up badly
2022-10-31 08:03:01 +01:00
lib Collect the requests for revisions in one DB call 2022-10-31 08:03:01 +01:00
tests Add a test case for a simpler and newer package 2022-10-27 15:15:41 +02:00
.gitignore Split Request and Revision 2022-10-17 14:53:39 +02:00
database.ini Split the database config into 2 sections 2022-10-17 19:50:25 +02:00
git-importer.py Switch to walker for tree print 2022-10-31 07:03:19 +01:00
Makefile Add a small test case 2022-10-17 20:52:05 +02:00
README.md Create fake revisions for every commit in the base of a linked package 2022-10-26 14:56:38 +02:00

sudo zypper in python3-psycopg2 sudo su - postgres

createdb -O <LOCAL_USER> imported_git

To reset the database, drop table scheme