Trash-cli

Latest version: v0.24.5.26

Safety actively analyzes 632676 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

0.24.5.26

Shell Completion:
- Bugfix in print-completion loop for shells other than zsh by Andrew Davis
User not visibile changes:
- Move all the main logic for dev tools from scripts under tests/support to
solve issue https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067303
- Fixed a problem in GitHub Actions that ran all the tests on the same python
version instead of all the python versions specified
- Reintroducing testing on python 2.7 thanks the custom GitHub action found at
https://github.com/ytdl-org/setup-python
- Fixed regression that would crash trash-restore on non parseable trashinfo,
with an error like: "TypeError: not enough arguments for format string"
- Using python -m venv instead of virtualenv
- Refactor of some code in trash-put and trash-restore

0.24.4.17

User visible changes:
- trash-put --help shows also other commands (Joseph Masone)
- trash-restore prints a message when no file are restored: "No files were
restored" (lukasvrenner)
- fix a regression that would crash `trash-list --volumes` at every launch
- add `fuse.gocryptfs` to the mount_points to the list of allowed filesystems
(Maxim Baz)
- Fix a bug that would trash a link destination instead of trashing the link
when the file to be trashed contains trailing slashes.
- fix typos/grammar in man pages (qadzek)
- improved shell TAB-completion (Giuseppe Stelluto)
Work on the tools:
- made GitHub Actions workflows to work again
- updated the actions versions in GitHub Actions
- made the tests work again against python 2.7
- fixed the tox configuration (in some cases it would run python 2.7 tests on python 3!)
- made the type checker happy again
- the tarball created by python -m build sdist changed name, a dash "-" became
a underscore "_"; before was "trash-cli-version.tar.gz" now we have:
"trash_cli-version.tar.gz". The affected scripts has been updated to
accomodate this change

0.23.11.10

- use enum34...
- mypy
- trash-put clearer error messages

0.23.9.23

- man page trash-put.1 will also document trash-dirs locations (Joel Pereira)
- fixed typos in man page trash-put.1 (Joel Pereira)
- removed python 2.7 from the list of tested platforms (as GitHub Actions no
longer support this Python version)
- add MyPy checks to the GitHub Action test workflow
- improved error message when TrashInfo is not parsable in trash-restore
- suggested to use pipx in README.md (bryango)
- add instruction for installation on Fedora (Mohammed Eshan)
- get back `--` the command ending for trash-put (laggardkernel)
- fixed typos (David Auer)
- check info target trash folder non-exists Tin Lai

0.22.10.20

- Made visible option -v/--verbose of trash-empty - Andrea Francia
- Documented how completion works in README - Wu Zhenyu
- Change: now if a file does not exists it does not tries to delete it using
all available trash dirs - Andrea Francia
- Removed an error that would occur on trash-put when HOME environment is not
set - Andrea Francia
- Whitelisted fuse.glusterfs filesystem - Andrea Francia
- Add tox

0.22.10.4.4

- Revisited the trash-put log messages
- Add shell completions by shtab
- Feature: trash-empty learnt the --verbose option
- Feature: trash-empty learnt the --dry-run option
- Change: add six as a requirements
- Change: add 'fuse' to the list of "physical" file system types
- Change: now trash-put uses ArgumentParser instead of OptionParser
- Add more debugging messages to trash-put when it fails to trash a file.
- Change: trash-empty now uses lexists (instead of exists) to check if a file
is not existent before removal
- Add `trash-list --python` to print the python executable

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.