hundreds-breakfast-49010
10/22/2020, 5:51 PMpants prune
goal?hundreds-father-404
10/22/2020, 5:51 PMhundreds-breakfast-49010
10/22/2020, 5:51 PMpants clean
or some other goal that tries to manually determine what artifacts on disk pants has left around, and clean them?hundreds-father-404
10/22/2020, 5:52 PMlmdb_store
intelligently, like only get rid of unused/stale things?fast-nail-55400
10/22/2020, 5:53 PMhundreds-breakfast-49010
10/22/2020, 5:53 PMhundreds-father-404
10/22/2020, 5:53 PMprune
more than clean
fast-nail-55400
10/22/2020, 5:53 PMdocker system prune
git gc
of coursehundreds-breakfast-49010
10/22/2020, 5:53 PMhundreds-father-404
10/22/2020, 5:53 PMfast-nail-55400
10/22/2020, 5:54 PMhundreds-breakfast-49010
10/22/2020, 5:54 PMhundreds-father-404
10/22/2020, 5:54 PMhundreds-breakfast-49010
10/22/2020, 5:54 PM.cache/pants
and <build_root>/.pants.d
, not all of which is actually pantsd-related code anywayjolly-midnight-72759
10/22/2020, 6:05 PMbuild-suppoet/nuke
🍄 ☁️pants
to find the proper directories to get rid of, so if you run it twice, it rebuilds pants
chroot before deleting it. 🤣hundreds-breakfast-49010
10/22/2020, 6:06 PMjolly-midnight-72759
10/22/2020, 6:08 PMpants.toml
until we deployed v2.0.0. If this gets build into pants
proper, that would be even better.fast-nail-55400
10/22/2020, 6:10 PMnuke_if_too_big
to prune Pants cachesjolly-midnight-72759
10/22/2020, 6:12 PMhundreds-breakfast-49010
10/22/2020, 6:17 PMhundreds-father-404
10/22/2020, 6:17 PMnuke_if_too_big
in our “Using Pants in CI” page toohundreds-breakfast-49010
10/22/2020, 6:18 PM.pants.d/run-tracker
bigger, which is why I'm thinking about thispolite-garden-50641
10/22/2020, 6:19 PMhundreds-breakfast-49010
10/22/2020, 6:21 PMpolite-garden-50641
10/22/2020, 6:24 PMhundreds-breakfast-49010
10/22/2020, 6:25 PMhundreds-father-404
10/22/2020, 6:28 PMand in general it is already a problem that pants’ disk usage can get huge, we’ve all run into this+1. And I don’t think it’s a good experience for a user to realize how hungry Pants is, and not having a mechanism to clean it without knowing it’s safe to
rm -rf
.
+1 that automatic is better, but manual is a fine first step.polite-garden-50641
10/22/2020, 6:29 PMhundreds-breakfast-49010
10/22/2020, 6:30 PM.cache/pants/
particularly lmdb and rust artifacts