Bug 13170 - support easy environment-safe manage commands
Summary: support easy environment-safe manage commands
Status: RESOLVED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 0.0.0
Hardware: x86 Multiple
: Medium major
Target Milestone: 3.1 M4
Assignee: David Reyna
QA Contact: Toaster default assignee
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-02-05 04:30 UTC by David Reyna
Modified: 2020-03-31 15:03 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Reyna 2019-02-05 04:30:17 UTC
In Toaster there are several 'management' commands (e.g. createsuperuser|lsupdates|migrate|checksettings|collectstatic) that require the user to first setup the correct environment settings and then use a specific path.

This enhancement is to add a "manage ..." command to the Toaster executable that handles the environment and path for the user.

Examples:

  $ . toaster manage createsuperuser
  $ . toaster manage lsupdates
Comment 1 David Reyna 2020-03-31 15:03:32 UTC
commit 063e0ced9aab18c25a0438207c89b0259b0aaeb8