Skip to content

Overrides

This would talk about Overrides and how they are utilized as a part of the archived bundle loader.

Such bundles are extracted at load time as needed, and any content that was previously extracted is deleted. Overrides allow you to specify content to be used to augment or edit the content of a bundle in a way that will persist if the bundle needs to be re-extracted.

Bundles are extracted from .omphalos-bundle files that are found during bundle discovery. They extract out based on the name of the bundle, not the name of the file. Additionally, if there is more than one version of the bundle found, only the most recent one is used; this can cause updates to occur.

If a file that was previously extracted is removed, at startup the extracted version of it will also be removed.

The configuration area has an overrides folder within it. The folders here correspond to the names of archived bundles and, if they exist, their contents will be copied over the extracted content of the bundle, allowing for adding or editing files.

The overrides folder allows you to specify an operations file named .bundle-ops. If present, this file can be used to augment the content of the extracted bundle prior to the overrides being copied over (if there are any).

The current bundle operations are:

  1. delete to delete a file or folder from the extracted content
  2. rename to rename a file or folder to a different name