Skip to content

change(python): put pkgbase routes & impl into their own modules

Kevin Morris requested to merge kevr/aurweb:pkgbase-decouple into pu

Introduces new router:

  • aurweb.routers.pkgbase

Introduces new package:

  • aurweb.pkgbase

Introduces new modules:

  • aurweb.pkgbase.actions
  • aurweb.pkgbase.util

Changes:

  • pkgbase_{action}_instance functions are now located in aurweb.pkgbase.actions.
  • pkgbase-wise routes have been moved to aurweb.routers.pkgbase.
  • make_single_context was moved to aurweb.pkgbase.util.make_context.

Signed-off-by: Kevin Morris kevr@0cost.org

Edited by Kevin Morris

Merge request reports

Loading