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
- The target version is calculated.
- env.json and schema.json are added based on the target version.
- The target version is written into env.json as
PU_COMMIT_VERSION. - The archive file (
tgz,tar, orzip) is created.
Interpretable
- The target version is calculated.
- A temporary view of the files in the corresponding commit is created.
- Files that are not involved in the Unit operation are removed based on .pepeignore.
- env.json and schema.json are added based on the target version.
- The target version is written into env.json as
PU_COMMIT_VERSION. - The archive file (
tgz,tar, orzip) is created.