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

Plugin duplicate protection (identifiers and directory names) #237

Merged
merged 9 commits into from
Feb 22, 2024

Conversation

samwinebrake
Copy link
Contributor

@samwinebrake samwinebrake commented Feb 13, 2024

  • added extract_identifiers to find patterns within plugin inits
  • changed variable naming within is_submission_original
  • duplicate protection of plugin identifiers within inits

@mike-ferguson and @shehadak will this work with new changes being pushed shortly?

Closes #223

- changed variable naming within is_submission_original
- duplicate protection of directory names and plugin identifiers
@samwinebrake samwinebrake reopened this Feb 13, 2024
@samwinebrake samwinebrake requested review from mike-ferguson, kvfairchild and shehadak and removed request for kvfairchild February 13, 2024 19:34
Copy link
Member

@mike-ferguson mike-ferguson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - just one comment, see attached

benchmarks/views/user.py Outdated Show resolved Hide resolved
@mike-ferguson
Copy link
Member

Also: #224 Is almost merged, once tests pass. I say hold off on merging this PR and let's fold in those changes from #224 into here and do a quick test. I don't think anything will conflict, but it will be good to check

benchmarks/views/user.py Outdated Show resolved Hide resolved
@shehadak
Copy link
Collaborator

LGTM as well once comments are resolved! :-)

@samwinebrake samwinebrake merged commit 523d04c into master Feb 22, 2024
2 checks passed
@samwinebrake samwinebrake deleted the sw/plugin-identifier-duplicate-protection branch February 22, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prevent duplicate plugin submissions by plugin identifier before zipfile is accepted for submission
3 participants