From a91f832f4151c7af2b6c18929c17f730894480c1 Mon Sep 17 00:00:00 2001 From: nandithebull Date: Tue, 1 Dec 2026 05:55:56 -0800 Subject: [PATCH] Declare hello from the example channel and add backlog collection - Pin the example project's `hello` dependency to the `example` channel in orbit.toml, matching `greet` - Update the example project README to describe both dependencies as coming from `example` - Add MEANS.md as the planning backlog collection and ignore `.means/` in .gitignore --- .gitignore | 1 + MEANS.md | 16 ++++++++++++++++ examples/project/README.md | 2 +- examples/project/orbit.toml | 2 +- 4 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 MEANS.md diff --git a/.gitignore b/.gitignore index cbeb03c..9aabb64 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ target/ .mooncakes/ _build/ dist/ +.means/ diff --git a/MEANS.md b/MEANS.md new file mode 100644 index 0000000..e6153ab --- /dev/null +++ b/MEANS.md @@ -0,0 +1,16 @@ +--- +title: orbit +schema: + $schema: https://json-schema.org/draft/2020-12/schema + type: object + properties: + tags: + type: array + description: Labels used to organize and find the document. + items: + type: string + additionalProperties: false +--- +# Collection guidance + +Describe this collection and its workflow here. diff --git a/examples/project/README.md b/examples/project/README.md index d6d5b83..91e6a93 100644 --- a/examples/project/README.md +++ b/examples/project/README.md @@ -1,6 +1,6 @@ # orbit-demo -An example project whose dependencies (`hello` from `main` and `greet` from `example`) are declared in [orbit.toml](orbit.toml) and pinned in [orbit.lock](orbit.lock). +An example project whose dependencies (`hello` and `greet`, both from the `example` channel) are declared in [orbit.toml](orbit.toml) and pinned in [orbit.lock](orbit.lock). ## Files diff --git a/examples/project/orbit.toml b/examples/project/orbit.toml index 7a69d9b..592918d 100644 --- a/examples/project/orbit.toml +++ b/examples/project/orbit.toml @@ -10,7 +10,7 @@ url = "git.site.latha.org/nandi/example" [dependencies] greet = { version = ">=1.0.0, <2.0.0", channel = "example" } -hello = "^1.0.0" +hello = { version = "^1.0.0", channel = "example" } [tasks] demo = "sh \"$ORBIT_PROJECT/demo.sh\""