buildtest.cli.history
¶
Module Contents¶
Functions¶
|
This is the entry point for command |
|
This method is used for alpha numeric sorting of files. |
|
This method is entry point for |
|
This method is called when user runs buildtest history query which will |
Attributes¶
- buildtest.cli.history.logger¶
- buildtest.cli.history.build_history(args)[source]¶
This is the entry point for command
buildtest build history
command which reports- Parameters
args (dict) – Parsed arguments from ArgumentParser.parse_args
- buildtest.cli.history.sorted_alphanumeric(data)[source]¶
This method is used for alpha numeric sorting of files.
- Parameters
data – A list of history files to sort alpha numerically
- Returns
sorted list of history files alphanumerically
- Return type
- buildtest.cli.history.list_builds(header=None, terse=None)[source]¶
This method is entry point for
buildtest history list
which prints all previous builds stored in BUILD_HISTORY_DIR. Each directory has abuild.json
file that stores content of each build that was run bybuildtest build
.