You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 16, 2025. It is now read-only.
Features:
- Added garbage creation prevention information field in JSON schema and some of the rules in default cleanup list
Fixes:
- Fixed wrong string definitions for reserved words in JSON schema
- Fixed the dry run flow to display garbage cleaner version information before performing other operations
- Improved notification when there is nothing to do
- Iterating through files defined by a rule containing a wildcard character (`*`) will now be done only if at least one such file exists
Documentation:
- Added garbage creation prevention instructions to dry run documentation
- Added quick dry run info to the main README
- Added garbage creation prevention feature to the main README
Copy file name to clipboardExpand all lines: cleanup-list.json
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@
37
37
"category": "Windows",
38
38
"entity_category": "log",
39
39
"description": "WSLg (Windows Subsystem for Linux GUI) remote desktop client auto trace logs. Can be generated when using Docker. Can be dozens of gigabytes.",
40
+
"instructions": "Real solution is not yet available, however there is a hack that works. To stop WSLg from making these files, stop WSL with `wsl --shutdown`, go to `~/AppData/Local/Temp/DiagOutputDir/`, delete the `RdClientAutoTrace` directory and create an empty file with the same name (`RdClientAutoTrace`) in its place. This will stop WSLg from creating new files.",
"description": "Scoop.sh installer cache. Contains packaged versions of all previously installed or updated applications.",
107
+
"instructions": "Scoop does not support disabling cache in configuration. Use the `--no-cache` flag instead, when issuing commands. Example: `scoop update --all --no-cache`.",
Copy file name to clipboardExpand all lines: doc/dry-run.adoc
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,23 @@ some_obsolete_log
53
53
54
54
At the end, the dry run will also list the total savings, just like in the non-detailed mode.
55
55
56
+
=== Garbage creation prevention instructions
57
+
58
+
If you run a detailed dry run (`--dryRun --detailed`), you will also get instructions on how to prevent further creation
59
+
of garbage. These instructions are available for some cleaning rules, where it makes sense.
60
+
61
+
The result will look something like this:
62
+
63
+
[source,text]
64
+
----
65
+
===Helpful info===
66
+
Some useful information on how to prevent creation of garbage files which were found on your system:
67
+
----------
68
+
Rule name: scoop_cache
69
+
Location: ~/scoop/cache/*.*
70
+
Prevention instructions: Scoop does not support disabling cache in configuration. Use the `--no-cache` flag instead, when issuing commands. Example: `scoop update --all --no-cache`.
71
+
----
72
+
56
73
=== Dry run also detects errors in cleanup list file
57
74
58
75
Whether you start dry run in detailed or non-detailed mode, it will report some of the errors found in your cleanup list
0 commit comments