forked from importers/git-importer
Importer for OBS packages into git
2784171f75
This is a rather complex operation, but whenever a package changes in Factory, the inherited package gets a shadow revision consisting of the 3-way merge. If this happens due to a request being accepted, this is actually in most cases also commited by 'buildservice-autocommit', so we're making sure this is always happening (and are actually duplicating revisions in cases that we filter out later as empty commits). To differenciate the fake revisions from the real revisions, I add a fraction part |
||
---|---|---|
lib | ||
tests | ||
.gitignore | ||
database.ini | ||
git-importer.py | ||
Makefile | ||
README.md |
sudo zypper in python3-psycopg2 sudo su - postgres
createdb -O <LOCAL_USER> imported_git
To reset the database, drop table scheme