Move hello to the example channel
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:
1 parent
58e271967b
commit
fec3c120f4
4 files changed
+10
-11
No files matched your search
@@ -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)
|
||||
eval "$(orbit env)"
|
||||
|
||||
orbit publish examples/hello
|
||||
orbit install hello
|
||||
orbit channel add example git.site.latha.org/nandi/example # once
|
||||
orbit publish examples/hello --channel example
|
||||
orbit install example::hello
|
||||
hello # -> hello from orbit
|
||||
orbit upgrade
|
||||
orbit rollback hello
|
||||
@@ -116,7 +117,7 @@ Inside a directory with `orbit.toml` (or pass `--manifest-path <path>`), command
|
||||
|
||||
```sh
|
||||
orbit new myapp && cd myapp
|
||||
orbit add hello example::greet
|
||||
orbit add example::hello example::greet
|
||||
orbit run greet
|
||||
orbit lock --update
|
||||
orbit install --locked
|
||||
@@ -137,14 +138,14 @@ name = "example"
|
||||
url = "git.site.latha.org/nandi/example"
|
||||
|
||||
[dependencies]
|
||||
hello = "^1.0.0"
|
||||
hello = { version = "^1.0.0", channel = "example" }
|
||||
greet = { version = ">=1.0.0, <2.0.0", channel = "example" }
|
||||
|
||||
[tasks]
|
||||
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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user