Skip to content

Draft: stack/slapos.cfg: Forward versions to instance.cfg

Dump egg version pinned in software.cfg into versions.cfg at the root directory of SR installation, so that instance.cfg can have a way to fetch and respect the same version pins when loading eggs.

This comes up when there are several versions of a package installed e.g. because the SR was re-run in place. It becomes crucial for the support of shared eggs, because currently the instance would choose the most recent of all shared eggs, regardless of the version pinned by the SR.

Actual forwarding requires instance.cfg to extend versions.cfg; this can be done automatically by slapgrid by changing how it creates the buildout.cfg in the partition.

Merge request reports