taucmdr.cli.commands.system.import module¶
system import subcommand.
- class taucmdr.cli.commands.system.import.ImportCommand(module_name, format_fields=None, summary_fmt=None, help_page_fmt=None, group=None)[source]¶
Bases:
AbstractCommandCopies source archives into system-level storage.
- _abc_impl = <_abc._abc_data object>¶
- taucmdr.cli.commands.system.import.import_sources(bundle, src_dir)[source]¶
Copy the source archives in a directory into a storage level’s source archive directory.
Only files with a name expected of a TAU dependency is copied. Files already in src_dir under the same name are not replaced. TAU nightly archives are named with the archive’s date, and
tau-nightly.tgzis linked to the newest (seecomplete_nightly_names).- Parameters:
- Returns:
Names of the files added to src_dir.
- Return type:
- Raises:
ConfigurationError – bundle isn’t a directory or an archive can’t be read.