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

Refactor policy package algorithm code #6382

Closed
jamesp-epcc opened this issue Nov 20, 2023 · 0 comments
Closed

Refactor policy package algorithm code #6382

jamesp-epcc opened this issue Nov 20, 2023 · 0 comments
Assignees
Milestone

Comments

@jamesp-epcc
Copy link
Contributor

Description

PR 6215 introduced a new class for registering algorithms from policy packages. This is a cleaner way of doing it than the method previously used elsewhere in the code so it would be good to refactor the code to use this class for all access to policy package algorithms (namely for SURL, scope extraction and LFN2PFN algorithms).

However would it make sense to move the class from core/plugins.py to common/plugins.py to preserve the layering of the code and avoid calling core from common? Two of the other uses of policy package algorithms are in common/utils.py.

Motivation

No response

Change

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants