Skip to content

Potential maintenance and migration away from paste #605

@fmigneault

Description

@fmigneault

Issue

Considering pasteorg/paste#91 discussing cease of development of paste, following definitions might need to be adjusted.

Magpie/config/magpie.ini

Lines 106 to 108 in 9bb053a

[app:api_app]
use = egg:Paste#static
document_root = %(here)s/ui/swagger

Magpie/config/magpie.ini

Lines 110 to 113 in 9bb053a

[filter:urlprefix]
use = egg:PasteDeploy#prefix
# prefix must be adjusted according to 'MAGPIE_URL' / 'magpie.url'
prefix = /magpie

[composite:main]
use = egg:Paste#urlmap
/ = magpie_app
#/api = api_app
#/magpie/api = api_app

Potential Solutions

For urlmap, this is supposed to be a drop-in replacement https://rutter.readthedocs.io/en/latest/#declarative-configuration-using-paste-deploy-ini-files (reference pasteorg/paste#91 (reply in thread)).

The PasteDeploy is supposed to be unaffected (pasteorg/paste#91 (reply in thread)).

For static, tests must be done to validate if there is an impact or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    investigateIssue or new component that needs further exploration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions