Mere Pkgd Harness
@jeremy/mere-pkgd-harnessv2026.07.17.1
01README
Local integration-test harness for the mere <-> pkgd package-publish pipeline: builds both binaries, runs pkgd as a real background process against scratch directories, publishes a real signed test package to it over HTTP, and verifies the result — without touching the real /mere on the host.
02Models
@jeremy/mere-pkgd-harnessv2026.07.17.1mere_pkgd_harness.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| mereRepoPath | string | Local git checkout of codeberg.org/merelinux/mere to build from |
| pkgdRepoPath | string | Local git checkout of codeberg.org/merelinux/pkgd to build from |
| scratchDir | string | Root scratch directory for this harness run — everything lives under here, nothing touches the real /mere |
fn build()
Compile mere (zig build) and pkgd (go build) from their local checkouts
fn start()
Generate a throwaway signing key and start pkgd as a background process against fresh scratch directories
fn publish_test_package(recipePath: string)
Build a real signed test package via `mere dev build` and POST it to the running pkgd instance's /publish
| Argument | Type | Description |
|---|---|---|
| recipePath | string | Path to a recipe.kdl to build, e.g. a small recipe from the recipes checkout |
fn verify_published(packageName: string)
Confirm a package landed in the published repo.db (queried directly, sidestepping any HTTP-layer caching)
| Argument | Type | Description |
|---|---|---|
| packageName | string |
fn stop()
Kill the running pkgd instance and remove all scratch directories
Resources
build(infinite)— Built mere and pkgd binary paths
instance(infinite)— A running pkgd test instance
publish-result(infinite)— Result of publishing one test package through pkgd
verify-result(infinite)— Result of verifying a package landed in the published repo.db
03Stats
A
100 / 100
Downloads
0
Archive size
9.4 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
04Platforms
05Labels