Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential maintenance and migration away from paste #605

Open
fmigneault opened this issue Apr 25, 2024 · 0 comments
Open

Potential maintenance and migration away from paste #605

fmigneault opened this issue Apr 25, 2024 · 0 comments
Labels
investigate Issue or new component that needs further exploration

Comments

@fmigneault
Copy link
Collaborator

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.

@fmigneault fmigneault added the investigate Issue or new component that needs further exploration label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate Issue or new component that needs further exploration
Projects
None yet
Development

No branches or pull requests

1 participant