Importer for OBS packages into git
Go to file
Stephan Kulow 3e1fbaa1c3 Migrate the ProxySHA256 data into postgresql DB
The calculation of the sha256 and the mimetype is local due to that
2022-11-07 21:50:31 +01:00
lib Migrate the ProxySHA256 data into postgresql DB 2022-11-07 21:50:31 +01:00
repos Move default repos into a subdirectory that is git ignored 2022-11-02 08:01:22 +01:00
tests Store API URL in the revision table 2022-11-06 10:57:32 +01: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 Run in the same process if there is only package 2022-11-04 21:02:18 +01:00
Makefile Add packages to consider 2022-11-07 07:29:20 +01:00
packages Add packages to consider 2022-11-07 07:29:20 +01: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