fix: remove local replace directive, use published purego-sqlite v0.1.1
Remove the ../purego-sqlite local replace that breaks CI and use the published v0.1.1 which includes datetime parsing support in the driver. Also fix import grouping in omnibox.go per CodeRabbit review.
- commit
- 500c11fe8dc5451c4521d5854030c24516312ed3
- author
- brice · · 2026-03-27 05:49 UTC
- parent
- a49291f
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
3 files · +9 -9
M go.mod +2 -5
| @@ -3,7 +3,7 @@ module github.com/bnema/dumber | |||
| 3 | 3 | go 1.26.1 | |
| 4 | 4 | ||
| 5 | 5 | require ( | |
| 6 | - | github.com/bnema/purego-sqlite v0.1.0 | |
| 6 | + | github.com/bnema/purego-sqlite v0.1.1 | |
| 7 | 7 | github.com/bnema/puregotk v0.2.0 | |
| 8 | 8 | github.com/bnema/puregotk-webkit v0.0.15 | |
| 9 | 9 | github.com/charmbracelet/bubbles v1.0.0 | |
| @@ -23,10 +23,7 @@ require ( | |||
| 23 | 23 | gopkg.in/yaml.v3 v3.0.1 | |
| 24 | 24 | ) | |
| 25 | 25 | ||
| 26 | - | replace ( | |
| 27 | - | github.com/bnema/purego-sqlite => ../purego-sqlite | |
| 28 | - | github.com/ebitengine/purego => github.com/bnema/purego v0.0.0-20260323095903-91aa177a2704 | |
| 29 | - | ) | |
| 26 | + | replace github.com/ebitengine/purego => github.com/bnema/purego v0.0.0-20260323095903-91aa177a2704 | |
| 30 | 27 | ||
| 31 | 28 | require ( | |
| 32 | 29 | github.com/atotto/clipboard v0.1.4 // indirect | |
| @@ -3,7 +3,7 @@ module github.com/bnema/dumber | |||||
| 3 | go 1.26.1 | 3 | go 1.26.1 | ||
| 4 | 4 | ||||
| 5 | require ( | 5 | require ( | ||
| 6 | - | github.com/bnema/purego-sqlite v0.1.0 | 6 | + | github.com/bnema/purego-sqlite v0.1.1 |
| 7 | github.com/bnema/puregotk v0.2.0 | 7 | github.com/bnema/puregotk v0.2.0 | ||
| 8 | github.com/bnema/puregotk-webkit v0.0.15 | 8 | github.com/bnema/puregotk-webkit v0.0.15 | ||
| 9 | github.com/charmbracelet/bubbles v1.0.0 | 9 | github.com/charmbracelet/bubbles v1.0.0 | ||
| @@ -23,10 +23,7 @@ require ( | |||||
| 23 | gopkg.in/yaml.v3 v3.0.1 | 23 | gopkg.in/yaml.v3 v3.0.1 | ||
| 24 | ) | 24 | ) | ||
| 25 | 25 | ||||
| 26 | - | replace ( | 26 | + | replace github.com/ebitengine/purego => github.com/bnema/purego v0.0.0-20260323095903-91aa177a2704 |
| 27 | - | github.com/bnema/purego-sqlite => ../purego-sqlite | |||
| 28 | - | github.com/ebitengine/purego => github.com/bnema/purego v0.0.0-20260323095903-91aa177a2704 | |||
| 29 | - | ) | |||
| 30 | 27 | ||||
| 31 | require ( | 28 | require ( | ||
| 32 | github.com/atotto/clipboard v0.1.4 // indirect | 29 | github.com/atotto/clipboard v0.1.4 // indirect | ||
M go.sum +2 -0 generated file: collapsed
M internal/ui/component/omnibox.go +5 -4
| @@ -9,6 +9,11 @@ import ( | |||
| 9 | 9 | "time" | |
| 10 | 10 | "unicode/utf8" | |
| 11 | 11 | ||
| 12 | + | "github.com/bnema/puregotk/v4/gdk" | |
| 13 | + | "github.com/bnema/puregotk/v4/glib" | |
| 14 | + | "github.com/bnema/puregotk/v4/graphene" | |
| 15 | + | "github.com/bnema/puregotk/v4/gtk" | |
| 16 | + | ||
| 12 | 17 | "github.com/bnema/dumber/internal/application/usecase" | |
| 13 | 18 | "github.com/bnema/dumber/internal/domain/autocomplete" | |
| 14 | 19 | "github.com/bnema/dumber/internal/domain/entity" | |
| @@ -18,10 +23,6 @@ import ( | |||
| 18 | 23 | "github.com/bnema/dumber/internal/ui/input" | |
| 19 | 24 | "github.com/bnema/dumber/internal/ui/layout" | |
| 20 | 25 | "github.com/bnema/dumber/internal/ui/mainloop" | |
| 21 | - | "github.com/bnema/puregotk/v4/gdk" | |
| 22 | - | "github.com/bnema/puregotk/v4/glib" | |
| 23 | - | "github.com/bnema/puregotk/v4/graphene" | |
| 24 | - | "github.com/bnema/puregotk/v4/gtk" | |
| 25 | 26 | ) | |
| 26 | 27 | ||
| 27 | 28 | const ( | |
| @@ -9,6 +9,11 @@ import ( | |||||
| 9 | "time" | 9 | "time" | ||
| 10 | "unicode/utf8" | 10 | "unicode/utf8" | ||
| 11 | 11 | ||||
| 12 | + | "github.com/bnema/puregotk/v4/gdk" | |||
| 13 | + | "github.com/bnema/puregotk/v4/glib" | |||
| 14 | + | "github.com/bnema/puregotk/v4/graphene" | |||
| 15 | + | "github.com/bnema/puregotk/v4/gtk" | |||
| 16 | + | ||||
| 12 | "github.com/bnema/dumber/internal/application/usecase" | 17 | "github.com/bnema/dumber/internal/application/usecase" | ||
| 13 | "github.com/bnema/dumber/internal/domain/autocomplete" | 18 | "github.com/bnema/dumber/internal/domain/autocomplete" | ||
| 14 | "github.com/bnema/dumber/internal/domain/entity" | 19 | "github.com/bnema/dumber/internal/domain/entity" | ||
| @@ -18,10 +23,6 @@ import ( | |||||
| 18 | "github.com/bnema/dumber/internal/ui/input" | 23 | "github.com/bnema/dumber/internal/ui/input" | ||
| 19 | "github.com/bnema/dumber/internal/ui/layout" | 24 | "github.com/bnema/dumber/internal/ui/layout" | ||
| 20 | "github.com/bnema/dumber/internal/ui/mainloop" | 25 | "github.com/bnema/dumber/internal/ui/mainloop" | ||
| 21 | - | "github.com/bnema/puregotk/v4/gdk" | |||
| 22 | - | "github.com/bnema/puregotk/v4/glib" | |||
| 23 | - | "github.com/bnema/puregotk/v4/graphene" | |||
| 24 | - | "github.com/bnema/puregotk/v4/gtk" | |||
| 25 | ) | 26 | ) | ||
| 26 | 27 | ||||
| 27 | const ( | 28 | const ( | ||