Commit4d46d014Recorded1 Apr 2026Repositorysigil-discourse

Migrate to 0.9.1 transitive deps with version ranges and lockfile

Message

Replace tag-pinned monorepo deps with version ranges (^0.9.0), trim to direct deps only (stdlib, http, json), remove sigil-tls (not directly imported), add sigil-json (directly imported), generate lockfile, and update build instructions to use sigil deps install workflow.

Changed
 README.md   |  4 +++-
 package.sgl |  8 +++-----
 sigil.lock  | 21 +++++++++++++++++++++
 3 files changed, 27 insertions(+), 6 deletions(-)
Diff
README.mdmodified
@@ -53,7 +53,9 @@ takes `(base-url api-key username ...)` as its first three parameters.
53
## Building
54
55
```bash
56
sigil build --redirects dev-redirects.sgl
+56
sigil deps install
+57
sigil build
+58
sigil test
59
```
60
61
## License
package.sglmodified
@@ -3,8 +3,6 @@
3
;;; Provides access to the Discourse REST API for managing topics, posts,
4
;;; categories, users, groups, private messages, and admin settings.
5
6
(define sigil-repo "codeberg:sigil/sigil#v0.8.0")
7
6
(package
7
name: "sigil-discourse"
8
version: "0.1.0"
@@ -14,9 +12,9 @@
12
authors: (list "David Wilson <[email protected]>")
13
14
dependencies: (list
17
(from-git url: sigil-repo package: "sigil-stdlib")
18
(from-git url: sigil-repo package: "sigil-http")
19
(from-git url: sigil-repo package: "sigil-tls"))
+15
(from-git url: "codeberg:sigil/sigil" package: "sigil-stdlib" version: "^0.9.0")
+16
(from-git url: "codeberg:sigil/sigil" package: "sigil-http" version: "^0.9.0")
+17
(from-git url: "codeberg:sigil/sigil" package: "sigil-json" version: "^0.9.0"))
18
19
tasks: (list
20
(task
sigil.lockadded
@@ -0,0 +1,21 @@
+1
;; Auto-generated by sigil deps install. Do not edit.
+2
(lock
+3
(package name: "sigil-stdlib"
+4
url: "codeberg:sigil/sigil"
+5
ref: "^0.9.0"
+6
sha: "54f66e8ec446b65b75ab6f12454d2c0aa269f2c0"
+7
package-selector: "sigil-stdlib"
+8
version: "0.9.1")
+9
(package name: "sigil-http"
+10
url: "codeberg:sigil/sigil"
+11
ref: "^0.9.0"
+12
sha: "54f66e8ec446b65b75ab6f12454d2c0aa269f2c0"
+13
package-selector: "sigil-http"
+14
version: "0.9.1")
+15
(package name: "sigil-json"
+16
url: "codeberg:sigil/sigil"
+17
ref: "^0.9.0"
+18
sha: "54f66e8ec446b65b75ab6f12454d2c0aa269f2c0"
+19
package-selector: "sigil-json"
+20
version: "0.9.1")
+21
)