Add examples/: one working declaration per config concept #41
Loading…
Reference in a new issue
No description provided.
Delete branch "examples"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The only references for writing a package config were the bootstrap sample (uv only) and SPEC's draft schema, which mixes in keys that don't exist yet. Fragments had no guide at all.
Change
examples/: eight real, working declarations based on the configs in use on this box. Each file's header lists the concepts it shows, and each key is explained where it's used:uv: default archive shape,extra_binaries, tier 2,sanity_checkscaleway-cli: bare binary,{version},binary_name, combinedSHA256SUMSclaude-code:archive_binary_path,envwrapperanythingllm-appimage:github-asset-digest,dependsjdk25-graalvm+ fragment:tag_regex,*inasset_pattern, repackaging a prebuilt treeollama+ fragment: service, system user,backup,replacesausweisapp+ fragment: source build,makedepends, makepkg PGP check,options=()pkgwatch: Forgejo sourceexamples/README.md:+=onsource, which fields to override,--nodeps);every_example_loadsloadsexamples/with the real loader (one package per file, every fragment definespackage()), so the examples can't go stale.examples/. CHANGELOG entry added.Verified
cargo fmt --checkandcargo clippy --all-targets -D warningsare clean;cargo testpasses (205 tests).bash -npasses on all three fragments.🤖 Generated with Claude Code
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.