Commite47eef6cRecorded1 Apr 2026Repositorysigil-telegram

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, json, http), generate lockfile, and update build instructions to use sigil deps install workflow. Fix test import: replace (scheme base) with (sigil io).

Changed
 README.md              |  5 ++---
 package.sgl            | 10 +++-------
 sigil.lock             | 21 +++++++++++++++++++++
 test/test-telegram.sgl |  2 +-
 4 files changed, 27 insertions(+), 11 deletions(-)
Diff
README.mdmodified
@@ -56,13 +56,12 @@ Then build a bot:
56
- sigil-stdlib
57
- sigil-json
58
- sigil-http
59
- sigil-tls
60
- sigil-crypto
59
60
## Building
61
62
```bash
65
sigil build --redirects dev-redirects.sgl
+63
sigil deps install
+64
sigil build
65
sigil test
66
```
67
package.sglmodified
@@ -4,8 +4,6 @@
4
;;; command/message handlers, chat authorization, MarkdownV2 formatting,
5
;;; and media sending with file upload support.
6
7
(define sigil-repo "codeberg:sigil/sigil#v0.8.0")
8
7
(package
8
name: "sigil-telegram"
9
version: "0.7.0"
@@ -27,11 +25,9 @@
25
optimize: 2))
26
27
dependencies: (list
30
(from-git url: sigil-repo package: "sigil-stdlib")
31
(from-git url: sigil-repo package: "sigil-json")
32
(from-git url: sigil-repo package: "sigil-http")
33
(from-git url: sigil-repo package: "sigil-tls")
34
(from-git url: sigil-repo package: "sigil-crypto"))
+28
(from-git url: "codeberg:sigil/sigil" package: "sigil-stdlib" version: "^0.9.0")
+29
(from-git url: "codeberg:sigil/sigil" package: "sigil-json" version: "^0.9.0")
+30
(from-git url: "codeberg:sigil/sigil" package: "sigil-http" version: "^0.9.0"))
31
32
tasks: (list
33
(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-json"
+10
url: "codeberg:sigil/sigil"
+11
ref: "^0.9.0"
+12
sha: "54f66e8ec446b65b75ab6f12454d2c0aa269f2c0"
+13
package-selector: "sigil-json"
+14
version: "0.9.1")
+15
(package name: "sigil-http"
+16
url: "codeberg:sigil/sigil"
+17
ref: "^0.9.0"
+18
sha: "54f66e8ec446b65b75ab6f12454d2c0aa269f2c0"
+19
package-selector: "sigil-http"
+20
version: "0.9.1")
+21
)
test/test-telegram.sglmodified
@@ -1,5 +1,5 @@
1
(import (sigil test)
2
(scheme base)
+2
(sigil io)
3
(sigil string)
4
(sigil telegram types)
5
(sigil telegram client)