- Add mock-specific build artifacts (chroot/, mock-*, mockroot/) - Include package build files (*.deb, *.changes, *.buildinfo) - Add development tools (.coverage, .pytest_cache, .tox) - Include system files (.DS_Store, Thumbs.db, ._*) - Add temporary and backup files (*.tmp, *.bak, *.backup) - Include local configuration overrides (config.local.yaml, .env.local) - Add test artifacts and documentation builds - Comprehensive coverage for Python build system project This ensures build artifacts, chroot environments, and development tools are properly ignored in version control.
20 lines
535 B
Markdown
20 lines
535 B
Markdown
---
|
|
layout: default
|
|
title: Plugin Compress Logs
|
|
---
|
|
|
|
This plugin compresses logs created by Mock in the result directory (build.log,
|
|
hw_info.log, installed_pkgs.log, root.log and state.log).
|
|
|
|
This plugin is **disabled** by default.
|
|
|
|
|
|
## Configuration
|
|
|
|
To compress your logs with XZ, you can put this into the
|
|
[configuration](configuration):
|
|
```python
|
|
config_opts['plugin_conf']['compress_logs_enable'] = True
|
|
config_opts['plugin_conf']['compress_logs_opts']['command'] = "/usr/bin/xz -9"
|
|
```
|
|
This plugin is available since mock-1.2.1.
|