Move hello to the example channel
Rolling Release / build (push) Canceled after 0s
Rolling Release / publish (push) Canceled after 0s

The smoke test installs means instead, the smallest package left in main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Opus 5.5 committed 2026-12-01 05:54:51 -08:00
1 parent 58e271967b
commit fec3c120f4
4 files changed
+10 -11

No files matched your search

+2 -2
View File
@@ -78,8 +78,8 @@ jobs:
- name: Smoke test - name: Smoke test
run: | run: |
export ORBIT_ROOT="$RUNNER_TEMP/orbit-smoke" export ORBIT_ROOT="$RUNNER_TEMP/orbit-smoke"
dist/orbit-linux-x86_64 install hello dist/orbit-linux-x86_64 install means
"$ORBIT_ROOT/bin/hello" "$ORBIT_ROOT/bin/means" version
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
+6 -5
View File
@@ -102,8 +102,9 @@ The manifest has `artifactType` `application/vnd.latha.orbit.index.v1` and one J
orbit login git.site.latha.org # once, with a Gitea token (needed to publish) orbit login git.site.latha.org # once, with a Gitea token (needed to publish)
eval "$(orbit env)" eval "$(orbit env)"
orbit publish examples/hello orbit channel add example git.site.latha.org/nandi/example # once
orbit install hello orbit publish examples/hello --channel example
orbit install example::hello
hello # -> hello from orbit hello # -> hello from orbit
orbit upgrade orbit upgrade
orbit rollback hello orbit rollback hello
@@ -116,7 +117,7 @@ Inside a directory with `orbit.toml` (or pass `--manifest-path <path>`), command
```sh ```sh
orbit new myapp && cd myapp orbit new myapp && cd myapp
orbit add hello example::greet orbit add example::hello example::greet
orbit run greet orbit run greet
orbit lock --update orbit lock --update
orbit install --locked orbit install --locked
@@ -137,14 +138,14 @@ name = "example"
url = "git.site.latha.org/nandi/example" url = "git.site.latha.org/nandi/example"
[dependencies] [dependencies]
hello = "^1.0.0" hello = { version = "^1.0.0", channel = "example" }
greet = { version = ">=1.0.0, <2.0.0", channel = "example" } greet = { version = ">=1.0.0, <2.0.0", channel = "example" }
[tasks] [tasks]
hi = "greet" hi = "greet"
``` ```
See [examples/project](examples/project/README.md) for a working example project using `hello` and `example::greet`. See [examples/project](examples/project/README.md) for a working example project using `example::hello` and `example::greet`.
Credentials are stored in `~/.orbit/auth.json` (`$ORBIT_ROOT/auth.json`, mode `0600`). Orbit also falls back to `~/.docker/config.json` (`$DOCKER_CONFIG/config.json`) including `credHelpers` and `credsStore`. Use `orbit logout <host>` to remove stored credentials from Orbit. Credentials are stored in `~/.orbit/auth.json` (`$ORBIT_ROOT/auth.json`, mode `0600`). Orbit also falls back to `~/.docker/config.json` (`$DOCKER_CONFIG/config.json`) including `credHelpers` and `credsStore`. Use `orbit logout <host>` to remove stored credentials from Orbit.
+1 -2
View File
@@ -1,8 +1,7 @@
# greet # greet
`greet` is an example Orbit package from the `example` channel. It installs a `greet` is an example Orbit package from the `example` channel. It installs a
small greeting command and depends on `hello` from the built-in `main` small greeting command and depends on `hello` from the same channel.
channel.
- [Installation and usage](files/share/doc/greet/README.md) - [Installation and usage](files/share/doc/greet/README.md)
- [Package on Gitea](https://git.site.latha.org/nandi/-/packages/container/example%2Fgreet/latest) - [Package on Gitea](https://git.site.latha.org/nandi/-/packages/container/example%2Fgreet/latest)
@@ -1,8 +1,7 @@
# greet # greet
`greet` is a small Orbit package that demonstrates installing from a custom `greet` is a small Orbit package that demonstrates installing from a custom
channel. It depends on the `hello` package from Orbit's built-in `main` channel. It depends on the `hello` package from the same channel.
channel.
```sh ```sh
# Add the example channel once. # Add the example channel once.