Importer for OBS packages into git
Go to file
Adam Majer 3d1684f01b Don't calculate diffs ....
Instead of calculating diffs, just apply the revision to the branch
as-is. If things don't match, update them. Done.

Problems happens if there are devel project changes and histories
are no longer linear and the diffs are not calculated properly.
eg. trytond_stock_lot devel branch was imported incorrectly
2024-06-07 16:25:17 +02:00
lib Don't calculate diffs .... 2024-06-07 16:25:17 +02:00
repos Move default repos into a subdirectory that is git ignored 2022-11-02 08:01:22 +01:00
tasks Add tasks 2024-05-17 11:46:18 +02: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 Remove ProcessPool from exporting 2022-11-11 16:33:44 +01:00
gone-packages.txt Add a list of packages no longer existing 2022-12-02 11:00:31 +01:00
Makefile Add packages to consider 2022-11-07 07:29:20 +01:00
opensuse-monitor.py Add monitor for commits 2024-05-17 11:40:19 +02:00
packages Add packages to consider 2022-11-07 07:29:20 +01:00
README.md Switch to psycopg rather than psycopg2 2024-05-16 11:49:14 +02:00

sudo zypper in python3-psycopg sudo su - postgres

createdb -O <LOCAL_USER> imported_git

To reset the database, drop table scheme