[AppStream] AppStream Generator 0.7.0 released!

Matthias Klumpp matthias at tenstral.net
Wed Apr 4 18:33:35 UTC 2018


Hello!

This release of the appstream-generator utility introduces a large
array of new features, most importantly dramatically reducing memory
usage and slightly increasing performance and allowing a lot more
options to customize how asgen handles icons.

A lot of asgen's internals have been reworked to allow processing
single files easier in future, and to separate the data processing
from data publishing step. This is a work in progress though and
should not be used in any production setup. It will also be a bit less
efficient in most setups to split data processing from publishing,
because a lot of information needs to be loaded multiple times in that
case.

The project now depends on the "containers" D library, for
std.experimental.allocator backed container types that asgen uses in a
lot of places now to improve performance and memory usage. The library
has a Meson file and it should be easy to package it for your
distribution.

Additionally, the dependency on AppStream was bumped to 0.12.0.

Tarballs available here: https://github.com/ximion/appstream-generator/releases

Version 0.7.0
~~~~~~~~~~~~~~
Released: 2018-04-04

Notes:
 * Processing single packages and calling publication and processing
   separately is not a fully supported feature yet!
   This release lays the groundwork for it, but its final implementation
   will happen later. Do not use this in production!

Features:
 * stdx.allocator-backed containers library
 * Use stdx.allocator-backed HashMap in more places
 * Trigger GC less aggressively, use smaller parallel work unit sizes
 * Allow setting a workspace in config and calling asgen on a config file
 * Add backend interface for processing a single package
 * Allow calling only the metadata publication step
 * Add framework for extracting data directly from package files
 * Allow setting icon policy in configuration
 * Add support for more icon types and customizable icon policy
 * Allow icon upscaling in certain cases, but complain about it
 * Modernize Meson definitions
 * Document how to modify icon policies in configuration
 * Use AppStream 0.12.0 and format 0.12 by default

Bugfixes:
 * Update wrap files to be compatible with gir-to-d >= 0.13
 * Improve ArchiveDecompressor usage
 * For each array appender, try to guess capacity to reserve better
 * Properly add remote icon URLs
 * Fetch JavaScript bits with Yarn instead of Bower
 * Ensure we can run asgen again from its build directory
 * Ignore data from immutable suites on cleanup
 * Don't parallelize cleanup data collection routine
 * Release memory chunks faster during cleanup operations


More information about the AppStream mailing list