labgrid-project / labgrid

Embedded systems control library for development, testing and installation
https://labgrid.readthedocs.io/
Other
334 stars 174 forks source link

No cleanup after ManagedFiles #349

Closed Bastian-Krause closed 5 years ago

Bastian-Krause commented 5 years ago

PR #308 added ManagedFiles. This enables labgrid to synchronize files (e.g. BSP artifacts) to a remote host. But file cleanup in /tmp/labgrid-{user}/{hash}/ afterwards is missing.

jluebbe commented 5 years ago

This behavior is intentional to allow reusing the uploads on subsequent calls (for example with labgrid-client bootstrap/fastboot flash). The documentation recommends using a regular cleanup task: https://labgrid.readthedocs.io/en/latest/getting_started.html#exporter

Emantor commented 5 years ago

Hm, the documentation is not exactly correct there.