Project

Profile

Help

Task #4894

Add check to Travis Configuration Tool to ensure the plugin never imports from pulpcore except pulpcore.plugin

Added by bmbouter about 1 year ago. Updated about 1 month ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Plugin Template
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

To use the plugin API correctly, you should only be importing things from pulpcore.plugin. A check should be added (defaults to on) to fail Travis tests (both merge and pre-release pipelines) if there is an import statement to pulpcore that is not pulpcore.plugin.

Associated revisions

Revision 6bb6854e View on GitHub
Added by daviddavis about 1 month ago

Adding script to check for non-plugin pulpcore imports

fixes #4894

History

#1 Updated by daviddavis about 1 month ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis

#2 Updated by daviddavis about 1 month ago

  • Status changed from ASSIGNED to MODIFIED
  • % Done changed from 0 to 100

#3 Updated by daviddavis about 1 month ago

  • Status changed from MODIFIED to CLOSED - COMPLETE

Please register to edit this issue

Also available in: Atom PDF