Changelogs » Archive-tools

PyUp Safety actively tracks 323,951 Python packages for vulnerabilities and notifies you when to upgrade.

Archive-tools

0.5.1

~~~~~~~~~~~~~~~~~~
  
  Bug fixes and minor changes
  ---------------------------
  
  + `46`_, `47`_: `archive-tool` fails with :exc:`NameError` when
  trying to emit a warning.
  
  .. _46: https://github.com/RKrahl/archive-tools/issues/46
  .. _47: https://github.com/RKrahl/archive-tools/pull/47

0.5

~~~~~~~~~~~~~~~~
  
  New features
  ------------
  
  + `45`_: The files argument to `archive-tool check` defaults to the
  archive's basedir.
  
  Bug fixes and minor changes
  ---------------------------
  
  + Fix: some test data have not been included in the source
  distribution.
  
  .. _45: https://github.com/RKrahl/archive-tools/issues/45

0.4

~~~~~~~~~~~~~~~~
  
  New features
  ------------
  
  + `15`_, `43`_: Add `archive-tool find` subcommand.
  
  + `38`_, `39`_: Add `archive-tool diff` subcommand.
  
  + `40`_, `44`_: Add setting tags in the header of the manifest.
  
  + `41`_: Add a :meth:`Archive.extract` method.
  
  + Add a :meth:`Manifest.sort` method.
  
  Internal changes
  ----------------
  
  + Reorganization of the `archive-tool` script, move the code into
  submodules in the new `archive.cli` package.
  
  .. _15: https://github.com/RKrahl/archive-tools/issues/15
  .. _38: https://github.com/RKrahl/archive-tools/issues/38
  .. _39: https://github.com/RKrahl/archive-tools/pull/39
  .. _40: https://github.com/RKrahl/archive-tools/issues/40
  .. _41: https://github.com/RKrahl/archive-tools/pull/41
  .. _43: https://github.com/RKrahl/archive-tools/pull/43
  .. _44: https://github.com/RKrahl/archive-tools/pull/44

0.3

~~~~~~~~~~~~~~~~
  
  New features
  ------------
  
  + `33`_: `archive-tool create` should have an option to exclude files.
  
  + `35`_: :class:`FileInfo` calculates checksums lazily.
  
  + `34`_: files of unsupported type are ignored when creating an
  archive.  A warning is emitted instead of raising an error.
  
  Incompatible changes
  --------------------
  
  + `36`_: Drop support for strings in the file name arguments `path`,
  `paths`, `basedir`, and `workdir` of the methods
  :meth:`Archive.create` and :meth:`Archive.open`.  These arguments
  require :class:`Path` objects now.
  
  Bug fixes and minor changes
  ---------------------------
  
  + 37: `archive-tool create` throws an error when trying to explicitly
  add a symlink.
  
  .. _33: https://github.com/RKrahl/archive-tools/issues/33
  .. _34: https://github.com/RKrahl/archive-tools/issues/34
  .. _35: https://github.com/RKrahl/archive-tools/issues/35
  .. _36: https://github.com/RKrahl/archive-tools/pull/36
  .. _37: https://github.com/RKrahl/archive-tools/issues/37

0.2

~~~~~~~~~~~~~~~~
  
  New features
  ------------
  
  + `28`_: support deduplication.
  
  + `26`_ and `30`_: add support for custom metadata:
  
  - Add methods :meth:`Archive.add_metadata` and
  :meth:`Archive.get_metadata` to add and to retrieve custom
  metadata to and from archives.
  
  - Add a list of metadata items in the header of the manifest.
  
  - Bump manifest version to 1.1.
  
  + `4`_, `32`_: Add :class:`MailArchive` implementing a special
  flavour of an :class:`Archive` for storing mails.
  
  + `27`_: Add command line flags `--prefix <dir>` and `--stdin` to
  `archive-tool check`.
  
  Incompatible changes
  --------------------
  
  + `23`_ and `26`_: review the API of :class:`Archive`:
  
  - Add two methods :meth:`Archive.create` and :meth:`Archive.open`
  that create and read archives respectively.
  
  - The :meth:`Archive.__init__` method does not create or open
  archives any longer.
  
  - :meth:`Archive.verify` does not accept the mode argument any more.
  
  - :class:`Archive` keeps a file object to read the tarfile.  It is
  opened in :meth:`Archive.open`.  :meth:`Archive.verify` does not
  reopen the tarfile, but relies on the internal file object to be
  left open.
  
  - Add a :meth:`Archive.close` method.
  
  - :class:`Archive` implements the context manager protocol.
  
  Bug fixes and minor changes
  ---------------------------
  
  + `20`_: :meth:`Archive.create` takes a working directory as optional
  argument.
  
  + `29`_: Verfiy fails if archive contains hard links.
  
  + `25`_: `archive-tool check` should ignore metadata.
  
  .. _4: https://github.com/RKrahl/archive-tools/issues/4
  .. _20: https://github.com/RKrahl/archive-tools/issues/20
  .. _23: https://github.com/RKrahl/archive-tools/issues/23
  .. _25: https://github.com/RKrahl/archive-tools/issues/25
  .. _26: https://github.com/RKrahl/archive-tools/pull/26
  .. _27: https://github.com/RKrahl/archive-tools/issues/27
  .. _28: https://github.com/RKrahl/archive-tools/issues/28
  .. _29: https://github.com/RKrahl/archive-tools/issues/29
  .. _30: https://github.com/RKrahl/archive-tools/pull/30
  .. _32: https://github.com/RKrahl/archive-tools/pull/32

0.1

~~~~~~~~~~~~~~~~
  
  + Initial release.