detached 0711eab

chore(deps): add jsonschema, mock, and sync dependencies

Adds invopop/jsonschema for config schema generation, uber/mock for improved mocking, and makes golang.org/x/sync a direct dependency. Also adds vendor/ to .gitignore.
commit
0711eab622623c402916cda45c62aa064e614210
author
bnema · · 2025-10-23 18:22 UTC
committer
bnema · · 2025-10-24 17:33 UTC
parent
60a2c3f
signature
GPG Unverified2B82207D370127A0 The key is unknown
3 files · +22 -1
M .gitignore +1 -0
@@ -82,3 +82,4 @@ templates/
8282 .serena/
8383 config.yaml
8484 .dev/
85+vendor/
@@ -82,3 +82,4 @@ templates/
82 .serena/82 .serena/
83 config.yaml83 config.yaml
84 .dev/84 .dev/
85+vendor/
M go.mod +8 -1
@@ -7,17 +7,23 @@ require (
77 github.com/diamondburned/gotk4/pkg v0.3.1
88 github.com/fsnotify/fsnotify v1.9.0
99 github.com/golang/mock v1.6.0
10+ github.com/invopop/jsonschema v0.13.0
1011 github.com/ncruces/go-sqlite3 v0.29.0
1112 github.com/spf13/cobra v1.10.1
1213 github.com/spf13/viper v1.21.0
14+ go.uber.org/mock v0.6.0
15+ golang.org/x/sync v0.17.0
1316 golang.org/x/sys v0.36.0
1417 )
1518
1619 require (
1720 github.com/KarpelesLab/weak v0.1.1 // indirect
21+ github.com/bahlo/generic-list-go v0.2.0 // indirect
22+ github.com/buger/jsonparser v1.1.1 // indirect
1823 github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
1924 github.com/google/go-cmp v0.7.0 // indirect
2025 github.com/inconshreveable/mousetrap v1.1.0 // indirect
26+ github.com/mailru/easyjson v0.7.7 // indirect
2127 github.com/ncruces/julianday v1.0.0 // indirect
2228 github.com/pelletier/go-toml/v2 v2.2.4 // indirect
2329 github.com/rogpeppe/go-internal v1.12.0 // indirect
@@ -28,11 +34,12 @@ require (
2834 github.com/spf13/pflag v1.0.10 // indirect
2935 github.com/subosito/gotenv v1.6.0 // indirect
3036 github.com/tetratelabs/wazero v1.9.0 // indirect
37+ github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect
3138 go.yaml.in/yaml/v3 v3.0.4 // indirect
3239 go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 // indirect
33- golang.org/x/sync v0.17.0 // indirect
3440 golang.org/x/text v0.29.0 // indirect
3541 gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
42+ gopkg.in/yaml.v3 v3.0.1 // indirect
3643 )
3744
3845 replace (
@@ -7,17 +7,23 @@ require (
7 github.com/diamondburned/gotk4/pkg v0.3.17 github.com/diamondburned/gotk4/pkg v0.3.1
8 github.com/fsnotify/fsnotify v1.9.08 github.com/fsnotify/fsnotify v1.9.0
9 github.com/golang/mock v1.6.09 github.com/golang/mock v1.6.0
10+ github.com/invopop/jsonschema v0.13.0
10 github.com/ncruces/go-sqlite3 v0.29.011 github.com/ncruces/go-sqlite3 v0.29.0
11 github.com/spf13/cobra v1.10.112 github.com/spf13/cobra v1.10.1
12 github.com/spf13/viper v1.21.013 github.com/spf13/viper v1.21.0
14+ go.uber.org/mock v0.6.0
15+ golang.org/x/sync v0.17.0
13 golang.org/x/sys v0.36.016 golang.org/x/sys v0.36.0
14 )17 )
15 18
16 require (19 require (
17 github.com/KarpelesLab/weak v0.1.1 // indirect20 github.com/KarpelesLab/weak v0.1.1 // indirect
21+ github.com/bahlo/generic-list-go v0.2.0 // indirect
22+ github.com/buger/jsonparser v1.1.1 // indirect
18 github.com/go-viper/mapstructure/v2 v2.4.0 // indirect23 github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
19 github.com/google/go-cmp v0.7.0 // indirect24 github.com/google/go-cmp v0.7.0 // indirect
20 github.com/inconshreveable/mousetrap v1.1.0 // indirect25 github.com/inconshreveable/mousetrap v1.1.0 // indirect
26+ github.com/mailru/easyjson v0.7.7 // indirect
21 github.com/ncruces/julianday v1.0.0 // indirect27 github.com/ncruces/julianday v1.0.0 // indirect
22 github.com/pelletier/go-toml/v2 v2.2.4 // indirect28 github.com/pelletier/go-toml/v2 v2.2.4 // indirect
23 github.com/rogpeppe/go-internal v1.12.0 // indirect29 github.com/rogpeppe/go-internal v1.12.0 // indirect
@@ -28,11 +34,12 @@ require (
28 github.com/spf13/pflag v1.0.10 // indirect34 github.com/spf13/pflag v1.0.10 // indirect
29 github.com/subosito/gotenv v1.6.0 // indirect35 github.com/subosito/gotenv v1.6.0 // indirect
30 github.com/tetratelabs/wazero v1.9.0 // indirect36 github.com/tetratelabs/wazero v1.9.0 // indirect
37+ github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect
31 go.yaml.in/yaml/v3 v3.0.4 // indirect38 go.yaml.in/yaml/v3 v3.0.4 // indirect
32 go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 // indirect39 go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 // indirect
33- golang.org/x/sync v0.17.0 // indirect
34 golang.org/x/text v0.29.0 // indirect40 golang.org/x/text v0.29.0 // indirect
35 gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect41 gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
42+ gopkg.in/yaml.v3 v3.0.1 // indirect
36 )43 )
37 44
38 replace (45 replace (
M go.sum +13 -0 generated file: collapsed

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close