path:
/CONTEXT.md
2.81 KB | plain
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Context
## Glossary
**APKBUILD**: The source-of-truth package recipe. It must be POSIX `sh` compatible in this repository.
**Generated package script**: A `PKGBUILD` or `*.pacscript` produced from an APKBUILD for a host package manager. It is a runtime intermediate, not authoritative project state.
**Recipe bucket**: A top-level directory that scopes recipes by applicability. Current buckets include OS buckets such as `Linux/` and `Darwin/`, broad Unix recipes in `Unix/`, architecture-independent recipes in `noarch/`, and fully generic recipes in `any/`.
**Target**: The platform triplet a package is built for, such as `x86_64-alpine-linux-musl` or `x86_64-unknown-linux-gnu`. It identifies the intended ABI, not a guarantee that the recipe's toolchain produces compatible binaries.
**Package format**: The distribution container, independent of the target: genuine signed Alpine APKs, opt-in Debian `.deb` packages, or legacy tar.gz archives. The Debian backend runs unprivileged; APT repository signing/publication belongs to `foundationpkgs-binaries`.
**Build key**: The content hash used to decide whether a package/target needs rebuilding. It represents the APKBUILD, local source inputs, build scripts, target, git revision, build-affecting environment, and tool versions.
**Artifact**: A built package file within a publication. A publication includes primary/split packages, checksums, a build log and a manifest; APK publications also contain a signed repository index.
**Download root**: The filesystem tree where artifacts are published; configured as `$FPKGS_DL_ROOT` and normally `/srv/http/dl.nply.org/foundationpkgs`.
**Download base URL**: The public URL prefix for artifact manifests; configured as `$FPKGS_DL_BASE_URL`. It currently points at `https://nply.org/dl/foundationpkgs` and can later move to `https://dl.nply.org/foundationpkgs`.
**minci**: The CI runner, report sink, and web interface at `ci.nply.org`. `minci.sh` runs repository jobs; `minci.cgi` records and displays results.
**Gitolite trigger**: A gitolite hook that observes pushes, filters for `main`, and starts `minci.sh` in the background.
**Package CI helper**: `scripts/fpkgs-ci.sh`, the foundationpkgs-specific package planner/builder/publisher. It is called by `.config/Jobfile`; it does not own CI reporting.
**Jobfile**: A POSIX shell, APKBUILD-like file containing CI metadata variables and job functions. It uses lowercase variables (`project`, `targets`, `triggers`, etc.) and APKBUILD-style `!option` negation. Repositories provide it as `.config/Jobfile`.
**Native target**: The platform triplet of the build host. An Alpine-musl target on Debian is a cross target even when both use the same CPU architecture.
**Cross target**: A non-native target requested through `$FPKGS_TARGETS`. It is attempted only when the recipe/toolchain can support it.