- listStackSubdirs: sort after filtering
- Directory: ignore non-directories, like .DS_Store files (#19, thanks to @0rphee for reporting #18)
- simpler dry run output and use simple-prompt yesNo
- add --yes option for --delete
- keep-minor: fix ghc minor version checks with major version
- support the
STACK_ROOT
environment variable which overrides the default Stack root (~/.stack
) by @PRESFIL (#12) - list all the platform variants by default (#15)
- add --tarballs for programs/ ghc tarballs too (#9)
- bug fix to match both ghc-. and ghc-variant-. (#14)
- rename --os-system to --platform and add more explanation (#15)
- parse ghc installation versions more carefully
- ignore hidden files in stack dirs
- fix --recursive and --subdirs to work again
- show --recursive dir paths
- ignore non-ghc dirs in ~/.stack/programs/
- fix multiple reminders about using --delete
- handle .stack-work/ consistently for --subdir and --recursive
- remind user to use '--delete' for removal
- purge-older: output is now sorted by ghc versions
- 'delete-work' now prints ".stack-work" would be deleted
- prompts now print what would be deleted
- '--recursive' now prints dirs with '/' appended
- add optional --os-system to fix #7
- list/size snapshots before compilers for --global
- --help now mentions --delete and a link to README
- dryrun is now default: use --delete for actual removal (suggested by @andreasabel #6)
- new --subdirs and --recursive options
- various output improvements
- purge-older now also says "would be removed" when dryrun
- 'delete-work': use find -prune and ignore inaccessible files (@petrem, #4)
- drop subsubcommands to simplify UI
- default to project if there is a .stack-work/ dir, otherwise global ~/.stack
- rename commands:
- remove-version -> remove
- remove-earlier-minor -> keep-minor
- remove-older -> purge-older
- remove-work -> delete-work
- fix handling of partially installed ghc compiler temp dirs (#2)
- rename --dryrun to --dry-run (#1)
- drop --dir option
- delete-work: use --all to run from a non-project dir
- add 'project remove-work' to recursively remove .stack-work from projects
- remove-earlier-minor can now take a major version
- major internal refactors with VersionSnapshots type
- split code into modules
- add --dryrun to all remove commands
- remove-earlier-minor subcommands to purge for previous ghc minor versions
- allow major ghc X.Y versions (prompts for removal)
- 'ghc list' is now sorted
- initial release with project and snapshots subcommands