Bug 13170

Summary: support easy environment-safe manage commands
Product: [Build System, Metadata & Runtime] Toaster Reporter: David Reyna <david.reyna>
Component: toasterAssignee: David Reyna <david.reyna>
Status: RESOLVED FIXED QA Contact: Toaster default assignee <toaster>
Severity: major    
Priority: Medium CC: jessica.zhang, stanciux.mihail
Version: 0.0.0   
Target Milestone: 3.1 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

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