Project

Profile

Help

Task #4450

closed

remove pulp-manager

Added by bmbouter about 5 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

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

Description

What is pulp-manager

It's a thin wrapper around django-admin. It's a Python entry point that points to: https://github.com/pulp/pulp/blob/master/pulpcore/app/entry_points.py

Problem

It's a wrapper around django-admin so we could just expose django-admin directly. Users who use django-admin know that they have to have it configured correctly. There are huge amounts of docs on how to do that.

We provide it like a binary that should "just work", but if you don't have the python environment activated or Pulp installed systemwide it won't.

With pulp-manager we hide all that from the user. The theme of our pulp3 usage was to get out of the way between the user and Django. This is one place where we are putting something we built in between the user and Django.

Consider how this affects the user experience for migrations. Currently the user would use pulp-manager, but they probably should use django-admin since migrate is a Django's command. It's not a Pulp command so putting it under pulp-manager is confusing.

Also pulp-manager looses autocompletion so it's already not as great as django-admin.

Solution

Remove pulp-manager altogether and just use django-admin. Pulp is a Django site after all.


Related issues

Blocks Pulp - Issue #4545: pulp fails to install on centos7CLOSED - CURRENTRELEASEamacdona@redhat.comActions

Also available in: Atom PDF