Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Logs are never actually cleared #187

Closed
farid-fari opened this issue Mar 19, 2021 · 1 comment
Closed

[BUG] Logs are never actually cleared #187

farid-fari opened this issue Mar 19, 2021 · 1 comment
Assignees
Labels

Comments

@farid-fari
Copy link

Describe the bug
Logs are accumulated in task_logs/ directory despite running pueue remove and pueue clean.

To Reproduce
Steps to reproduce the behavior:

  1. Run a bunch of tasks that generate output
  2. Remove them with pueue remove
  3. Clean with pueue clean -s
  4. Observe that the logs are still stored in ~/.local/share/pueue/task_logs/ despite this

Expected behavior
The help text clearly says that pueue clean should remove logs, and I believe even pueue remove should do so.

This is using latest version 0.12.1.

@Nukesor
Copy link
Owner

Nukesor commented Mar 21, 2021

Yep that's a bug.

pueue remove doesn't remove the task logs. This is fixed in 43a26de
pueue clean indeed removes task logs, but only if the log hasn't been removed yet (which was a bug).
pueue reset removes everything.

@Nukesor Nukesor closed this as completed Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants