jwutils: Move to jwutils -> jw.util

Move all implementation source code from the jwutils module to
jw.util. For compatibility with existing Python modules, keep a thin,
autogenerated compatibility shim under jwutils.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-06-10 07:22:46 +02:00 • committed by janware DevOps
commit a2684dd601
Signed by: DevOps
SSH key fingerprint: SHA256:cZiw7ExG5q3KAVm7Jse3rGITowu0VjgUgNMPbifmY8g
9 changed files with 678 additions and 52 deletions

View file

@ -0,0 +1,14 @@
# ruff: noqa: E501
from jw.util.auth.Auth import Access as Access
from jw.util.auth.Auth import ProjectFlags as ProjectFlags
from jw.util.auth.Auth import Group as Group
from jw.util.auth.Auth import User as User
from jw.util.auth.Auth import Auth as Auth
__all__ = [
"Access",
"ProjectFlags",
"Group",
"User",
"Auth",
]

View file

@ -0,0 +1,5 @@
TOPDIR = ../../../..
PY_UPDATE_INIT_PY = false
include $(TOPDIR)/make/proj.mk
include $(JWBDIR)/make/py-mod.mk

View file

@ -0,0 +1,11 @@
# >> -------------------------- generated by python-tools.sh >>
# ruff: noqa: E501
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
from .Auth import Access as Access
from .Auth import ProjectFlags as ProjectFlags
from .Auth import Group as Group
from .Auth import User as User
from .Auth import Auth as Auth
# << -------------------------- generated by python-tools.sh <<

View file

@ -0,0 +1,10 @@
# ruff: noqa: E501
from jw.util.auth.dummy.Auth import Group as Group
from jw.util.auth.dummy.Auth import User as User
from jw.util.auth.dummy.Auth import Auth as Auth
__all__ = [
"Group",
"User",
"Auth",
]

View file

@ -0,0 +1,5 @@
TOPDIR = ../../../../..
PY_UPDATE_INIT_PY = false
include $(TOPDIR)/make/proj.mk
include $(JWBDIR)/make/py-mod.mk

View file

@ -0,0 +1,9 @@
# >> -------------------------- generated by python-tools.sh >>
# ruff: noqa: E501
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
from .Auth import Group as Group
from .Auth import User as User
from .Auth import Auth as Auth
# << -------------------------- generated by python-tools.sh <<

View file

@ -0,0 +1,8 @@
# ruff: noqa: E501
from jw.util.auth.ldap.Auth import Group as Group
from jw.util.auth.ldap.Auth import Auth as Auth
__all__ = [
"Group",
"Auth",
]

View file

@ -0,0 +1,5 @@
TOPDIR = ../../../../..
PY_UPDATE_INIT_PY = false
include $(TOPDIR)/make/proj.mk
include $(JWBDIR)/make/py-mod.mk

View file

@ -0,0 +1,8 @@
# >> -------------------------- generated by python-tools.sh >>
# ruff: noqa: E501
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
from .Auth import Group as Group
from .Auth import Auth as Auth
# << -------------------------- generated by python-tools.sh <<