From 2e045bd4f4fd924b5197ddef804d76ec9481f29e Mon Sep 17 00:00:00 2001 From: Max Wash Date: Thu, 17 Jul 2025 17:57:29 +0100 Subject: [PATCH] doc: add a file describing the package format --- doc/package-format.txt | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 doc/package-format.txt diff --git a/doc/package-format.txt b/doc/package-format.txt new file mode 100644 index 0000000..a517321 --- /dev/null +++ b/doc/package-format.txt @@ -0,0 +1,41 @@ ++------------------------------------------------------------------------------+ +| Rosetta Package Manager Documentation | +| ..................................... | +| Package Format And Layout | ++------------------------------------------------------------------------------+ + + This document describes the format and layout of Rosetta package files. + + +1 Main Package Layout +===================== + + The main package is an uncompressed tar archive that contains a set of + compressed files and sub-archive. + + The contents of the main package include: + - /data.tar.zst : Contains the files to be extracted to the system + directory when the package is installed. + + - /control.tar.zst : Contains a set of scripts to be executed at different + points in the package (un)installation process. + + - /meta.tar.zst : Contains information about the package itself, including + the manifest and news data. + + +2 The Payload Package +===================== + + +3 The Control Package +===================== + + +4 The Meta Package +================== + + +*****! + +vim: shiftwidth=3 expandtab