Skip to content

Structure of update archives

INFO

Pepeunit can generate ready‑to‑use update archives for a Unit. The generation algorithm is different for Compilable and Interpretable Repos.

Compilable

  1. The target version is calculated.
  2. env.json and schema.json are added based on the target version.
  3. The target version is written into env.json as PU_COMMIT_VERSION.
  4. The archive file (tgz, tar, or zip) is created.

Interpretable

  1. The target version is calculated.
  2. A temporary view of the files in the corresponding commit is created.
  3. Files that are not involved in the Unit operation are removed based on .pepeignore.
  4. env.json and schema.json are added based on the target version.
  5. The target version is written into env.json as PU_COMMIT_VERSION.
  6. The archive file (tgz, tar, or zip) is created.