HomePhorge

(#7285) Use Augeas NO_LOAD/incl to optimise loading based on context
7f536f9a4016Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#7285) Use Augeas NO_LOAD/incl to optimise loading based on context

When the context property is given, use the NO_LOAD flag to stop Augeas loading
all files for all lenses. Removes all /augeas/load//incl nodes where the glob
doesn't match the context given before loading.

This speeds up loading when the context is provided, as Augeas only reads and
parses relevant files, instead of every known file for each resource.

Requires Augeas 0.8.2 with the glob() path function call.

Details

Provenance
Dominic Cleal <dcleal@redhat.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU54571ede667d: (#7285) Add spec for Augeas initialisation and file loading
Branches
Unknown
Tags
Unknown

Event Timeline

Dominic Cleal <dcleal@redhat.com> committed rPU7f536f9a4016: (#7285) Use Augeas NO_LOAD/incl to optimise loading based on context (authored by Dominic Cleal <dcleal@redhat.com>).Dec 2 2011, 11:36 AM