[elbe-devel] [PATCH 0/3] Introduce archivedir feature

Manuel Traut manut at linutronix.de
Fri Jul 6 14:36:34 CEST 2018


Hi Bene,

On Thu, Jul 05, 2018 at 10:44:34AM +0200, Benedikt Spranger wrote:
> The archive handling, especially in combination with variants, is rough:
> - changes in <archive> are hard to track (<archive> is a base64 encoded
>   blob).
> - variants have to substitute the hole archive (No incremental changes).
> - various workaround and glue layers calling "elbe chg_archive" exists.
> 
> On the other hand a immutable archive is needed in terms of
> reproducibility.
> 
> The new archivedir feature introduces a new node <archivedir>.
> <archivedir> nodes can be tagged with the "variant" attribute.
> The occurrence of <archivedir> is unlimited. Using more than one
> <archivedir> can be used for a layer concept to build tha archive.
> 
> The <archivedir> node has a single URI reference as content. At the
> moment only file URIs (relative and absolute) are supported:
> 
>        <archivedir>file:///path/to/my/archive</archivedir>
>        <archivedir>relative/path/to/my/archive</archivedir>
> 
> "elbe preprocess" is enhanced to parse the new nodes and collect the
> content of each URI reference into a combined <archive> node.

thanks! all patches are merged into devel/elbe-3.0

> Benedikt Spranger (3):
>   Use tar append to create archives
>   Add archivedir support
>   Use archivedir support in elbe preprocess
> 
>  elbepack/archivedir.py    | 97 ++++++++++++++++++++++++++++++++++-----
>  elbepack/xmlpreprocess.py |  7 +++
>  2 files changed, 93 insertions(+), 11 deletions(-)
> 
> -- 
> 2.18.0
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel



More information about the elbe-devel mailing list