Trash D Versions Save

A near drop-in replacement for rm that uses the trash bin. Written in D

19

1 year ago

No real changes in this release, but Dub made a breaking change requiring SemVer for packages, so I have updated to pretend to comply with that. Trash-D's versioning has not changed.

Full Changelog: https://github.com/rushsteve1/trash-d/compare/18...19

18

1 year ago

This release is a smaller one for end-users, but contains a lot of code style and build system changes that should hopefully help developers and packagers.

Keeping the same version name since I've been playing a lot of SFV lately.

What's Changed

  • Don't stop deleting on an exception by @ninedotnine in https://github.com/rushsteve1/trash-d/pull/20
  • Replace Pandoc with Ronn-ng and use Rake for build tasks. This increases our reliance on Ruby, but Pandoc is a HUGE dependency so it's nice to drop it.
  • Enable DIP 1000 project-wide in preparation of that becoming the new default in D
  • Convert project from Spaces to Tabs. Yes, I made a life decision.
  • Use CTFE for all the version information, so now only the info in dub.json matters.

Full Changelog: https://github.com/rushsteve1/trash-d/compare/17...18

17

1 year ago

A whole host of bugfixes and improvements, and our first external contributor @ninedotnine! Code coverage remains around the 85% mark, which is where I hope to keep it. This shaped up to be a nice series of improvements to trash-d, and it really feels like the project is starting to reach maturity!

This release is named after M. Bison from the Street Fighter franchise.

What's Changed

Full Changelog: https://github.com/rushsteve1/trash-d/compare/16...17

16

2 years ago

This release has a breaking change

  • Add the -I flag to prompt only when there are more than 3 things being deleted
  • Disable flag pass-through trash-d will now throw an error on an unknown flag

This release marks the point in rm compatibility where I am now comfortable saying it's "good enough" and that it won't break workflows too bad. So I made the breaking change that unknown flags will no longer be ignored.

No release name change, because I like Mithrix 🙃

15

2 years ago
  • Documentation updates
  • Fix prog_name being incorrect and errors being reported wrong
  • Fix issue #5

This release is named after Mithrix from Risk of Rain 2

Full Changelog: https://github.com/rushsteve1/trash-d/compare/14...15

(If you force push and no one is around to notice, did it really even happen?)

14

2 years ago

This release has no improvements to trash-d itself, but to everything around it. The tool now has a full man page, and we now offer both DEB and RPM packages for your convenience. These are just the same static binary packaged up with a bow.

Both the man page and packages are built from the GitHub action, same as the binary.

13

2 years ago

This version fixes some bugs and improves the test cases to catch them, as well as added a new --orphans flag which will list files in the trash bin that don't have matching .trashinfo files and are therefore "orphaned". See #3 and #4 for more info.

This release does not have a new codename, because "orphans" fits Cliff pretty well.

12

2 years ago

This release includes a number of minor improvements, as well as a workaround for issue #2

  • Added support for a new environment variable TRASH_D_DIR which can be used to explicitly set the trash directory. This can be used in a number of ways, including as a workaround for issue #2.
  • Refactored code-base into multiple files with various small improvements
  • Ran the D linter and fixed a number of smaller code issues. The linter is now part of the CI test suite.
  • Removed unnecessary in-lining
  • --restore now properly checks for write access

This release is named after Clifford Unger from Death Stranding.

11

2 years ago

This is a bugfix release fixing an couple of issues...

  • Options and flags now follow the correct precedence that minimizes accidental deletion and data loss
  • Directory sizes are now calculated correctly
  • Folders are removed from the directorysizes file when appropriate
  • --rm can now delete folders that are not empty when given -r

10

2 years ago

This release is a minor bugfix for compatibility issues with other file managers when emptying the trash bin.

Since this release is relatively minor, the code name has not changed.