-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Only delete old project (skip active project) #64
Comments
Hey @azzamsa , just to be sure, kondo should only delete from projects that you choose to "clean", if it's deleting from projects without your express consent please file an issue for that! In regards to "active" projects, it's hard to say what is active, that will depend on the user. I was actually working on a way to surface the projects last modified date yesterday. It's my hope that will provide the user enough information to base their decision. As for automatically cleaning projects older than a certain date, I honestly hadn't thought of that, but it's something I may consider adding. Thank you for letting me know about that! |
Yes, I think it doesn't need to be configurable as args. |
I've added a printout of the last date a file in the project was modified, which was the first step towards something like this
|
What about some kind of minimal filter syntax for passing to kondo. For example You could combine that with the |
I think it should be the default, to avoid breaking current workflow. |
@tbillington I think we need a new release that includes #66 :) |
Yep good call, thank you for the reminder @azzamsa |
Hi.
When I use
kondo
in my directory project, it deletes all the build artifacts in all directories. Including the active one.woubuc/sweep: Reduce the disk usage of your projects by removing dependencies & builds on the other hand, only delete inactive directory: old projects that haven't been changed in more than a month.
I thought I was missing some options. But I don't find any clue with
kondo --help
.The text was updated successfully, but these errors were encountered: