Move db/auth to kojihub module

Related: https://pagure.io/koji/issue/3666
This commit is contained in:
Tomas Kopecek 2023-02-08 15:40:09 +01:00
parent 5ecc788603
commit b0e91e378c
38 changed files with 128 additions and 140 deletions

View file

@ -18,7 +18,7 @@ import koji
from koji.context import context
from koji.plugin import callback, convert_datetime, ignore_error
from kojihub import get_build_type
from koji.db import QueryProcessor, InsertProcessor, DeleteProcessor
from kojihub.db import QueryProcessor, InsertProcessor, DeleteProcessor
CONFIG_FILE = '/etc/koji-hub/plugins/protonmsg.conf'
CONFIG = None

View file

@ -3,7 +3,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
import koji
from koji.db import QueryProcessor, nextval
from koji.context import context
from koji.plugin import callback, export
import koji.policy
@ -21,6 +20,7 @@ from kojihub import (
policy_get_user,
readInheritanceData,
)
from kojihub.db import QueryProcessor, nextval
CONFIG_FILE = "/etc/koji-hub/plugins/sidetag.conf"