Project

Profile

Help

Task #2286

closed

Add a travis task to fail when the plugin imports anything from pulp that isn't pulpcore.plugin

Added by semyers over 7 years ago. Updated over 2 years ago.

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

0%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulp_file/603":https://github.com/pulp/pulp_file/issues/603


While planning for pulp 3, we generally agreed that any plugin importing from anywhere other than 'pulpcore.plugin' indicates a failure of the plugin API. Based on this, it might be handy to have travis checking import statements in plugins to warn us when plugins are importing from inappropriate pulp platform namespaces.

Also available in: Atom PDF