Move the means package to orbit-packages
Rolling Release / build (push) Successful in 1m46s
Rolling Release / publish (push) Successful in 9s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Opus 5.5 committed 2026-12-01 05:11:15 -08:00
1 parent 47a80fad04
commit 6d35f207fd
2 files changed
+2 -31

No files matched your search

+2
View File
@@ -129,6 +129,8 @@ If a registry rejects the saved login, Orbit reads anonymously without a message
Packages come from **channels**, which work like channels in pixi. A channel is a name for a registry namespace. The built-in `main` channel is `git.site.latha.org/nandi`, so no setup is needed.
The packages in `main` are built by [orbit-packages](https://git.site.latha.org/nandi/orbit-packages), whose CI follows their upstreams.
Add your own in `~/.orbit/config.toml` (`$ORBIT_ROOT/config.toml`), highest priority first. [examples/config.toml](examples/config.toml) adds the `example` channel:
```toml
-31
View File
@@ -1,31 +0,0 @@
#!/bin/sh
# Stage the upstream means release as an Orbit package. Print the staging path on stdout.
set -eu
version=0.6.0
sha256=0cf864115f116d5c6a75f8a2f2679d0a5854261a84d10d03e161481973de9669
cd "$(dirname "$0")/.."
mkdir -p _build
package_dir=$(mktemp -d "$PWD/_build/means-package.XXXXXX")
archive="$package_dir/means.tar.gz"
curl -fsSL -o "$archive" \
"https://github.com/hmans/means/releases/download/v$version/means_${version}_linux_amd64.tar.gz"
printf '%s %s\n' "$sha256" "$archive" | sha256sum -c - >&2
mkdir -p "$package_dir/files/bin" "$package_dir/files/share/doc/means"
tar -xzf "$archive" -C "$package_dir" means LICENSE README.md
install -m 755 "$package_dir/means" "$package_dir/files/bin/means"
install -m 644 "$package_dir/LICENSE" "$package_dir/README.md" "$package_dir/files/share/doc/means/"
rm "$archive" "$package_dir/means" "$package_dir/LICENSE" "$package_dir/README.md"
cat > "$package_dir/orbit.json" <<EOF
{
"name": "means",
"version": "$version",
"description": "Markdown document collections with schemas, for issues, notes and agent memory",
"documentation": "https://github.com/hmans/means",
"bin": ["bin/means"],
"depends": {}
}
EOF
printf '%s\n' "$package_dir"