Skip to content

Releases: ascmitc/mhl

Release v1.2

Choose a tag to compare

@ptrpfn ptrpfn released this 04 Jul 09:52
0fb61f1

This release …

  • includes major fixes for ignore patterns,
  • improved flattening of nested histories, and
  • has a significant performance improvement for large histories.

Details:

  • Apply the ignore patterns relative to the (nested) history they are in and not relative to the root history.
    • example: a pattern of /test.txt inside a nested history only applies to the one file at exactly this path inside the nested history, not a file test.txt inside the root history
  • Transform an ignore patterns provided in a root history to be relative to the nested history where it applies.
    • example: an ignore pattern /A/AA/test.txt passed to the create command that applies to a file in a nested history (starting at /A/AA) is now stored as /test.txt only in that nested history.
  • Further improve the ignore patterns handling to match the specification (handling of * wildcard, relative and absolute patterns, and handling of folders) and add many new tests.
  • extend the flatten command to work with nested histories and the flattened manifest is not placed in a temporary folder anymore.
  • Also Improve performance of the create command by removing unnecessary relative path resolution (relevant for histories > 1000 files)

Release v1.1

Choose a tag to compare

@ptrpfn ptrpfn released this 16 Dec 14:07
e73462c

Fixing issues on Windows due to "\" in paths.

This version has now official support for the Windows platform, including running tests for Windows via github automations.

Release v1.0.4

Choose a tag to compare

@ptrpfn ptrpfn released this 23 Aug 09:47
ac0188f

Until v1.0.3 the ascmhl create command writes wrong syntax for author info (as part of the <creatorinfo> tag):

<author>
  <name>John Doe</name>
  <role>Data wrangler</role>
  <email>john@mail.com</email>
  <phone>+1 123 456789</phone>
</author>

In v1.0.4 this is changed to the correct syntax:

<author role="Data wrangler" email="john@mail.com" phone="+1 123 456789">John Doe</author>

Please not that backwards compatibility is maintained in the ascmhl commands, so ASC MHL histories with the wrong/old syntax above can still be read (for example, with the ascmhl info command). This avoids that author info in any previously created histories gets unusable.

Also the order of tags within the <creatorinfo> is fixed to conform to the XSD.

Release v1.0.3

Choose a tag to compare

@ptrpfn ptrpfn released this 15 Mar 15:35
bcabf38
  • Adding new error code 33 for missing ASC MHL manifest file (i.e. *mhl) file during chain file check (was same as missing ASC MHL history, error code 30)

Release v1.0.2

Choose a tag to compare

@ptrpfn ptrpfn released this 13 Mar 10:45
5aaecec

Fixing Python version definitions (now >= 3.11) in setup.py

Release v1.0.1

Choose a tag to compare

@ptrpfn ptrpfn released this 08 Mar 08:58
7d93a39
  • Updating Python version in deploy script for pip package

Release v1.0

Choose a tag to compare

@ptrpfn ptrpfn released this 08 Mar 08:28
5970ecb

New features

  • Renaming of files:
    • proper handling of previousPath in XML files as documented in specification
    • new option --detect_renaming (-dr) for detecting renamed files based on their hash value
  • Changes or missing manifest files in ascmhl folders are now detected

Changes

  • Updating code and tests to work with Python 3.11 and 3.12
  • Adding missing "Z" at the end of time stamps in file names as required by specification

Fixes

  • Fixed: logging of nested histories stopped after first level
  • Smaller fixes and improvements

⚠️ (Potentially) breaking changes

  • ascmhl library and command line tool now works with Python 3.11 and 3.12 (0.9.x versions worked with Python 3.7, 3.8, 3.9)

  • Unfortunately the error codes have been quite a mess and had duplicates, probably from previous merges. We cleaned them up entirely as follows (also see errors.py):

    • Changed error/exit codes
    • CompletenessCheckFailedException: 15 → 10
    • NoMHLHistoryException 11 → 30
    • VerificationFailedException 12 → 11
    • VerificationDirectoriesFailedException 15 → 12
    • NewFilesFoundException 13 → 21
    • NoMHLHistoryExceptionForPath 14 → NoMHLHistoryException 30
    • SingelFileNotFoundException 15 → SingleFileNotFoundException 20
    • New error/exit codes
    • ModifiedMHLHistoryFile 31
    • NoMHLChainExceptionForPath 32

Release v0.9.3

Release v0.9.3 Pre-release
Pre-release

Choose a tag to compare

@ptrpfn ptrpfn released this 06 Sep 10:50
d4fb939
  • Fixing issues with non-required attribute version in <tool> element for reading
  • Updates in README

Release v0.9.2

Release v0.9.2 Pre-release
Pre-release

Choose a tag to compare

@ptrpfn ptrpfn released this 06 Jul 15:56
c917bab
  • Fixing issues with non-required element <roothash> for reading and writing

Release v0.9.1

Release v0.9.1 Pre-release
Pre-release

Choose a tag to compare

@ptrpfn ptrpfn released this 21 Jun 18:23
e94e69d

Patches:

  • Fixing incompatibility with latest versions of the Click package in setup.py (with resultcallback).