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

Policies: refactor policy package code to use new plugin code #6382 #6426

Conversation

jamesp-epcc
Copy link
Contributor

This PR refactors the policy package algorithm code to use the new class introduced as part of the rule auto-approval work. All of the algorithm types (SURL, LFN2PFN and scope extraction) now use this base class, resulting in less duplication and hopefully cleaner code.

I have moved plugins.py from core to common to preserve the layering of the code, because the scope extraction algorithms are used client side.

bari12
bari12 previously approved these changes Mar 7, 2024
@bari12
Copy link
Member

bari12 commented Mar 7, 2024

@jamesp-epcc can you please rebase this and solve the conflict.

@jamesp-epcc jamesp-epcc force-pushed the feature-6382-policy-package-algorithm-refactor branch 2 times, most recently from ff591ec to 489e7e7 Compare March 8, 2024 09:44
@jamesp-epcc jamesp-epcc force-pushed the feature-6382-policy-package-algorithm-refactor branch from 489e7e7 to eec177d Compare March 8, 2024 09:47
@jamesp-epcc
Copy link
Contributor Author

I've rebased and fixed the conflict. Also had to modify fts3_plugins as it was trying to import the plugins module from core.

@jamesp-epcc
Copy link
Contributor Author

I see the integration tests failed, but I can't see an obvious connection with my changes. I'm wondering if this is one of the failures mentioned at the meeting yesterday.

@bari12 bari12 merged commit 57955a0 into rucio:master Mar 11, 2024
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants