Skip to content

5.0

Compare
Choose a tag to compare
@svniemeijer svniemeijer released this 30 Jul 15:00
· 457 commits to master since this release

πŸ“… 2020-07-30

  • Added a storage backend framework, including S3 and Swift backends.

  • Changed configuration file format due to new storage backends:

    • renamed backend parameter to database in archive section
    • added storage parameter to archive section
    • added new sections for fs, s3, and 'swift`
    • moved root and use_symlinks parameters from archive section
      to fs section
    • added tmp_root parameter to s3 and swift sections
  • Added support for pg8000 as postgresql driver. Added 'library'
    parameter to 'postgresql' section to specify library to use.

  • Added a basic test/coverage framework.

  • Changed the syntax for defining namespace properties, allowing
    one to specify if a property should be indexed in the database backend.
    The old approach is still supported for backward compatibility.

  • Added -c/--catalogue-only option to muninn-remove.

  • Added support for sub-queries in is_source_of and is_derived_from
    (specify a sub-query instead of a uuid).

  • Added support for searching on UUID directly (without uuid==).

  • Several fixes for NOT expressions in queries.

  • Improved querying on NULL properties. For example, for 'property != b',
    we now also return products for which b is NULL.

  • Added property_names argument to archive.retrieve_properties().

  • Added archive.delete_properties().

  • Fixed issue with intra-archive symlinks without enclosing dir (resulting
    in broken symlinks).

  • Fixed issue where product hashes were not actually verified.

  • Made product hashing compatible with Python 3 (and using UTF-8 encoding
    before hashing, instead of the current filesystem encoding).