Rotate-backups

Latest version: v8.1

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

Scan your dependencies

Page 4 of 6

3.3

---------------------------

Started using verboselogs_.

.. _Release 3.3: https://github.com/xolox/python-rotate-backups/compare/3.2...3.3
.. _verboselogs: https://verboselogs.readthedocs.io/

3.2

---------------------------

- Added support for Python 2.6 :-P.

By switching to the ``key_property`` support added in `property-manager` 2.0
I was able to reduce code duplication and improve compatibility::

6 files changed, 20 insertions(+), 23 deletions(-)

This removes the dependency on ``functools.total_ordering`` and to the best
of my knowledge this was the only Python >= 2.7 feature that I was using so
out of curiosity I changed ``tox.ini`` to run the tests on Python 2.6 and
indeed everything worked fine! :-)

- Refactored the makefile and ``setup.py`` script (checkers, docs, wheels,
twine, etc).

.. _Release 3.2: https://github.com/xolox/python-rotate-backups/compare/3.1...3.2

3.1

---------------------------

Implement relaxed rotation mode, adding a ``--relaxed`` option (`2`_, `3`_).

.. _Release 3.1: https://github.com/xolox/python-rotate-backups/compare/3.0...3.1
.. _2: https://github.com/xolox/python-rotate-backups/issues/2
.. _3: https://github.com/xolox/python-rotate-backups/issues/3

3.0

---------------------------

- Support for backup rotation on remote systems.
- Added Python 3.5 to supported versions.
- Added support for ``-q``, ``--quiet`` command line option.
- Delegate system logging to coloredlogs.
- Improved ``rotate_backups.load_config_file()`` documentation.
- Use ``humanfriendly.sphinx`` module to generate documentation.
- Configured autodoc to order members based on source order.

Some backwards incompatible changes slipped in here, e.g. removing
``Backup.__init__()`` and renaming ``Backup.datetime`` to ``Backup.timestamp``.

In fact the refactoring that I've started here isn't finished yet, because the
separation of concerns between the ``RotateBackups``, ``Location`` and
``Backup`` classes doesn't make a lot of sense at the moment and I'd like to
improve on this. Rewriting projects takes time though :-(.

.. _Release 3.0: https://github.com/xolox/python-rotate-backups/compare/2.3...3.0

2.3

---------------------------

Add/restore Python 3.4 compatibility.

It was always the intention to support Python 3 but a couple of setbacks made
it harder than just "flipping the switch" before now :-). This issue was
reported here: https://github.com/xolox/python-naturalsort/issues/2.

.. _Release 2.3: https://github.com/xolox/python-rotate-backups/compare/2.2...2.3

2.2

---------------------------

Added support for configuration files.

.. _Release 2.2: https://github.com/xolox/python-rotate-backups/compare/2.1...2.2

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.