: nply/foundationpkgs

commit bfd2449e0da2d25aaa24aaf5cabe9f6114d894cf
parent bc3944dbb5109ec9fafce0f3d73b9227b6574bd6
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Fri, 11 Sep 2026 20:35:41 +0530

Document CI architecture for agents
4 files changed, 395 insertions(+), 0 deletions(-)
A
AGENTS.md
|
38
++++++++++++++++++++++++++++++++++++++
A
CONTEXT.md
|
27
+++++++++++++++++++++++++++
A
docs/ci-architecture.dot
|
56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A
docs/ci-architecture.svg
|
274
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
diff --git a/AGENTS.md b/AGENTS.md
@@ -0,0 +1,38 @@
+# Agent instructions
+
+Read `CONTEXT.md` before changing package names, recipe layout, artifact paths, or CI behaviour.
+
+## Source of truth
+
+- Write package definitions as POSIX-compatible `APKBUILD` files.
+- Treat `PKGBUILD` and `*.pacscript` as generated runtime intermediates unless the user explicitly asks to maintain legacy pacscripts.
+- Keep scripts under `scripts/` POSIX `sh`: no arrays, `[[ ... ]]`, process substitution, `pipefail`, `local`, or bash-only parameter expansion.
+
+## CI and packaging entry points
+
+- Build one recipe: `scripts/build.sh <pkgname-or-path>`.
+- Convert APKBUILD to pacscript at runtime: `scripts/apkbuild-to-pacscript.sh path/to/APKBUILD`.
+- Install through pacstall from APKBUILD source: `scripts/pacstall-install.sh <pkgname-or-path>`.
+- Plan or run repository CI: `scripts/fpkgs-ci.sh plan [REV]` and `scripts/fpkgs-ci.sh run [REV]`.
+- Gitolite integration uses `scripts/fpkgs-ci.sh post-receive`.
+
+See `docs/ci.md` for deployment/configuration details and `docs/ci-architecture.dot` for the CI graph.
+
+## Development rules
+
+- Prefer small, detachable scripts with environment-variable configuration over repo-specific hardcoding.
+- Preserve the build-key contract: changes that affect output must change the key; generated intermediates should not.
+- Publish artifacts atomically under `$FPKGS_DL_ROOT/<target>/<pkgname>/<pkgver>-r<pkgrel>/<buildkey>/`.
+- Report package/target outcomes to minci when `FPKGS_MINCI_URL`, `FPKGS_MINCI_KEY`, and `FPKGS_MINCI_SECRET` are set.
+- When adding a dependency used by an APKBUILD, add an APKBUILD for it when it is not a system/base package.
+
+## Validation before commit
+
+Run:
+
+```sh
+sh -n scripts/*.sh
+scripts/fpkgs-ci.sh plan HEAD | head
+```
+
+If touching a recipe, run at least one targeted build or explain why it cannot run on the current host.
diff --git a/CONTEXT.md b/CONTEXT.md
@@ -0,0 +1,27 @@
+# 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-unknown-linux-gnu`.
+
+**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 tarball plus checksum, build log, and manifest published below the download root.
+
+**Download root**: The filesystem tree served by `dl.nply.org`; configured as `$FPKGS_DL_ROOT` and normally `/srv/http/dl.nply.org/foundationpkgs`.
+
+**minci**: The CI report sink and web interface at `ci.nply.org`. It records per-package results; it does not perform package builds.
+
+**Gitolite trigger**: A gitolite hook that observes pushes, filters for `main`, and starts the detachable CI runner.
+
+**Detached CI runner**: `scripts/fpkgs-ci.sh`, the standalone integration script that can run from this repo or be copied into another APKBUILD repository.
+
+**Native target**: The target returned by `guess_triplet` for the current build host. The initial deployed CI run builds this target.
+
+**Cross target**: A non-native target requested through `$FPKGS_TARGETS`. It is attempted only when the recipe/toolchain can support it.
diff --git a/docs/ci-architecture.dot b/docs/ci-architecture.dot
@@ -0,0 +1,56 @@
+digraph foundationpkgs_ci {
+  graph [
+    rankdir=LR,
+    bgcolor="white",
+    label="foundationpkgs APKBUILD-first CI on cdg-1",
+    labelloc=t,
+    fontsize=20
+  ];
+  node [shape=box, style="rounded,filled", fillcolor="#f8fafc", color="#334155", fontname="Helvetica"];
+  edge [color="#475569", fontname="Helvetica", fontsize=10];
+
+  subgraph cluster_repo {
+    label="foundationpkgs repository";
+    color="#cbd5e1";
+    apkbuild [label="APKBUILD recipes\n(source of truth)", fillcolor="#dbeafe"];
+    scripts [label="POSIX scripts/\nbuild.sh\nfunctions.sh\napkbuild-to-pacscript.sh\npacstall-install.sh", fillcolor="#e0f2fe"];
+    fpkgsci [label="fpkgs-ci.sh\nstandalone CI glue", fillcolor="#ccfbf1"];
+  }
+
+  push [label="git push to main", fillcolor="#fef3c7"];
+  gitolite [label="gitolite post-receive\nfilters refs/heads/main", fillcolor="#fde68a"];
+  queue [label="background job\n/var/tmp/fpkgs-ci", fillcolor="#fef9c3"];
+
+  planner [label="plan REV\nfind applicable recipe buckets\nLinux → Unix → noarch → any", fillcolor="#dcfce7"];
+  key [label="build key\nAPKBUILD + local sources/patches\nscripts + target + git rev\nMAKEFLAGS/CFLAGS/LDFLAGS/etc\ntool versions", fillcolor="#bbf7d0"];
+  cache [shape=diamond, label="artifact manifest\nalready exists?", fillcolor="#fef2f2"];
+
+  builder [label="scripts/build.sh\nfetch → unpack → prepare\ndeps → build → package", fillcolor="#ede9fe"];
+  pacstall [label="pacstall path\nAPKBUILD → generated .pacscript\n(runtime intermediate)", fillcolor="#f5d0fe"];
+
+  publish [label="atomic publish\n$FPKGS_DL_ROOT/<target>/<pkg>/<ver-rrel>/<buildkey>/", fillcolor="#d1fae5"];
+  dl [label="dl.nply.org\nlighttpd static artifacts", fillcolor="#a7f3d0"];
+  minci [label="minci report\nci.nply.org/cgi-bin/minci.cgi", fillcolor="#fee2e2"];
+  web [label="CI dashboard\nci.nply.org", fillcolor="#fecaca"];
+
+  skipped [label="skip build\nreport success/skip", fillcolor="#e2e8f0"];
+  fail [label="failed build\nbuild.log retained", fillcolor="#fecdd3"];
+
+  push -> gitolite -> queue -> fpkgsci;
+  fpkgsci -> planner -> key -> cache;
+  cache -> skipped [label="yes"];
+  cache -> builder [label="no"];
+  builder -> pacstall [label="only when host install needs pacstall", style=dashed];
+  builder -> publish [label="success"];
+  builder -> fail [label="failure"];
+  publish -> dl;
+  publish -> minci [label="success report"];
+  skipped -> minci [label="skip report"];
+  fail -> minci [label="failure report + log"];
+  minci -> web;
+
+  apkbuild -> planner;
+  apkbuild -> builder;
+  scripts -> builder;
+  scripts -> key;
+}
diff --git a/docs/ci-architecture.svg b/docs/ci-architecture.svg
@@ -0,0 +1,274 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<!-- Generated by graphviz version 2.42.4 (0)
+ -->
+<!-- Title: foundationpkgs_ci Pages: 1 -->
+<svg width="3068pt" height="305pt"
+ viewBox="0.00 0.00 3068.00 305.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 301)">
+<title>foundationpkgs_ci</title>
+<polygon fill="white" stroke="transparent" points="-4,4 -4,-301 3064,-301 3064,4 -4,4"/>
+<text text-anchor="middle" x="1530" y="-277" font-family="Times,serif" font-size="20.00">foundationpkgs APKBUILD&#45;first CI on cdg&#45;1</text>
+<g id="clust1" class="cluster">
+<title>cluster_repo</title>
+<polygon fill="white" stroke="#cbd5e1" points="543,-17 543,-259 828,-259 828,-17 543,-17"/>
+<text text-anchor="middle" x="685.5" y="-239" font-family="Times,serif" font-size="20.00">foundationpkgs repository</text>
+</g>
+<!-- apkbuild -->
+<g id="node1" class="node">
+<title>apkbuild</title>
+<path fill="#dbeafe" stroke="#334155" d="M743,-221C743,-221 627,-221 627,-221 621,-221 615,-215 615,-209 615,-209 615,-195 615,-195 615,-189 621,-183 627,-183 627,-183 743,-183 743,-183 749,-183 755,-189 755,-195 755,-195 755,-209 755,-209 755,-215 749,-221 743,-221"/>
+<text text-anchor="middle" x="685" y="-205.8" font-family="Helvetica,sans-Serif" font-size="14.00">APKBUILD recipes</text>
+<text text-anchor="middle" x="685" y="-190.8" font-family="Helvetica,sans-Serif" font-size="14.00">(source of truth)</text>
+</g>
+<!-- planner -->
+<g id="node7" class="node">
+<title>planner</title>
+<path fill="#dcfce7" stroke="#334155" d="M1069,-173.5C1069,-173.5 869,-173.5 869,-173.5 863,-173.5 857,-167.5 857,-161.5 857,-161.5 857,-132.5 857,-132.5 857,-126.5 863,-120.5 869,-120.5 869,-120.5 1069,-120.5 1069,-120.5 1075,-120.5 1081,-126.5 1081,-132.5 1081,-132.5 1081,-161.5 1081,-161.5 1081,-167.5 1075,-173.5 1069,-173.5"/>
+<text text-anchor="middle" x="969" y="-158.3" font-family="Helvetica,sans-Serif" font-size="14.00">plan REV</text>
+<text text-anchor="middle" x="969" y="-143.3" font-family="Helvetica,sans-Serif" font-size="14.00">find applicable recipe buckets</text>
+<text text-anchor="middle" x="969" y="-128.3" font-family="Helvetica,sans-Serif" font-size="14.00">Linux → Unix → noarch → any</text>
+</g>
+<!-- apkbuild&#45;&gt;planner -->
+<g id="edge17" class="edge">
+<title>apkbuild&#45;&gt;planner</title>
+<path fill="none" stroke="#475569" d="M755.35,-188.48C782.94,-183.09 815.52,-176.74 846.77,-170.64"/>
+<polygon fill="#475569" stroke="#475569" points="847.72,-174.03 856.86,-168.68 846.38,-167.15 847.72,-174.03"/>
+</g>
+<!-- builder -->
+<g id="node10" class="node">
+<title>builder</title>
+<path fill="#ede9fe" stroke="#334155" d="M1913,-155.5C1913,-155.5 1739,-155.5 1739,-155.5 1733,-155.5 1727,-149.5 1727,-143.5 1727,-143.5 1727,-114.5 1727,-114.5 1727,-108.5 1733,-102.5 1739,-102.5 1739,-102.5 1913,-102.5 1913,-102.5 1919,-102.5 1925,-108.5 1925,-114.5 1925,-114.5 1925,-143.5 1925,-143.5 1925,-149.5 1919,-155.5 1913,-155.5"/>
+<text text-anchor="middle" x="1826" y="-140.3" font-family="Helvetica,sans-Serif" font-size="14.00">scripts/build.sh</text>
+<text text-anchor="middle" x="1826" y="-125.3" font-family="Helvetica,sans-Serif" font-size="14.00">fetch → unpack → prepare</text>
+<text text-anchor="middle" x="1826" y="-110.3" font-family="Helvetica,sans-Serif" font-size="14.00">deps → build → package</text>
+</g>
+<!-- apkbuild&#45;&gt;builder -->
+<g id="edge18" class="edge">
+<title>apkbuild&#45;&gt;builder</title>
+<path fill="none" stroke="#475569" d="M755.24,-202C812.33,-202 895.42,-202 968,-202 968,-202 968,-202 1543,-202 1615.43,-202 1695.07,-179.15 1751.2,-159.02"/>
+<polygon fill="#475569" stroke="#475569" points="1752.5,-162.27 1760.69,-155.56 1750.1,-155.7 1752.5,-162.27"/>
+</g>
+<!-- scripts -->
+<g id="node2" class="node">
+<title>scripts</title>
+<path fill="#e0f2fe" stroke="#334155" d="M766,-108.5C766,-108.5 604,-108.5 604,-108.5 598,-108.5 592,-102.5 592,-96.5 592,-96.5 592,-37.5 592,-37.5 592,-31.5 598,-25.5 604,-25.5 604,-25.5 766,-25.5 766,-25.5 772,-25.5 778,-31.5 778,-37.5 778,-37.5 778,-96.5 778,-96.5 778,-102.5 772,-108.5 766,-108.5"/>
+<text text-anchor="middle" x="685" y="-93.3" font-family="Helvetica,sans-Serif" font-size="14.00">POSIX scripts/</text>
+<text text-anchor="middle" x="685" y="-78.3" font-family="Helvetica,sans-Serif" font-size="14.00">build.sh</text>
+<text text-anchor="middle" x="685" y="-63.3" font-family="Helvetica,sans-Serif" font-size="14.00">functions.sh</text>
+<text text-anchor="middle" x="685" y="-48.3" font-family="Helvetica,sans-Serif" font-size="14.00">apkbuild&#45;to&#45;pacscript.sh</text>
+<text text-anchor="middle" x="685" y="-33.3" font-family="Helvetica,sans-Serif" font-size="14.00">pacstall&#45;install.sh</text>
+</g>
+<!-- key -->
+<g id="node8" class="node">
+<title>key</title>
+<path fill="#bbf7d0" stroke="#334155" d="M1362,-169.5C1362,-169.5 1130,-169.5 1130,-169.5 1124,-169.5 1118,-163.5 1118,-157.5 1118,-157.5 1118,-98.5 1118,-98.5 1118,-92.5 1124,-86.5 1130,-86.5 1130,-86.5 1362,-86.5 1362,-86.5 1368,-86.5 1374,-92.5 1374,-98.5 1374,-98.5 1374,-157.5 1374,-157.5 1374,-163.5 1368,-169.5 1362,-169.5"/>
+<text text-anchor="middle" x="1246" y="-154.3" font-family="Helvetica,sans-Serif" font-size="14.00">build key</text>
+<text text-anchor="middle" x="1246" y="-139.3" font-family="Helvetica,sans-Serif" font-size="14.00">APKBUILD + local sources/patches</text>
+<text text-anchor="middle" x="1246" y="-124.3" font-family="Helvetica,sans-Serif" font-size="14.00">scripts + target + git rev</text>
+<text text-anchor="middle" x="1246" y="-109.3" font-family="Helvetica,sans-Serif" font-size="14.00">MAKEFLAGS/CFLAGS/LDFLAGS/etc</text>
+<text text-anchor="middle" x="1246" y="-94.3" font-family="Helvetica,sans-Serif" font-size="14.00">tool versions</text>
+</g>
+<!-- scripts&#45;&gt;key -->
+<g id="edge20" class="edge">
+<title>scripts&#45;&gt;key</title>
+<path fill="none" stroke="#475569" d="M778.31,-77.07C867.96,-86.86 1005.18,-101.83 1107.66,-113.01"/>
+<polygon fill="#475569" stroke="#475569" points="1107.45,-116.51 1117.77,-114.12 1108.21,-109.55 1107.45,-116.51"/>
+</g>
+<!-- scripts&#45;&gt;builder -->
+<g id="edge19" class="edge">
+<title>scripts&#45;&gt;builder</title>
+<path fill="none" stroke="#475569" d="M778.03,-60.61C833.11,-57.33 904.53,-54 968,-54 968,-54 968,-54 1543,-54 1616.39,-54 1697.03,-78.02 1753.2,-98.87"/>
+<polygon fill="#475569" stroke="#475569" points="1752.11,-102.2 1762.7,-102.45 1754.58,-95.65 1752.11,-102.2"/>
+</g>
+<!-- fpkgsci -->
+<g id="node3" class="node">
+<title>fpkgsci</title>
+<path fill="#ccfbf1" stroke="#334155" d="M746,-165C746,-165 624,-165 624,-165 618,-165 612,-159 612,-153 612,-153 612,-139 612,-139 612,-133 618,-127 624,-127 624,-127 746,-127 746,-127 752,-127 758,-133 758,-139 758,-139 758,-153 758,-153 758,-159 752,-165 746,-165"/>
+<text text-anchor="middle" x="685" y="-149.8" font-family="Helvetica,sans-Serif" font-size="14.00">fpkgs&#45;ci.sh</text>
+<text text-anchor="middle" x="685" y="-134.8" font-family="Helvetica,sans-Serif" font-size="14.00">standalone CI glue</text>
+</g>
+<!-- fpkgsci&#45;&gt;planner -->
+<g id="edge4" class="edge">
+<title>fpkgsci&#45;&gt;planner</title>
+<path fill="none" stroke="#475569" d="M758.26,-146.26C785.16,-146.35 816.48,-146.46 846.59,-146.57"/>
+<polygon fill="#475569" stroke="#475569" points="846.74,-150.07 856.75,-146.61 846.76,-143.07 846.74,-150.07"/>
+</g>
+<!-- push -->
+<g id="node4" class="node">
+<title>push</title>
+<path fill="#fef3c7" stroke="#334155" d="M119,-164C119,-164 12,-164 12,-164 6,-164 0,-158 0,-152 0,-152 0,-140 0,-140 0,-134 6,-128 12,-128 12,-128 119,-128 119,-128 125,-128 131,-134 131,-140 131,-140 131,-152 131,-152 131,-158 125,-164 119,-164"/>
+<text text-anchor="middle" x="65.5" y="-142.3" font-family="Helvetica,sans-Serif" font-size="14.00">git push to main</text>
+</g>
+<!-- gitolite -->
+<g id="node5" class="node">
+<title>gitolite</title>
+<path fill="#fde68a" stroke="#334155" d="M329,-165C329,-165 180,-165 180,-165 174,-165 168,-159 168,-153 168,-153 168,-139 168,-139 168,-133 174,-127 180,-127 180,-127 329,-127 329,-127 335,-127 341,-133 341,-139 341,-139 341,-153 341,-153 341,-159 335,-165 329,-165"/>
+<text text-anchor="middle" x="254.5" y="-149.8" font-family="Helvetica,sans-Serif" font-size="14.00">gitolite post&#45;receive</text>
+<text text-anchor="middle" x="254.5" y="-134.8" font-family="Helvetica,sans-Serif" font-size="14.00">filters refs/heads/main</text>
+</g>
+<!-- push&#45;&gt;gitolite -->
+<g id="edge1" class="edge">
+<title>push&#45;&gt;gitolite</title>
+<path fill="none" stroke="#475569" d="M131.12,-146C139.71,-146 148.66,-146 157.64,-146"/>
+<polygon fill="#475569" stroke="#475569" points="157.77,-149.5 167.77,-146 157.77,-142.5 157.77,-149.5"/>
+</g>
+<!-- queue -->
+<g id="node6" class="node">
+<title>queue</title>
+<path fill="#fef9c3" stroke="#334155" d="M502,-165C502,-165 390,-165 390,-165 384,-165 378,-159 378,-153 378,-153 378,-139 378,-139 378,-133 384,-127 390,-127 390,-127 502,-127 502,-127 508,-127 514,-133 514,-139 514,-139 514,-153 514,-153 514,-159 508,-165 502,-165"/>
+<text text-anchor="middle" x="446" y="-149.8" font-family="Helvetica,sans-Serif" font-size="14.00">background job</text>
+<text text-anchor="middle" x="446" y="-134.8" font-family="Helvetica,sans-Serif" font-size="14.00">/var/tmp/fpkgs&#45;ci</text>
+</g>
+<!-- gitolite&#45;&gt;queue -->
+<g id="edge2" class="edge">
+<title>gitolite&#45;&gt;queue</title>
+<path fill="none" stroke="#475569" d="M341.1,-146C349.99,-146 358.98,-146 367.76,-146"/>
+<polygon fill="#475569" stroke="#475569" points="367.96,-149.5 377.96,-146 367.95,-142.5 367.96,-149.5"/>
+</g>
+<!-- queue&#45;&gt;fpkgsci -->
+<g id="edge3" class="edge">
+<title>queue&#45;&gt;fpkgsci</title>
+<path fill="none" stroke="#475569" d="M514.28,-146C541.46,-146 573.09,-146 601.63,-146"/>
+<polygon fill="#475569" stroke="#475569" points="601.99,-149.5 611.99,-146 601.99,-142.5 601.99,-149.5"/>
+</g>
+<!-- planner&#45;&gt;key -->
+<g id="edge5" class="edge">
+<title>planner&#45;&gt;key</title>
+<path fill="none" stroke="#475569" d="M1081.06,-139.33C1089.83,-138.72 1098.76,-138.1 1107.68,-137.49"/>
+<polygon fill="#475569" stroke="#475569" points="1108.01,-140.97 1117.74,-136.79 1107.52,-133.99 1108.01,-140.97"/>
+</g>
+<!-- cache -->
+<g id="node9" class="node">
+<title>cache</title>
+<path fill="#fef2f2" stroke="#334155" d="M1530.48,-162.66C1530.48,-162.66 1422.52,-131.34 1422.52,-131.34 1416.76,-129.67 1416.76,-126.33 1422.52,-124.66 1422.52,-124.66 1530.48,-93.34 1530.48,-93.34 1536.24,-91.67 1547.76,-91.67 1553.52,-93.34 1553.52,-93.34 1661.48,-124.66 1661.48,-124.66 1667.24,-126.33 1667.24,-129.67 1661.48,-131.34 1661.48,-131.34 1553.52,-162.66 1553.52,-162.66 1547.76,-164.33 1536.24,-164.33 1530.48,-162.66"/>
+<text text-anchor="middle" x="1542" y="-131.8" font-family="Helvetica,sans-Serif" font-size="14.00">artifact manifest</text>
+<text text-anchor="middle" x="1542" y="-116.8" font-family="Helvetica,sans-Serif" font-size="14.00">already exists?</text>
+</g>
+<!-- key&#45;&gt;cache -->
+<g id="edge6" class="edge">
+<title>key&#45;&gt;cache</title>
+<path fill="none" stroke="#475569" d="M1374.24,-128C1382.94,-128 1391.74,-128 1400.5,-128"/>
+<polygon fill="#475569" stroke="#475569" points="1400.77,-131.5 1410.77,-128 1400.77,-124.5 1400.77,-131.5"/>
+</g>
+<!-- cache&#45;&gt;builder -->
+<g id="edge8" class="edge">
+<title>cache&#45;&gt;builder</title>
+<path fill="none" stroke="#475569" d="M1671.62,-128.46C1686.73,-128.51 1702.03,-128.56 1716.82,-128.62"/>
+<polygon fill="#475569" stroke="#475569" points="1716.95,-132.12 1726.96,-128.65 1716.98,-125.12 1716.95,-132.12"/>
+<text text-anchor="middle" x="1700" y="-132" font-family="Helvetica,sans-Serif" font-size="10.00">no</text>
+</g>
+<!-- skipped -->
+<g id="node16" class="node">
+<title>skipped</title>
+<path fill="#e2e8f0" stroke="#334155" d="M1889.5,-38C1889.5,-38 1762.5,-38 1762.5,-38 1756.5,-38 1750.5,-32 1750.5,-26 1750.5,-26 1750.5,-12 1750.5,-12 1750.5,-6 1756.5,0 1762.5,0 1762.5,0 1889.5,0 1889.5,0 1895.5,0 1901.5,-6 1901.5,-12 1901.5,-12 1901.5,-26 1901.5,-26 1901.5,-32 1895.5,-38 1889.5,-38"/>
+<text text-anchor="middle" x="1826" y="-22.8" font-family="Helvetica,sans-Serif" font-size="14.00">skip build</text>
+<text text-anchor="middle" x="1826" y="-7.8" font-family="Helvetica,sans-Serif" font-size="14.00">report success/skip</text>
+</g>
+<!-- cache&#45;&gt;skipped -->
+<g id="edge7" class="edge">
+<title>cache&#45;&gt;skipped</title>
+<path fill="none" stroke="#475569" d="M1599.05,-106.33C1647.39,-87.65 1716.96,-60.76 1766.11,-41.76"/>
+<polygon fill="#475569" stroke="#475569" points="1767.59,-44.94 1775.65,-38.07 1765.07,-38.41 1767.59,-44.94"/>
+<text text-anchor="middle" x="1700" y="-74" font-family="Helvetica,sans-Serif" font-size="10.00">yes</text>
+</g>
+<!-- pacstall -->
+<g id="node11" class="node">
+<title>pacstall</title>
+<path fill="#f5d0fe" stroke="#334155" d="M2473.5,-156.5C2473.5,-156.5 2246.5,-156.5 2246.5,-156.5 2240.5,-156.5 2234.5,-150.5 2234.5,-144.5 2234.5,-144.5 2234.5,-115.5 2234.5,-115.5 2234.5,-109.5 2240.5,-103.5 2246.5,-103.5 2246.5,-103.5 2473.5,-103.5 2473.5,-103.5 2479.5,-103.5 2485.5,-109.5 2485.5,-115.5 2485.5,-115.5 2485.5,-144.5 2485.5,-144.5 2485.5,-150.5 2479.5,-156.5 2473.5,-156.5"/>
+<text text-anchor="middle" x="2360" y="-141.3" font-family="Helvetica,sans-Serif" font-size="14.00">pacstall path</text>
+<text text-anchor="middle" x="2360" y="-126.3" font-family="Helvetica,sans-Serif" font-size="14.00">APKBUILD → generated .pacscript</text>
+<text text-anchor="middle" x="2360" y="-111.3" font-family="Helvetica,sans-Serif" font-size="14.00">(runtime intermediate)</text>
+</g>
+<!-- builder&#45;&gt;pacstall -->
+<g id="edge9" class="edge">
+<title>builder&#45;&gt;pacstall</title>
+<path fill="none" stroke="#475569" stroke-dasharray="5,2" d="M1925.2,-129.18C2009.2,-129.34 2130.95,-129.57 2224.1,-129.75"/>
+<polygon fill="#475569" stroke="#475569" points="2224.16,-133.25 2234.16,-129.77 2224.17,-126.25 2224.16,-133.25"/>
+<text text-anchor="middle" x="2033.5" y="-133" font-family="Helvetica,sans-Serif" font-size="10.00">only when host install needs pacstall</text>
+</g>
+<!-- publish -->
+<g id="node12" class="node">
+<title>publish</title>
+<path fill="#d1fae5" stroke="#334155" d="M2566,-213C2566,-213 2154,-213 2154,-213 2148,-213 2142,-207 2142,-201 2142,-201 2142,-187 2142,-187 2142,-181 2148,-175 2154,-175 2154,-175 2566,-175 2566,-175 2572,-175 2578,-181 2578,-187 2578,-187 2578,-201 2578,-201 2578,-207 2572,-213 2566,-213"/>
+<text text-anchor="middle" x="2360" y="-197.8" font-family="Helvetica,sans-Serif" font-size="14.00">atomic publish</text>
+<text text-anchor="middle" x="2360" y="-182.8" font-family="Helvetica,sans-Serif" font-size="14.00">$FPKGS_DL_ROOT/&lt;target&gt;/&lt;pkg&gt;/&lt;ver&#45;rrel&gt;/&lt;buildkey&gt;/</text>
+</g>
+<!-- builder&#45;&gt;publish -->
+<g id="edge10" class="edge">
+<title>builder&#45;&gt;publish</title>
+<path fill="none" stroke="#475569" d="M1925.08,-142.67C1931.14,-143.47 1937.15,-144.25 1943,-145 2020.94,-154.96 2107.19,-165.25 2180.85,-173.8"/>
+<polygon fill="#475569" stroke="#475569" points="2180.82,-177.32 2191.16,-175 2181.63,-170.37 2180.82,-177.32"/>
+<text text-anchor="middle" x="2033.5" y="-168" font-family="Helvetica,sans-Serif" font-size="10.00">success</text>
+</g>
+<!-- fail -->
+<g id="node17" class="node">
+<title>fail</title>
+<path fill="#fecdd3" stroke="#334155" d="M2417,-85C2417,-85 2303,-85 2303,-85 2297,-85 2291,-79 2291,-73 2291,-73 2291,-59 2291,-59 2291,-53 2297,-47 2303,-47 2303,-47 2417,-47 2417,-47 2423,-47 2429,-53 2429,-59 2429,-59 2429,-73 2429,-73 2429,-79 2423,-85 2417,-85"/>
+<text text-anchor="middle" x="2360" y="-69.8" font-family="Helvetica,sans-Serif" font-size="14.00">failed build</text>
+<text text-anchor="middle" x="2360" y="-54.8" font-family="Helvetica,sans-Serif" font-size="14.00">build.log retained</text>
+</g>
+<!-- builder&#45;&gt;fail -->
+<g id="edge11" class="edge">
+<title>builder&#45;&gt;fail</title>
+<path fill="none" stroke="#475569" d="M1925.09,-117.14C1931.15,-116.41 1937.16,-115.7 1943,-115 2060.67,-100.97 2197.09,-84.95 2280.72,-75.15"/>
+<polygon fill="#475569" stroke="#475569" points="2281.37,-78.6 2290.9,-73.96 2280.56,-71.65 2281.37,-78.6"/>
+<text text-anchor="middle" x="2033.5" y="-118" font-family="Helvetica,sans-Serif" font-size="10.00">failure</text>
+</g>
+<!-- dl -->
+<g id="node13" class="node">
+<title>dl</title>
+<path fill="#a7f3d0" stroke="#334155" d="M2886,-213C2886,-213 2736,-213 2736,-213 2730,-213 2724,-207 2724,-201 2724,-201 2724,-187 2724,-187 2724,-181 2730,-175 2736,-175 2736,-175 2886,-175 2886,-175 2892,-175 2898,-181 2898,-187 2898,-187 2898,-201 2898,-201 2898,-207 2892,-213 2886,-213"/>
+<text text-anchor="middle" x="2811" y="-197.8" font-family="Helvetica,sans-Serif" font-size="14.00">dl.nply.org</text>
+<text text-anchor="middle" x="2811" y="-182.8" font-family="Helvetica,sans-Serif" font-size="14.00">lighttpd static artifacts</text>
+</g>
+<!-- publish&#45;&gt;dl -->
+<g id="edge12" class="edge">
+<title>publish&#45;&gt;dl</title>
+<path fill="none" stroke="#475569" d="M2578.27,-194C2625.83,-194 2673.83,-194 2713.72,-194"/>
+<polygon fill="#475569" stroke="#475569" points="2713.94,-197.5 2723.94,-194 2713.94,-190.5 2713.94,-197.5"/>
+</g>
+<!-- minci -->
+<g id="node14" class="node">
+<title>minci</title>
+<path fill="#fee2e2" stroke="#334155" d="M2902,-85C2902,-85 2720,-85 2720,-85 2714,-85 2708,-79 2708,-73 2708,-73 2708,-59 2708,-59 2708,-53 2714,-47 2720,-47 2720,-47 2902,-47 2902,-47 2908,-47 2914,-53 2914,-59 2914,-59 2914,-73 2914,-73 2914,-79 2908,-85 2902,-85"/>
+<text text-anchor="middle" x="2811" y="-69.8" font-family="Helvetica,sans-Serif" font-size="14.00">minci report</text>
+<text text-anchor="middle" x="2811" y="-54.8" font-family="Helvetica,sans-Serif" font-size="14.00">ci.nply.org/cgi&#45;bin/minci.cgi</text>
+</g>
+<!-- publish&#45;&gt;minci -->
+<g id="edge13" class="edge">
+<title>publish&#45;&gt;minci</title>
+<path fill="none" stroke="#475569" d="M2535.07,-174.99C2549.69,-172.11 2564.16,-168.8 2578,-165 2645.36,-146.5 2718.85,-112.62 2764.68,-89.7"/>
+<polygon fill="#475569" stroke="#475569" points="2766.39,-92.76 2773.74,-85.13 2763.24,-86.51 2766.39,-92.76"/>
+<text text-anchor="middle" x="2643" y="-162" font-family="Helvetica,sans-Serif" font-size="10.00">success report</text>
+</g>
+<!-- web -->
+<g id="node15" class="node">
+<title>web</title>
+<path fill="#fecaca" stroke="#334155" d="M3048,-85C3048,-85 2963,-85 2963,-85 2957,-85 2951,-79 2951,-73 2951,-73 2951,-59 2951,-59 2951,-53 2957,-47 2963,-47 2963,-47 3048,-47 3048,-47 3054,-47 3060,-53 3060,-59 3060,-59 3060,-73 3060,-73 3060,-79 3054,-85 3048,-85"/>
+<text text-anchor="middle" x="3005.5" y="-69.8" font-family="Helvetica,sans-Serif" font-size="14.00">CI dashboard</text>
+<text text-anchor="middle" x="3005.5" y="-54.8" font-family="Helvetica,sans-Serif" font-size="14.00">ci.nply.org</text>
+</g>
+<!-- minci&#45;&gt;web -->
+<g id="edge16" class="edge">
+<title>minci&#45;&gt;web</title>
+<path fill="none" stroke="#475569" d="M2914.17,-66C2923.12,-66 2932.01,-66 2940.52,-66"/>
+<polygon fill="#475569" stroke="#475569" points="2940.69,-69.5 2950.69,-66 2940.69,-62.5 2940.69,-69.5"/>
+</g>
+<!-- skipped&#45;&gt;minci -->
+<g id="edge14" class="edge">
+<title>skipped&#45;&gt;minci</title>
+<path fill="none" stroke="#475569" d="M1901.54,-15.96C2036.69,-11.3 2331.07,-5.06 2578,-27 2620.47,-30.77 2666.89,-37.96 2706.97,-45.14"/>
+<polygon fill="#475569" stroke="#475569" points="2706.55,-48.62 2717.02,-46.96 2707.8,-41.73 2706.55,-48.62"/>
+<text text-anchor="middle" x="2360" y="-30" font-family="Helvetica,sans-Serif" font-size="10.00">skip report</text>
+</g>
+<!-- fail&#45;&gt;minci -->
+<g id="edge15" class="edge">
+<title>fail&#45;&gt;minci</title>
+<path fill="none" stroke="#475569" d="M2429.19,-66C2500.39,-66 2613.22,-66 2697.61,-66"/>
+<polygon fill="#475569" stroke="#475569" points="2697.76,-69.5 2707.76,-66 2697.76,-62.5 2697.76,-69.5"/>
+<text text-anchor="middle" x="2643" y="-69" font-family="Helvetica,sans-Serif" font-size="10.00">failure report + log</text>
+</g>
+</g>
+</svg>