Status#
Description#
Given the URL for a top level wrapp file, return an ordered list of packages that are dirty, and a map of wrapp file to the list of detailed status entries found in that subpackage.
To help detect issues of a modified folder content, the status command can be used to compare the content of an installed folder with the originally installed content. This checks if an installed package with all its subpackages is unmodified.
For usage examples, see the Tutorial. For CLI options, run wrapp status --help.
Return Value#
The status function returns a tuple of:
List[str]- Ordered list of wrapp file URLs for packages that are dirtyDict[str, List[PackageStatusItem]]- Map of wrapp file URL to detailed status entries
Each PackageStatusItem contains:
package_name: Name of the packageabsolute_wrapp_file_path: Location of the package filestatus_message: Human-readable description of the issuestatus_item_type: One of thePackageStatusItemTypevalues
Python API Reference#
- async wrapp.status(
- wrapp_file: str,
- ignores: str | IgnoreEvaluator | None = None,
- *,
- ignore_file: str | None = None,
- context: CommandParameters = CommandParameters(debug=False, verbose=False, dry_run=False, log_file=None, hash_cache_file=None),
- scheduler: SchedulerContext | None = None,
Given the URL for a top level wrapp file, return an ordered list of packages that are dirty, and a map of wrapp file to the list of detailed PackageStatusItem entries found in that subpackage.
- Parameters:
wrapp_file – Full URL for the top level wrapp file
ignores – Specify the name of an ignore file containing rules for ignoring items, or an IgnoreEvaluator object
ignore_file – Deprecated, use ignores instead. Specify the name of an ignore file containing rules for ignoring items
context – Optionally, global configuration parameters.
scheduler – Optionally pre-constructed SchedulerContext. When calling many functions in a row make sure to pre-construct the scheduler.