Importer for OBS packages into git
Go to file
2024-08-24 17:13:35 +02:00
lib Revert "Remove devel branch import" 2024-08-11 22:54:47 +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 Stop importing/exporting scmsync packages/projects 2024-08-08 10:35:53 +02:00
gone-packages.txt Add a list of packages no longer existing 2022-12-02 11:00:31 +01:00
Makefile Update Makefile 2024-08-24 17:13:35 +02:00
opensuse-monitor.py ruff format run 2024-07-10 10:34:20 +02:00
packages Add packages to consider 2022-11-07 07:29:20 +01:00
README.md Parametrizes git import parameters 2024-08-08 17:56:41 +02:00
update-tasks.sh remember failed tasks in a separate directory 2024-06-10 17:04:43 +02:00

Installation

sudo zypper in python3-psycopg
sudo su - postgres
createdb -O <LOCAL_USER> imported_git`

To reset the database, drop table scheme

Gitea parameters

  • GITEA_HOST - default: src.opensuse.org
  • GITEA_USER - Used to generate SSH links for push. Default: gitea
  • GITEA_ORG - target organization to push to
  • GITEA_DEFAULT_BRANCH - default branch