Actions
Task #4894
closedAdd check to Travis Configuration Tool to ensure the plugin never imports from pulpcore except pulpcore.plugin
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Plugin Template
Sprint:
Quarter:
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.
Updated by daviddavis over 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to daviddavis
Added by daviddavis over 4 years ago
Updated by daviddavis over 4 years ago
- Status changed from ASSIGNED to MODIFIED
- % Done changed from 0 to 100
Applied in changeset plugin_template|6bb6854e8c077c28af7e8edd7dca38006e6667cb.
Updated by daviddavis over 4 years ago
- Status changed from MODIFIED to CLOSED - COMPLETE
Actions
Adding script to check for non-plugin pulpcore imports
fixes #4894