rbackup/CHANGELOG.rst

211 lines
4.3 KiB
ReStructuredText
Raw Normal View History

2019-04-24 09:09:27 -07:00
Changelog for rbackup
=====================
Version 0.6
-----------
* backup script
* Add --port option for ssh
* Add --umask option for changing umask of backup process
* backupd
* Add backupd script
* Add config file
* rbackup.network
* Add rbackup.network module
* rbackup.system
* Add associated tests
* Building
* Fix incorrect parameters on setup.py sphinx section
* Project Structure
* Add ``rbackup.network``, ``rbackup.script``, and ``rbackup.system``
2019-04-24 09:09:27 -07:00
* Split main backup script into separate library modules for easier maintainability
2019-04-19 07:53:32 -07:00
2019-04-23 13:46:01 -07:00
Version 0.5.3
-------------
* rbackup.rsync
2019-04-23 14:32:22 -07:00
2019-04-23 13:46:01 -07:00
* Log at the exception level, not at the library level
2019-04-23 14:32:22 -07:00
2019-04-23 13:46:01 -07:00
* rbackup.config.config_files
2019-04-23 14:32:22 -07:00
2019-04-23 17:27:27 -07:00
* ``load_list_from_option()``
2019-04-23 14:32:22 -07:00
2019-04-23 13:46:01 -07:00
* Use non-mutable default argument
* Ensure that list is returned if fallback is unset
2019-04-23 14:32:22 -07:00
2019-04-23 13:46:01 -07:00
* rbackup.struct.repository.Repository
2019-04-23 14:32:22 -07:00
2019-04-23 17:27:27 -07:00
* Implement ``__eq__()``, ``__ne__()``, and ``__hash__()``
2019-04-23 13:46:01 -07:00
* Update docstrings explaining what happens to snapshot_symlink when snapshot is deleted
2019-04-23 14:32:22 -07:00
2019-04-23 13:46:01 -07:00
* Building
2019-04-23 14:32:22 -07:00
2019-04-23 16:46:08 -07:00
* Add sphinx build commands to ``setup.py``
2019-04-23 13:46:01 -07:00
* Explain replacing colons on datetime on default snapshot name
2019-04-23 14:32:22 -07:00
2019-04-23 13:46:01 -07:00
* Project Structure
2019-04-23 14:32:22 -07:00
2019-04-23 16:46:08 -07:00
* Move config module to ``rbackup.config.config_files``
* Move config files to ``config_files/`` in root dir
* Delete ``rbackup.plugins.pacman`` module
2019-04-23 13:46:01 -07:00
Version 0.5.2
-------------
2019-04-23 16:46:08 -07:00
* Use ``try..finally`` blocks within context manager functions
2019-04-23 13:46:01 -07:00
Version 0.5.1
-------------
Bug Fixes
^^^^^^^^^
* backup script
2019-04-23 14:32:22 -07:00
2019-04-23 13:46:01 -07:00
* Fix uninitialized repo variable
2019-04-23 14:30:04 -07:00
* If rsync process fails, exit by its return code
2019-04-23 13:46:01 -07:00
Version 0.5
-----------
2019-04-23 14:30:04 -07:00
* rbackup.plugins.package_managers.PackageManager
2019-04-23 14:32:22 -07:00
2019-04-23 16:46:08 -07:00
* Raise ``NotimplementedError`` for non-supported operations
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* rbackup.struct.hierarchy.Hierarchy
2019-04-23 14:32:22 -07:00
2019-04-23 17:27:27 -07:00
* Move ``Repository.gen_metadata()`` to ``Hierarchy._gen_metadata()``
2019-04-23 16:46:08 -07:00
2019-04-23 13:46:01 -07:00
* rbackup.struct.repository.Repository
2019-04-23 14:32:22 -07:00
2019-04-23 13:46:01 -07:00
* Add basic logic for updating symlink after snapshot removal
2019-04-23 17:27:27 -07:00
* Implement snapshot deletion using ``__delitem__()``
2019-04-23 14:30:04 -07:00
* Add basic logic for symlinking after snapshot removal
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* rbackup.struct.repository.Snapshot
2019-04-23 14:32:22 -07:00
2019-04-23 17:27:27 -07:00
* Add attribute code to ``_gen_metadata()``
2019-04-23 16:46:08 -07:00
* Add ``ctime`` attribute
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* Project structure
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* Add file for snapshot management script
2019-04-23 16:46:08 -07:00
* Rename ``rbackup.package_managers`` to ``rbackup.plugins``
2019-04-23 14:30:04 -07:00
Version 0.4.1
-------------
* backup script
2019-04-23 14:32:22 -07:00
2019-04-23 16:46:08 -07:00
* Change umask to ``0000`` when running backup
2019-04-23 14:30:04 -07:00
Version 0.4
-----------
* backup script
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* Use fallback option
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* rbackup.config Folder
2019-04-23 14:32:22 -07:00
2019-04-23 16:46:08 -07:00
* Add ``[main]`` to default config file
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* rbackup.config.config_files
2019-04-23 17:27:27 -07:00
* Add ``load_list_from_option()``
2019-04-23 14:30:04 -07:00
Version 0.3
-----------
* rbackup.rsync
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* Add default rsync options list
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* rbackup.struct.hierarchy.Hierarchy
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* Don't calculate private attributes each time they are called
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* rbackup.struct.repository.Repository
2019-04-23 14:32:22 -07:00
2019-04-23 17:27:27 -07:00
* Add ``gen_metadata()``
* Add ``symlink_snapshot()``
2019-04-23 16:46:08 -07:00
* Ignore ``PermissionError`` when creating snapshot symlink
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* config_files
2019-04-23 14:32:22 -07:00
2019-04-23 16:46:08 -07:00
* Include ``/root`` in default paths
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* Split config file handling into its own module
* Doctest cleanup
Version 0.2
-----------
* rbackup.config
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* Merge, filter, and sort file entries from multiple files
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* rbackup.rsync
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* Change execution of rsync subprocess to text mode
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* rbackup.config_files
2019-04-23 14:32:22 -07:00
2019-04-23 16:46:08 -07:00
* Split ``etc-include`` and ``system-include`` config files
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* rbackup.package_managers.packagemanager.PackageManager
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* Remove type and value checking
2019-04-23 17:27:27 -07:00
* Add ``gen_db_archive()``
* Check for valid compression mode before proceeding with ``gen_db_archive()``
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* rbackup.struct.hierarchy.Hierarchy
2019-04-23 14:32:22 -07:00
2019-04-23 16:46:08 -07:00
* Add ``metadata_path``
* Subclass ``os.PathLike``
2019-04-23 17:27:27 -07:00
* Make write_metadata() an atomic operation
2019-04-23 14:30:04 -07:00
* Log metadata read/write operations
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* rbackup.struct.repository.Repository
2019-04-23 14:32:22 -07:00
2019-04-23 17:27:27 -07:00
* Add ``cleanup()``
* Add ``is_valid_snapshot_name()``
* Add ``gen_snapshot_path()``
2019-04-23 14:30:04 -07:00
* Remove current_snapshot attribute
2019-04-23 17:27:27 -07:00
* Implement ``__repr__()``
2019-04-23 14:30:04 -07:00
* Use regex to parse user snapshot name input
* Split snapshot metadata lists
* Change serialization backend from pickle to JSON
2019-04-23 16:46:08 -07:00
* Raise ``ValueError`` when snapshot name contains a '/'
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* rbackup.struct.repository.Snapshot
2019-04-23 14:32:22 -07:00
2019-04-23 16:46:08 -07:00
* Remove all attributes except for ``pkg_dir``
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* Project structure
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* Do not ship test suite under rbackup package
2019-04-23 16:46:08 -07:00
* Rename ``rbackup.hierarchy`` package to ``rbackup.struct``
2019-04-23 14:30:04 -07:00
Version 0.1
-----------
* Initial commit
* Project structure
2019-04-23 14:32:22 -07:00
2019-04-23 14:30:04 -07:00
* Add basic modules
* Add LICENSE