Project

Profile

Help

Story #2421

Updated by dkliban@redhat.com over 3 years ago

**In In Pulp 2.Y, users use pulp-manage-db to migrate their database when installing for the first time or upgrading to a new version.

It's important that users are able to continue to run migrations in Pulp 3.Y. Since we are leveraging Django's migration management capabilities, Pulp users will need to use the manage.py that is part of the Pulp Django app.

As a result of this story, a new executable should be created. This executable will take the same arguments that manage.py takes and simply forward them to the manage.py in the Pulp app that is installed.

We can add any custom commands we need[0]. One such command could be 'reset-admin-pass' as I mentioned here[1]. Custom commands can be added us

A possible name for the executable is 'pulp-manager'.

[0] https://docs.djangoproject.com/en/1.8/howto/custom-management-commands/
[1] https://pulp.plan.io/issues/2358?pn=1#note-8

Back