refactor(logging): move logging setup under internal/adapters
- commit
- 2d1473e75c0ec04ea70c5c8f32dfe2fa14a93460
- author
- brice · · 2026-10-04 15:31 UTC
- committer
- brice · · 2026-10-04 15:36 UTC
- parent
- 6bb5000
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email - refs
- refactor/adapter-packages
44 files · +45 -44
M .hexcheck.yaml +1 -1
| @@ -2,7 +2,7 @@ version: 1 | |||
| 2 | 2 | components: | |
| 3 | 3 | core: { role: core, paths: [internal/core/**] } | |
| 4 | 4 | ports: { role: ports, paths: [internal/ports/**] } | |
| 5 | - | adapters: { role: adapter, paths: [internal/adapters/**, internal/logging/**] } | |
| 5 | + | adapters: { role: adapter, paths: [internal/adapters/**] } | |
| 6 | 6 | # app is the composition root: it wires adapters to core, like cmd. | |
| 7 | 7 | entrypoints: { role: entrypoint, paths: [cmd/**, internal/app/**, internal/cli/**] } | |
| 8 | 8 | generated: { role: ignore, paths: [internal/mocks/**] } | |
| @@ -2,7 +2,7 @@ version: 1 | |||||
| 2 | components: | 2 | components: | ||
| 3 | core: { role: core, paths: [internal/core/**] } | 3 | core: { role: core, paths: [internal/core/**] } | ||
| 4 | ports: { role: ports, paths: [internal/ports/**] } | 4 | ports: { role: ports, paths: [internal/ports/**] } | ||
| 5 | - | adapters: { role: adapter, paths: [internal/adapters/**, internal/logging/**] } | 5 | + | adapters: { role: adapter, paths: [internal/adapters/**] } |
| 6 | # app is the composition root: it wires adapters to core, like cmd. | 6 | # app is the composition root: it wires adapters to core, like cmd. | ||
| 7 | entrypoints: { role: entrypoint, paths: [cmd/**, internal/app/**, internal/cli/**] } | 7 | entrypoints: { role: entrypoint, paths: [cmd/**, internal/app/**, internal/cli/**] } | ||
| 8 | generated: { role: ignore, paths: [internal/mocks/**] } | 8 | generated: { role: ignore, paths: [internal/mocks/**] } | ||
M internal/adapters/config/watch_test.go +1 -1
| @@ -9,7 +9,7 @@ import ( | |||
| 9 | 9 | "testing" | |
| 10 | 10 | "time" | |
| 11 | 11 | ||
| 12 | - | "github.com/bnema/neferwl/internal/logging" | |
| 12 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 13 | 13 | "github.com/bnema/neferwl/internal/ports" | |
| 14 | 14 | ) | |
| 15 | 15 | ||
| @@ -9,7 +9,7 @@ import ( | |||||
| 9 | "testing" | 9 | "testing" | ||
| 10 | "time" | 10 | "time" | ||
| 11 | 11 | ||||
| 12 | - | "github.com/bnema/neferwl/internal/logging" | 12 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 13 | "github.com/bnema/neferwl/internal/ports" | 13 | "github.com/bnema/neferwl/internal/ports" | ||
| 14 | ) | 14 | ) | ||
| 15 | 15 | ||||
M internal/adapters/drm/lease_test.go +1 -1
| @@ -7,7 +7,7 @@ import ( | |||
| 7 | 7 | "testing" | |
| 8 | 8 | "unsafe" | |
| 9 | 9 | ||
| 10 | - | "github.com/bnema/neferwl/internal/logging" | |
| 10 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 11 | 11 | "github.com/stretchr/testify/mock" | |
| 12 | 12 | ) | |
| 13 | 13 | ||
| @@ -7,7 +7,7 @@ import ( | |||||
| 7 | "testing" | 7 | "testing" | ||
| 8 | "unsafe" | 8 | "unsafe" | ||
| 9 | 9 | ||||
| 10 | - | "github.com/bnema/neferwl/internal/logging" | 10 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 11 | "github.com/stretchr/testify/mock" | 11 | "github.com/stretchr/testify/mock" | ||
| 12 | ) | 12 | ) | ||
| 13 | 13 | ||||
M internal/adapters/headless/output_test.go +1 -1
| @@ -13,7 +13,7 @@ import ( | |||
| 13 | 13 | "testing" | |
| 14 | 14 | "time" | |
| 15 | 15 | ||
| 16 | - | "github.com/bnema/neferwl/internal/logging" | |
| 16 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 17 | 17 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | |
| 18 | 18 | "github.com/bnema/neferwl/internal/ports" | |
| 19 | 19 | "github.com/stretchr/testify/mock" | |
| @@ -13,7 +13,7 @@ import ( | |||||
| 13 | "testing" | 13 | "testing" | ||
| 14 | "time" | 14 | "time" | ||
| 15 | 15 | ||||
| 16 | - | "github.com/bnema/neferwl/internal/logging" | 16 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 17 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | 17 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | ||
| 18 | "github.com/bnema/neferwl/internal/ports" | 18 | "github.com/bnema/neferwl/internal/ports" | ||
| 19 | "github.com/stretchr/testify/mock" | 19 | "github.com/stretchr/testify/mock" | ||
M internal/adapters/headless/security_test.go +1 -1
| @@ -10,7 +10,7 @@ import ( | |||
| 10 | 10 | "testing" | |
| 11 | 11 | "time" | |
| 12 | 12 | ||
| 13 | - | "github.com/bnema/neferwl/internal/logging" | |
| 13 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 14 | 14 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | |
| 15 | 15 | "github.com/bnema/neferwl/internal/ports" | |
| 16 | 16 | "github.com/stretchr/testify/mock" | |
| @@ -10,7 +10,7 @@ import ( | |||||
| 10 | "testing" | 10 | "testing" | ||
| 11 | "time" | 11 | "time" | ||
| 12 | 12 | ||||
| 13 | - | "github.com/bnema/neferwl/internal/logging" | 13 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 14 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | 14 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | ||
| 15 | "github.com/bnema/neferwl/internal/ports" | 15 | "github.com/bnema/neferwl/internal/ports" | ||
| 16 | "github.com/stretchr/testify/mock" | 16 | "github.com/stretchr/testify/mock" | ||
M internal/adapters/headlessinput/input_test.go +4 -3
| @@ -2,11 +2,12 @@ package headlessinput | |||
| 2 | 2 | ||
| 3 | 3 | import ( | |
| 4 | 4 | "context" | |
| 5 | - | "github.com/bnema/neferwl/internal/adapters/xkb" | |
| 6 | - | "github.com/bnema/neferwl/internal/logging" | |
| 7 | - | "github.com/bnema/neferwl/internal/ports" | |
| 8 | 5 | "strings" | |
| 9 | 6 | "testing" | |
| 7 | + | ||
| 8 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 9 | + | "github.com/bnema/neferwl/internal/adapters/xkb" | |
| 10 | + | "github.com/bnema/neferwl/internal/ports" | |
| 10 | 11 | ) | |
| 11 | 12 | ||
| 12 | 13 | func TestScript(t *testing.T) { | |
| @@ -2,11 +2,12 @@ package headlessinput | |||||
| 2 | 2 | ||||
| 3 | import ( | 3 | import ( | ||
| 4 | "context" | 4 | "context" | ||
| 5 | - | "github.com/bnema/neferwl/internal/adapters/xkb" | |||
| 6 | - | "github.com/bnema/neferwl/internal/logging" | |||
| 7 | - | "github.com/bnema/neferwl/internal/ports" | |||
| 8 | "strings" | 5 | "strings" | ||
| 9 | "testing" | 6 | "testing" | ||
| 7 | + | ||||
| 8 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |||
| 9 | + | "github.com/bnema/neferwl/internal/adapters/xkb" | |||
| 10 | + | "github.com/bnema/neferwl/internal/ports" | |||
| 10 | ) | 11 | ) | ||
| 11 | 12 | ||||
| 12 | func TestScript(t *testing.T) { | 13 | func TestScript(t *testing.T) { | ||
M internal/adapters/headlessinput/security_test.go +1 -1
| @@ -10,8 +10,8 @@ import ( | |||
| 10 | 10 | "testing" | |
| 11 | 11 | "time" | |
| 12 | 12 | ||
| 13 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 13 | 14 | "github.com/bnema/neferwl/internal/adapters/xkb" | |
| 14 | - | "github.com/bnema/neferwl/internal/logging" | |
| 15 | 15 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | |
| 16 | 16 | "github.com/bnema/neferwl/internal/ports" | |
| 17 | 17 | "github.com/bnema/zerowrap" | |
| @@ -10,8 +10,8 @@ import ( | |||||
| 10 | "testing" | 10 | "testing" | ||
| 11 | "time" | 11 | "time" | ||
| 12 | 12 | ||||
| 13 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |||
| 13 | "github.com/bnema/neferwl/internal/adapters/xkb" | 14 | "github.com/bnema/neferwl/internal/adapters/xkb" | ||
| 14 | - | "github.com/bnema/neferwl/internal/logging" | |||
| 15 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | 15 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | ||
| 16 | "github.com/bnema/neferwl/internal/ports" | 16 | "github.com/bnema/neferwl/internal/ports" | ||
| 17 | "github.com/bnema/zerowrap" | 17 | "github.com/bnema/zerowrap" | ||
M internal/adapters/launcher/launcher_test.go +1 -1
| @@ -9,7 +9,7 @@ import ( | |||
| 9 | 9 | "testing" | |
| 10 | 10 | "time" | |
| 11 | 11 | ||
| 12 | - | "github.com/bnema/neferwl/internal/logging" | |
| 12 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 13 | 13 | "github.com/bnema/neferwl/internal/ports" | |
| 14 | 14 | ) | |
| 15 | 15 | ||
| @@ -9,7 +9,7 @@ import ( | |||||
| 9 | "testing" | 9 | "testing" | ||
| 10 | "time" | 10 | "time" | ||
| 11 | 11 | ||||
| 12 | - | "github.com/bnema/neferwl/internal/logging" | 12 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 13 | "github.com/bnema/neferwl/internal/ports" | 13 | "github.com/bnema/neferwl/internal/ports" | ||
| 14 | ) | 14 | ) | ||
| 15 | 15 | ||||
M internal/adapters/launcher/notify_test.go +1 -1
| @@ -7,7 +7,7 @@ import ( | |||
| 7 | 7 | "testing" | |
| 8 | 8 | "time" | |
| 9 | 9 | ||
| 10 | - | "github.com/bnema/neferwl/internal/logging" | |
| 10 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 11 | 11 | ) | |
| 12 | 12 | ||
| 13 | 13 | // notify-send runs with the child environment and the summary and body as | |
| @@ -7,7 +7,7 @@ import ( | |||||
| 7 | "testing" | 7 | "testing" | ||
| 8 | "time" | 8 | "time" | ||
| 9 | 9 | ||||
| 10 | - | "github.com/bnema/neferwl/internal/logging" | 10 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 11 | ) | 11 | ) | ||
| 12 | 12 | ||||
| 13 | // notify-send runs with the child environment and the summary and body as | 13 | // notify-send runs with the child environment and the summary and body as | ||
M internal/adapters/launcher/security_test.go +1 -1
| @@ -6,8 +6,8 @@ import ( | |||
| 6 | 6 | "path/filepath" | |
| 7 | 7 | "testing" | |
| 8 | 8 | ||
| 9 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 9 | 10 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | |
| 10 | - | "github.com/bnema/neferwl/internal/logging" | |
| 11 | 11 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | |
| 12 | 12 | "github.com/bnema/neferwl/internal/ports" | |
| 13 | 13 | ) | |
| @@ -6,8 +6,8 @@ import ( | |||||
| 6 | "path/filepath" | 6 | "path/filepath" | ||
| 7 | "testing" | 7 | "testing" | ||
| 8 | 8 | ||||
| 9 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |||
| 9 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | 10 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | ||
| 10 | - | "github.com/bnema/neferwl/internal/logging" | |||
| 11 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | 11 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | ||
| 12 | "github.com/bnema/neferwl/internal/ports" | 12 | "github.com/bnema/neferwl/internal/ports" | ||
| 13 | ) | 13 | ) | ||
M internal/adapters/launcher/session_test.go +1 -1
| @@ -9,7 +9,7 @@ import ( | |||
| 9 | 9 | "testing" | |
| 10 | 10 | "time" | |
| 11 | 11 | ||
| 12 | - | "github.com/bnema/neferwl/internal/logging" | |
| 12 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 13 | 13 | ) | |
| 14 | 14 | ||
| 15 | 15 | // The session commands run with the child environment and the right | |
| @@ -9,7 +9,7 @@ import ( | |||||
| 9 | "testing" | 9 | "testing" | ||
| 10 | "time" | 10 | "time" | ||
| 11 | 11 | ||||
| 12 | - | "github.com/bnema/neferwl/internal/logging" | 12 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 13 | ) | 13 | ) | ||
| 14 | 14 | ||||
| 15 | // The session commands run with the child environment and the right | 15 | // The session commands run with the child environment and the right | ||
R internal/logging/logging.go → internal/adapters/logging/logging.go +0 -0 renamed, 100% similar
renamed, 100% similar
R internal/logging/logging_test.go → internal/adapters/logging/logging_test.go +0 -0 renamed, 100% similar
renamed, 100% similar
M internal/adapters/sched/sched_test.go +1 -1
| @@ -5,7 +5,7 @@ import ( | |||
| 5 | 5 | "runtime" | |
| 6 | 6 | "testing" | |
| 7 | 7 | ||
| 8 | - | "github.com/bnema/neferwl/internal/logging" | |
| 8 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 9 | 9 | ) | |
| 10 | 10 | ||
| 11 | 11 | func TestRealtime(t *testing.T) { | |
| @@ -5,7 +5,7 @@ import ( | |||||
| 5 | "runtime" | 5 | "runtime" | ||
| 6 | "testing" | 6 | "testing" | ||
| 7 | 7 | ||||
| 8 | - | "github.com/bnema/neferwl/internal/logging" | 8 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 9 | ) | 9 | ) | ||
| 10 | 10 | ||||
| 11 | func TestRealtime(t *testing.T) { | 11 | func TestRealtime(t *testing.T) { | ||
M internal/adapters/screensaver/screensaver_test.go +1 -1
| @@ -11,7 +11,7 @@ import ( | |||
| 11 | 11 | "testing" | |
| 12 | 12 | "time" | |
| 13 | 13 | ||
| 14 | - | "github.com/bnema/neferwl/internal/logging" | |
| 14 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 15 | 15 | "github.com/godbus/dbus/v5" | |
| 16 | 16 | ) | |
| 17 | 17 | ||
| @@ -11,7 +11,7 @@ import ( | |||||
| 11 | "testing" | 11 | "testing" | ||
| 12 | "time" | 12 | "time" | ||
| 13 | 13 | ||||
| 14 | - | "github.com/bnema/neferwl/internal/logging" | 14 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 15 | "github.com/godbus/dbus/v5" | 15 | "github.com/godbus/dbus/v5" | ||
| 16 | ) | 16 | ) | ||
| 17 | 17 | ||||
M internal/adapters/wayland/capture_admission_test.go +1 -1
| @@ -7,7 +7,7 @@ import ( | |||
| 7 | 7 | ||
| 8 | 8 | ext "github.com/bnema/go-wayland-bindings/server/extimagecopycapture" | |
| 9 | 9 | wlr "github.com/bnema/go-wayland-bindings/server/wlrscreencopy" | |
| 10 | - | "github.com/bnema/neferwl/internal/logging" | |
| 10 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 11 | 11 | "github.com/bnema/neferwl/internal/ports" | |
| 12 | 12 | "github.com/bnema/wlturbo" | |
| 13 | 13 | "github.com/bnema/zerowrap" | |
| @@ -7,7 +7,7 @@ import ( | |||||
| 7 | 7 | ||||
| 8 | ext "github.com/bnema/go-wayland-bindings/server/extimagecopycapture" | 8 | ext "github.com/bnema/go-wayland-bindings/server/extimagecopycapture" | ||
| 9 | wlr "github.com/bnema/go-wayland-bindings/server/wlrscreencopy" | 9 | wlr "github.com/bnema/go-wayland-bindings/server/wlrscreencopy" | ||
| 10 | - | "github.com/bnema/neferwl/internal/logging" | 10 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 11 | "github.com/bnema/neferwl/internal/ports" | 11 | "github.com/bnema/neferwl/internal/ports" | ||
| 12 | "github.com/bnema/wlturbo" | 12 | "github.com/bnema/wlturbo" | ||
| 13 | "github.com/bnema/zerowrap" | 13 | "github.com/bnema/zerowrap" | ||
M internal/adapters/wayland/colormanagement_test.go +1 -1
| @@ -6,7 +6,7 @@ import ( | |||
| 6 | 6 | ||
| 7 | 7 | cm "github.com/bnema/go-wayland-bindings/server/colormanagement" | |
| 8 | 8 | "github.com/bnema/go-wayland-bindings/server/wayland" | |
| 9 | - | "github.com/bnema/neferwl/internal/logging" | |
| 9 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 10 | 10 | "github.com/bnema/neferwl/internal/ports" | |
| 11 | 11 | "github.com/bnema/wlturbo" | |
| 12 | 12 | ) | |
| @@ -6,7 +6,7 @@ import ( | |||||
| 6 | 6 | ||||
| 7 | cm "github.com/bnema/go-wayland-bindings/server/colormanagement" | 7 | cm "github.com/bnema/go-wayland-bindings/server/colormanagement" | ||
| 8 | "github.com/bnema/go-wayland-bindings/server/wayland" | 8 | "github.com/bnema/go-wayland-bindings/server/wayland" | ||
| 9 | - | "github.com/bnema/neferwl/internal/logging" | 9 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 10 | "github.com/bnema/neferwl/internal/ports" | 10 | "github.com/bnema/neferwl/internal/ports" | ||
| 11 | "github.com/bnema/wlturbo" | 11 | "github.com/bnema/wlturbo" | ||
| 12 | ) | 12 | ) | ||
M internal/adapters/wayland/commands_test.go +1 -1
| @@ -6,7 +6,7 @@ import ( | |||
| 6 | 6 | "testing" | |
| 7 | 7 | "time" | |
| 8 | 8 | ||
| 9 | - | "github.com/bnema/neferwl/internal/logging" | |
| 9 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 10 | 10 | "github.com/bnema/neferwl/internal/ports" | |
| 11 | 11 | ) | |
| 12 | 12 | ||
| @@ -6,7 +6,7 @@ import ( | |||||
| 6 | "testing" | 6 | "testing" | ||
| 7 | "time" | 7 | "time" | ||
| 8 | 8 | ||||
| 9 | - | "github.com/bnema/neferwl/internal/logging" | 9 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 10 | "github.com/bnema/neferwl/internal/ports" | 10 | "github.com/bnema/neferwl/internal/ports" | ||
| 11 | ) | 11 | ) | ||
| 12 | 12 | ||||
M internal/adapters/wayland/commit_hotpath_bench_test.go +1 -1
| @@ -9,7 +9,7 @@ import ( | |||
| 9 | 9 | "github.com/bnema/go-wayland-bindings/server/fifo" | |
| 10 | 10 | "github.com/bnema/go-wayland-bindings/server/viewporter" | |
| 11 | 11 | "github.com/bnema/go-wayland-bindings/server/wayland" | |
| 12 | - | "github.com/bnema/neferwl/internal/logging" | |
| 12 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 13 | 13 | "github.com/bnema/wlturbo" | |
| 14 | 14 | "golang.org/x/sys/unix" | |
| 15 | 15 | ) | |
| @@ -9,7 +9,7 @@ import ( | |||||
| 9 | "github.com/bnema/go-wayland-bindings/server/fifo" | 9 | "github.com/bnema/go-wayland-bindings/server/fifo" | ||
| 10 | "github.com/bnema/go-wayland-bindings/server/viewporter" | 10 | "github.com/bnema/go-wayland-bindings/server/viewporter" | ||
| 11 | "github.com/bnema/go-wayland-bindings/server/wayland" | 11 | "github.com/bnema/go-wayland-bindings/server/wayland" | ||
| 12 | - | "github.com/bnema/neferwl/internal/logging" | 12 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 13 | "github.com/bnema/wlturbo" | 13 | "github.com/bnema/wlturbo" | ||
| 14 | "golang.org/x/sys/unix" | 14 | "golang.org/x/sys/unix" | ||
| 15 | ) | 15 | ) | ||
M internal/adapters/wayland/cursor_test.go +1 -1
| @@ -7,7 +7,7 @@ import ( | |||
| 7 | 7 | ||
| 8 | 8 | "github.com/bnema/go-wayland-bindings/server/cursorshape" | |
| 9 | 9 | "github.com/bnema/go-wayland-bindings/server/wayland" | |
| 10 | - | "github.com/bnema/neferwl/internal/logging" | |
| 10 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 11 | 11 | "github.com/bnema/neferwl/internal/ports" | |
| 12 | 12 | "golang.org/x/sys/unix" | |
| 13 | 13 | ) | |
| @@ -7,7 +7,7 @@ import ( | |||||
| 7 | 7 | ||||
| 8 | "github.com/bnema/go-wayland-bindings/server/cursorshape" | 8 | "github.com/bnema/go-wayland-bindings/server/cursorshape" | ||
| 9 | "github.com/bnema/go-wayland-bindings/server/wayland" | 9 | "github.com/bnema/go-wayland-bindings/server/wayland" | ||
| 10 | - | "github.com/bnema/neferwl/internal/logging" | 10 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 11 | "github.com/bnema/neferwl/internal/ports" | 11 | "github.com/bnema/neferwl/internal/ports" | ||
| 12 | "golang.org/x/sys/unix" | 12 | "golang.org/x/sys/unix" | ||
| 13 | ) | 13 | ) | ||
M internal/adapters/wayland/dmabuf_test.go +1 -1
| @@ -7,7 +7,7 @@ import ( | |||
| 7 | 7 | "time" | |
| 8 | 8 | ||
| 9 | 9 | "github.com/bnema/go-wayland-bindings/server/linuxdmabuf" | |
| 10 | - | "github.com/bnema/neferwl/internal/logging" | |
| 10 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 11 | 11 | "github.com/bnema/neferwl/internal/ports" | |
| 12 | 12 | "github.com/bnema/wlturbo" | |
| 13 | 13 | "golang.org/x/sys/unix" | |
| @@ -7,7 +7,7 @@ import ( | |||||
| 7 | "time" | 7 | "time" | ||
| 8 | 8 | ||||
| 9 | "github.com/bnema/go-wayland-bindings/server/linuxdmabuf" | 9 | "github.com/bnema/go-wayland-bindings/server/linuxdmabuf" | ||
| 10 | - | "github.com/bnema/neferwl/internal/logging" | 10 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 11 | "github.com/bnema/neferwl/internal/ports" | 11 | "github.com/bnema/neferwl/internal/ports" | ||
| 12 | "github.com/bnema/wlturbo" | 12 | "github.com/bnema/wlturbo" | ||
| 13 | "golang.org/x/sys/unix" | 13 | "golang.org/x/sys/unix" | ||
M internal/adapters/wayland/drmlease_test.go +1 -1
| @@ -8,7 +8,7 @@ import ( | |||
| 8 | 8 | "time" | |
| 9 | 9 | ||
| 10 | 10 | dl "github.com/bnema/go-wayland-bindings/server/drmlease" | |
| 11 | - | "github.com/bnema/neferwl/internal/logging" | |
| 11 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 12 | 12 | "github.com/bnema/neferwl/internal/ports" | |
| 13 | 13 | "github.com/bnema/purego-libwayland/server" | |
| 14 | 14 | "github.com/bnema/wlturbo" | |
| @@ -8,7 +8,7 @@ import ( | |||||
| 8 | "time" | 8 | "time" | ||
| 9 | 9 | ||||
| 10 | dl "github.com/bnema/go-wayland-bindings/server/drmlease" | 10 | dl "github.com/bnema/go-wayland-bindings/server/drmlease" | ||
| 11 | - | "github.com/bnema/neferwl/internal/logging" | 11 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 12 | "github.com/bnema/neferwl/internal/ports" | 12 | "github.com/bnema/neferwl/internal/ports" | ||
| 13 | "github.com/bnema/purego-libwayland/server" | 13 | "github.com/bnema/purego-libwayland/server" | ||
| 14 | "github.com/bnema/wlturbo" | 14 | "github.com/bnema/wlturbo" | ||
M internal/adapters/wayland/idle_test.go +1 -1
| @@ -8,7 +8,7 @@ import ( | |||
| 8 | 8 | "github.com/bnema/go-wayland-bindings/server/extidlenotify" | |
| 9 | 9 | "github.com/bnema/go-wayland-bindings/server/idleinhibit" | |
| 10 | 10 | "github.com/bnema/go-wayland-bindings/server/wlroutputpowermanagement" | |
| 11 | - | "github.com/bnema/neferwl/internal/logging" | |
| 11 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 12 | 12 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | |
| 13 | 13 | "github.com/bnema/neferwl/internal/ports" | |
| 14 | 14 | "github.com/bnema/wlturbo" | |
| @@ -8,7 +8,7 @@ import ( | |||||
| 8 | "github.com/bnema/go-wayland-bindings/server/extidlenotify" | 8 | "github.com/bnema/go-wayland-bindings/server/extidlenotify" | ||
| 9 | "github.com/bnema/go-wayland-bindings/server/idleinhibit" | 9 | "github.com/bnema/go-wayland-bindings/server/idleinhibit" | ||
| 10 | "github.com/bnema/go-wayland-bindings/server/wlroutputpowermanagement" | 10 | "github.com/bnema/go-wayland-bindings/server/wlroutputpowermanagement" | ||
| 11 | - | "github.com/bnema/neferwl/internal/logging" | 11 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 12 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | 12 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | ||
| 13 | "github.com/bnema/neferwl/internal/ports" | 13 | "github.com/bnema/neferwl/internal/ports" | ||
| 14 | "github.com/bnema/wlturbo" | 14 | "github.com/bnema/wlturbo" | ||
M internal/adapters/wayland/imagecapture_test.go +1 -1
| @@ -16,8 +16,8 @@ import ( | |||
| 16 | 16 | "github.com/bnema/go-wayland-bindings/server/wayland" | |
| 17 | 17 | "github.com/bnema/go-wayland-bindings/server/wlrlayershell" | |
| 18 | 18 | wlr "github.com/bnema/go-wayland-bindings/server/wlrscreencopy" | |
| 19 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 19 | 20 | "github.com/bnema/neferwl/internal/adapters/wayland/imagecapture" | |
| 20 | - | "github.com/bnema/neferwl/internal/logging" | |
| 21 | 21 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | |
| 22 | 22 | "github.com/bnema/neferwl/internal/ports" | |
| 23 | 23 | "github.com/bnema/purego-libwayland/server" | |
| @@ -16,8 +16,8 @@ import ( | |||||
| 16 | "github.com/bnema/go-wayland-bindings/server/wayland" | 16 | "github.com/bnema/go-wayland-bindings/server/wayland" | ||
| 17 | "github.com/bnema/go-wayland-bindings/server/wlrlayershell" | 17 | "github.com/bnema/go-wayland-bindings/server/wlrlayershell" | ||
| 18 | wlr "github.com/bnema/go-wayland-bindings/server/wlrscreencopy" | 18 | wlr "github.com/bnema/go-wayland-bindings/server/wlrscreencopy" | ||
| 19 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |||
| 19 | "github.com/bnema/neferwl/internal/adapters/wayland/imagecapture" | 20 | "github.com/bnema/neferwl/internal/adapters/wayland/imagecapture" | ||
| 20 | - | "github.com/bnema/neferwl/internal/logging" | |||
| 21 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | 21 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | ||
| 22 | "github.com/bnema/neferwl/internal/ports" | 22 | "github.com/bnema/neferwl/internal/ports" | ||
| 23 | "github.com/bnema/purego-libwayland/server" | 23 | "github.com/bnema/purego-libwayland/server" | ||
M internal/adapters/wayland/keyboard_test.go +1 -1
| @@ -11,7 +11,7 @@ import ( | |||
| 11 | 11 | "time" | |
| 12 | 12 | ||
| 13 | 13 | "github.com/bnema/go-wayland-bindings/server/wayland" | |
| 14 | - | "github.com/bnema/neferwl/internal/logging" | |
| 14 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 15 | 15 | "github.com/bnema/neferwl/internal/ports" | |
| 16 | 16 | "github.com/bnema/wlturbo" | |
| 17 | 17 | "golang.org/x/sys/unix" | |
| @@ -11,7 +11,7 @@ import ( | |||||
| 11 | "time" | 11 | "time" | ||
| 12 | 12 | ||||
| 13 | "github.com/bnema/go-wayland-bindings/server/wayland" | 13 | "github.com/bnema/go-wayland-bindings/server/wayland" | ||
| 14 | - | "github.com/bnema/neferwl/internal/logging" | 14 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 15 | "github.com/bnema/neferwl/internal/ports" | 15 | "github.com/bnema/neferwl/internal/ports" | ||
| 16 | "github.com/bnema/wlturbo" | 16 | "github.com/bnema/wlturbo" | ||
| 17 | "golang.org/x/sys/unix" | 17 | "golang.org/x/sys/unix" | ||
M internal/adapters/wayland/outputmanagement_test.go +1 -1
| @@ -6,7 +6,7 @@ import ( | |||
| 6 | 6 | "time" | |
| 7 | 7 | ||
| 8 | 8 | wlr "github.com/bnema/go-wayland-bindings/server/wlroutputmanagement" | |
| 9 | - | "github.com/bnema/neferwl/internal/logging" | |
| 9 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 10 | 10 | "github.com/bnema/neferwl/internal/ports" | |
| 11 | 11 | "github.com/bnema/wlturbo" | |
| 12 | 12 | ) | |
| @@ -6,7 +6,7 @@ import ( | |||||
| 6 | "time" | 6 | "time" | ||
| 7 | 7 | ||||
| 8 | wlr "github.com/bnema/go-wayland-bindings/server/wlroutputmanagement" | 8 | wlr "github.com/bnema/go-wayland-bindings/server/wlroutputmanagement" | ||
| 9 | - | "github.com/bnema/neferwl/internal/logging" | 9 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 10 | "github.com/bnema/neferwl/internal/ports" | 10 | "github.com/bnema/neferwl/internal/ports" | ||
| 11 | "github.com/bnema/wlturbo" | 11 | "github.com/bnema/wlturbo" | ||
| 12 | ) | 12 | ) | ||
M internal/adapters/wayland/presentation_test.go +1 -1
| @@ -8,7 +8,7 @@ import ( | |||
| 8 | 8 | ||
| 9 | 9 | "github.com/bnema/go-wayland-bindings/server/presentationtime" | |
| 10 | 10 | "github.com/bnema/go-wayland-bindings/server/wayland" | |
| 11 | - | "github.com/bnema/neferwl/internal/logging" | |
| 11 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 12 | 12 | "github.com/bnema/neferwl/internal/ports" | |
| 13 | 13 | "github.com/bnema/wlturbo" | |
| 14 | 14 | "golang.org/x/sys/unix" | |
| @@ -8,7 +8,7 @@ import ( | |||||
| 8 | 8 | ||||
| 9 | "github.com/bnema/go-wayland-bindings/server/presentationtime" | 9 | "github.com/bnema/go-wayland-bindings/server/presentationtime" | ||
| 10 | "github.com/bnema/go-wayland-bindings/server/wayland" | 10 | "github.com/bnema/go-wayland-bindings/server/wayland" | ||
| 11 | - | "github.com/bnema/neferwl/internal/logging" | 11 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 12 | "github.com/bnema/neferwl/internal/ports" | 12 | "github.com/bnema/neferwl/internal/ports" | ||
| 13 | "github.com/bnema/wlturbo" | 13 | "github.com/bnema/wlturbo" | ||
| 14 | "golang.org/x/sys/unix" | 14 | "golang.org/x/sys/unix" | ||
M internal/adapters/wayland/scale_test.go +1 -1
| @@ -10,7 +10,7 @@ import ( | |||
| 10 | 10 | "github.com/bnema/go-wayland-bindings/server/viewporter" | |
| 11 | 11 | "github.com/bnema/go-wayland-bindings/server/wayland" | |
| 12 | 12 | "github.com/bnema/go-wayland-bindings/server/xdgshell" | |
| 13 | - | "github.com/bnema/neferwl/internal/logging" | |
| 13 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 14 | 14 | "github.com/bnema/neferwl/internal/ports" | |
| 15 | 15 | "github.com/bnema/wlturbo" | |
| 16 | 16 | "golang.org/x/sys/unix" | |
| @@ -10,7 +10,7 @@ import ( | |||||
| 10 | "github.com/bnema/go-wayland-bindings/server/viewporter" | 10 | "github.com/bnema/go-wayland-bindings/server/viewporter" | ||
| 11 | "github.com/bnema/go-wayland-bindings/server/wayland" | 11 | "github.com/bnema/go-wayland-bindings/server/wayland" | ||
| 12 | "github.com/bnema/go-wayland-bindings/server/xdgshell" | 12 | "github.com/bnema/go-wayland-bindings/server/xdgshell" | ||
| 13 | - | "github.com/bnema/neferwl/internal/logging" | 13 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 14 | "github.com/bnema/neferwl/internal/ports" | 14 | "github.com/bnema/neferwl/internal/ports" | ||
| 15 | "github.com/bnema/wlturbo" | 15 | "github.com/bnema/wlturbo" | ||
| 16 | "golang.org/x/sys/unix" | 16 | "golang.org/x/sys/unix" | ||
M internal/adapters/wayland/screencopy_test.go +1 -1
| @@ -15,7 +15,7 @@ import ( | |||
| 15 | 15 | ||
| 16 | 16 | "github.com/bnema/go-wayland-bindings/server/wayland" | |
| 17 | 17 | wlr "github.com/bnema/go-wayland-bindings/server/wlrscreencopy" | |
| 18 | - | "github.com/bnema/neferwl/internal/logging" | |
| 18 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 19 | 19 | "github.com/bnema/neferwl/internal/ports" | |
| 20 | 20 | "github.com/bnema/wlturbo" | |
| 21 | 21 | "golang.org/x/sys/unix" | |
| @@ -15,7 +15,7 @@ import ( | |||||
| 15 | 15 | ||||
| 16 | "github.com/bnema/go-wayland-bindings/server/wayland" | 16 | "github.com/bnema/go-wayland-bindings/server/wayland" | ||
| 17 | wlr "github.com/bnema/go-wayland-bindings/server/wlrscreencopy" | 17 | wlr "github.com/bnema/go-wayland-bindings/server/wlrscreencopy" | ||
| 18 | - | "github.com/bnema/neferwl/internal/logging" | 18 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 19 | "github.com/bnema/neferwl/internal/ports" | 19 | "github.com/bnema/neferwl/internal/ports" | ||
| 20 | "github.com/bnema/wlturbo" | 20 | "github.com/bnema/wlturbo" | ||
| 21 | "golang.org/x/sys/unix" | 21 | "golang.org/x/sys/unix" | ||
M internal/adapters/wayland/securitycontext_test.go +1 -1
| @@ -10,7 +10,7 @@ import ( | |||
| 10 | 10 | "time" | |
| 11 | 11 | ||
| 12 | 12 | "github.com/bnema/go-wayland-bindings/server/securitycontext" | |
| 13 | - | "github.com/bnema/neferwl/internal/logging" | |
| 13 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 14 | 14 | "github.com/bnema/wlturbo" | |
| 15 | 15 | "golang.org/x/sys/unix" | |
| 16 | 16 | ) | |
| @@ -10,7 +10,7 @@ import ( | |||||
| 10 | "time" | 10 | "time" | ||
| 11 | 11 | ||||
| 12 | "github.com/bnema/go-wayland-bindings/server/securitycontext" | 12 | "github.com/bnema/go-wayland-bindings/server/securitycontext" | ||
| 13 | - | "github.com/bnema/neferwl/internal/logging" | 13 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 14 | "github.com/bnema/wlturbo" | 14 | "github.com/bnema/wlturbo" | ||
| 15 | "golang.org/x/sys/unix" | 15 | "golang.org/x/sys/unix" | ||
| 16 | ) | 16 | ) | ||
M internal/adapters/wayland/server_test.go +1 -1
| @@ -14,7 +14,7 @@ import ( | |||
| 14 | 14 | ||
| 15 | 15 | "github.com/bnema/neferwl/internal/ports" | |
| 16 | 16 | ||
| 17 | - | "github.com/bnema/neferwl/internal/logging" | |
| 17 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 18 | 18 | ) | |
| 19 | 19 | ||
| 20 | 20 | func TestWaylandInfo(t *testing.T) { | |
| @@ -14,7 +14,7 @@ import ( | |||||
| 14 | 14 | ||||
| 15 | "github.com/bnema/neferwl/internal/ports" | 15 | "github.com/bnema/neferwl/internal/ports" | ||
| 16 | 16 | ||||
| 17 | - | "github.com/bnema/neferwl/internal/logging" | 17 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 18 | ) | 18 | ) | ||
| 19 | 19 | ||||
| 20 | func TestWaylandInfo(t *testing.T) { | 20 | func TestWaylandInfo(t *testing.T) { | ||
M internal/adapters/wayland/session_lock_barrier_test.go +1 -1
| @@ -9,8 +9,8 @@ import ( | |||
| 9 | 9 | "time" | |
| 10 | 10 | ||
| 11 | 11 | "github.com/bnema/neferwl/internal/adapters/capture" | |
| 12 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 12 | 13 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | |
| 13 | - | "github.com/bnema/neferwl/internal/logging" | |
| 14 | 14 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | |
| 15 | 15 | "github.com/bnema/neferwl/internal/ports" | |
| 16 | 16 | "github.com/stretchr/testify/mock" | |
| @@ -9,8 +9,8 @@ import ( | |||||
| 9 | "time" | 9 | "time" | ||
| 10 | 10 | ||||
| 11 | "github.com/bnema/neferwl/internal/adapters/capture" | 11 | "github.com/bnema/neferwl/internal/adapters/capture" | ||
| 12 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |||
| 12 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | 13 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | ||
| 13 | - | "github.com/bnema/neferwl/internal/logging" | |||
| 14 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | 14 | portsmocks "github.com/bnema/neferwl/internal/mocks/ports" | ||
| 15 | "github.com/bnema/neferwl/internal/ports" | 15 | "github.com/bnema/neferwl/internal/ports" | ||
| 16 | "github.com/stretchr/testify/mock" | 16 | "github.com/stretchr/testify/mock" | ||
M internal/adapters/wayland/session_lock_input_epoch_test.go +1 -1
| @@ -8,8 +8,8 @@ import ( | |||
| 8 | 8 | "time" | |
| 9 | 9 | ||
| 10 | 10 | "github.com/bnema/go-wayland-bindings/server/wayland" | |
| 11 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 11 | 12 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | |
| 12 | - | "github.com/bnema/neferwl/internal/logging" | |
| 13 | 13 | "github.com/bnema/neferwl/internal/ports" | |
| 14 | 14 | "github.com/bnema/wlturbo" | |
| 15 | 15 | "github.com/bnema/wlturbo/protocol/core" | |
| @@ -8,8 +8,8 @@ import ( | |||||
| 8 | "time" | 8 | "time" | ||
| 9 | 9 | ||||
| 10 | "github.com/bnema/go-wayland-bindings/server/wayland" | 10 | "github.com/bnema/go-wayland-bindings/server/wayland" | ||
| 11 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |||
| 11 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | 12 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | ||
| 12 | - | "github.com/bnema/neferwl/internal/logging" | |||
| 13 | "github.com/bnema/neferwl/internal/ports" | 13 | "github.com/bnema/neferwl/internal/ports" | ||
| 14 | "github.com/bnema/wlturbo" | 14 | "github.com/bnema/wlturbo" | ||
| 15 | "github.com/bnema/wlturbo/protocol/core" | 15 | "github.com/bnema/wlturbo/protocol/core" | ||
M internal/adapters/wayland/session_lock_lifecycle_test.go +1 -1
| @@ -10,8 +10,8 @@ import ( | |||
| 10 | 10 | "github.com/bnema/go-wayland-bindings/server/drmlease" | |
| 11 | 11 | serverlock "github.com/bnema/go-wayland-bindings/server/extsessionlock" | |
| 12 | 12 | "github.com/bnema/go-wayland-bindings/server/wayland" | |
| 13 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 13 | 14 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | |
| 14 | - | "github.com/bnema/neferwl/internal/logging" | |
| 15 | 15 | "github.com/bnema/neferwl/internal/ports" | |
| 16 | 16 | "github.com/bnema/wlturbo" | |
| 17 | 17 | "github.com/bnema/wlturbo/protocol/core" | |
| @@ -10,8 +10,8 @@ import ( | |||||
| 10 | "github.com/bnema/go-wayland-bindings/server/drmlease" | 10 | "github.com/bnema/go-wayland-bindings/server/drmlease" | ||
| 11 | serverlock "github.com/bnema/go-wayland-bindings/server/extsessionlock" | 11 | serverlock "github.com/bnema/go-wayland-bindings/server/extsessionlock" | ||
| 12 | "github.com/bnema/go-wayland-bindings/server/wayland" | 12 | "github.com/bnema/go-wayland-bindings/server/wayland" | ||
| 13 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |||
| 13 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | 14 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | ||
| 14 | - | "github.com/bnema/neferwl/internal/logging" | |||
| 15 | "github.com/bnema/neferwl/internal/ports" | 15 | "github.com/bnema/neferwl/internal/ports" | ||
| 16 | "github.com/bnema/wlturbo" | 16 | "github.com/bnema/wlturbo" | ||
| 17 | "github.com/bnema/wlturbo/protocol/core" | 17 | "github.com/bnema/wlturbo/protocol/core" | ||
M internal/adapters/wayland/session_lock_test.go +1 -1
| @@ -5,8 +5,8 @@ import ( | |||
| 5 | 5 | "testing" | |
| 6 | 6 | "time" | |
| 7 | 7 | ||
| 8 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 8 | 9 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | |
| 9 | - | "github.com/bnema/neferwl/internal/logging" | |
| 10 | 10 | "github.com/bnema/neferwl/internal/ports" | |
| 11 | 11 | "github.com/bnema/wlturbo" | |
| 12 | 12 | lockclient "github.com/bnema/wlturbo/protocol/extsessionlock" | |
| @@ -5,8 +5,8 @@ import ( | |||||
| 5 | "testing" | 5 | "testing" | ||
| 6 | "time" | 6 | "time" | ||
| 7 | 7 | ||||
| 8 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |||
| 8 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | 9 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | ||
| 9 | - | "github.com/bnema/neferwl/internal/logging" | |||
| 10 | "github.com/bnema/neferwl/internal/ports" | 10 | "github.com/bnema/neferwl/internal/ports" | ||
| 11 | "github.com/bnema/wlturbo" | 11 | "github.com/bnema/wlturbo" | ||
| 12 | lockclient "github.com/bnema/wlturbo/protocol/extsessionlock" | 12 | lockclient "github.com/bnema/wlturbo/protocol/extsessionlock" | ||
M internal/adapters/wayland/surface_perf_test.go +1 -1
| @@ -5,7 +5,7 @@ import ( | |||
| 5 | 5 | "fmt" | |
| 6 | 6 | "testing" | |
| 7 | 7 | ||
| 8 | - | "github.com/bnema/neferwl/internal/logging" | |
| 8 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 9 | 9 | "github.com/bnema/neferwl/internal/ports" | |
| 10 | 10 | ) | |
| 11 | 11 | ||
| @@ -5,7 +5,7 @@ import ( | |||||
| 5 | "fmt" | 5 | "fmt" | ||
| 6 | "testing" | 6 | "testing" | ||
| 7 | 7 | ||||
| 8 | - | "github.com/bnema/neferwl/internal/logging" | 8 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 9 | "github.com/bnema/neferwl/internal/ports" | 9 | "github.com/bnema/neferwl/internal/ports" | ||
| 10 | ) | 10 | ) | ||
| 11 | 11 | ||||
M internal/adapters/wayland/syncobj_test.go +1 -1
| @@ -14,7 +14,7 @@ import ( | |||
| 14 | 14 | "github.com/bnema/go-wayland-bindings/server/linuxdmabuf" | |
| 15 | 15 | "github.com/bnema/go-wayland-bindings/server/linuxdrmsyncobj" | |
| 16 | 16 | "github.com/bnema/go-wayland-bindings/server/wayland" | |
| 17 | - | "github.com/bnema/neferwl/internal/logging" | |
| 17 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 18 | 18 | "github.com/bnema/neferwl/internal/ports" | |
| 19 | 19 | "github.com/bnema/wlturbo" | |
| 20 | 20 | "github.com/stretchr/testify/mock" | |
| @@ -14,7 +14,7 @@ import ( | |||||
| 14 | "github.com/bnema/go-wayland-bindings/server/linuxdmabuf" | 14 | "github.com/bnema/go-wayland-bindings/server/linuxdmabuf" | ||
| 15 | "github.com/bnema/go-wayland-bindings/server/linuxdrmsyncobj" | 15 | "github.com/bnema/go-wayland-bindings/server/linuxdrmsyncobj" | ||
| 16 | "github.com/bnema/go-wayland-bindings/server/wayland" | 16 | "github.com/bnema/go-wayland-bindings/server/wayland" | ||
| 17 | - | "github.com/bnema/neferwl/internal/logging" | 17 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 18 | "github.com/bnema/neferwl/internal/ports" | 18 | "github.com/bnema/neferwl/internal/ports" | ||
| 19 | "github.com/bnema/wlturbo" | 19 | "github.com/bnema/wlturbo" | ||
| 20 | "github.com/stretchr/testify/mock" | 20 | "github.com/stretchr/testify/mock" | ||
M internal/adapters/wayland/workspaces_test.go +1 -1
| @@ -8,8 +8,8 @@ import ( | |||
| 8 | 8 | "time" | |
| 9 | 9 | ||
| 10 | 10 | ext "github.com/bnema/go-wayland-bindings/server/extworkspace" | |
| 11 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 11 | 12 | "github.com/bnema/neferwl/internal/adapters/workspaceid" | |
| 12 | - | "github.com/bnema/neferwl/internal/logging" | |
| 13 | 13 | "github.com/bnema/neferwl/internal/ports" | |
| 14 | 14 | "github.com/bnema/wlturbo" | |
| 15 | 15 | ) | |
| @@ -8,8 +8,8 @@ import ( | |||||
| 8 | "time" | 8 | "time" | ||
| 9 | 9 | ||||
| 10 | ext "github.com/bnema/go-wayland-bindings/server/extworkspace" | 10 | ext "github.com/bnema/go-wayland-bindings/server/extworkspace" | ||
| 11 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |||
| 11 | "github.com/bnema/neferwl/internal/adapters/workspaceid" | 12 | "github.com/bnema/neferwl/internal/adapters/workspaceid" | ||
| 12 | - | "github.com/bnema/neferwl/internal/logging" | |||
| 13 | "github.com/bnema/neferwl/internal/ports" | 13 | "github.com/bnema/neferwl/internal/ports" | ||
| 14 | "github.com/bnema/wlturbo" | 14 | "github.com/bnema/wlturbo" | ||
| 15 | ) | 15 | ) | ||
M internal/adapters/xwayland/xwayland_test.go +1 -1
| @@ -10,7 +10,7 @@ import ( | |||
| 10 | 10 | "testing" | |
| 11 | 11 | "time" | |
| 12 | 12 | ||
| 13 | - | "github.com/bnema/neferwl/internal/logging" | |
| 13 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 14 | 14 | "golang.org/x/sys/unix" | |
| 15 | 15 | ) | |
| 16 | 16 | ||
| @@ -10,7 +10,7 @@ import ( | |||||
| 10 | "testing" | 10 | "testing" | ||
| 11 | "time" | 11 | "time" | ||
| 12 | 12 | ||||
| 13 | - | "github.com/bnema/neferwl/internal/logging" | 13 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 14 | "golang.org/x/sys/unix" | 14 | "golang.org/x/sys/unix" | ||
| 15 | ) | 15 | ) | ||
| 16 | 16 | ||||
M internal/app/app.go +1 -1
| @@ -19,6 +19,7 @@ import ( | |||
| 19 | 19 | "github.com/bnema/neferwl/internal/adapters/headlessinput" | |
| 20 | 20 | "github.com/bnema/neferwl/internal/adapters/launcher" | |
| 21 | 21 | "github.com/bnema/neferwl/internal/adapters/libinput" | |
| 22 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 22 | 23 | "github.com/bnema/neferwl/internal/adapters/sched" | |
| 23 | 24 | "github.com/bnema/neferwl/internal/adapters/screensaver" | |
| 24 | 25 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | |
| @@ -29,7 +30,6 @@ import ( | |||
| 29 | 30 | "github.com/bnema/neferwl/internal/adapters/xkb" | |
| 30 | 31 | "github.com/bnema/neferwl/internal/adapters/xwayland" | |
| 31 | 32 | "github.com/bnema/neferwl/internal/core" | |
| 32 | - | "github.com/bnema/neferwl/internal/logging" | |
| 33 | 33 | "github.com/bnema/neferwl/internal/ports" | |
| 34 | 34 | "github.com/bnema/zerowrap" | |
| 35 | 35 | "golang.org/x/sys/unix" | |
| @@ -19,6 +19,7 @@ import ( | |||||
| 19 | "github.com/bnema/neferwl/internal/adapters/headlessinput" | 19 | "github.com/bnema/neferwl/internal/adapters/headlessinput" | ||
| 20 | "github.com/bnema/neferwl/internal/adapters/launcher" | 20 | "github.com/bnema/neferwl/internal/adapters/launcher" | ||
| 21 | "github.com/bnema/neferwl/internal/adapters/libinput" | 21 | "github.com/bnema/neferwl/internal/adapters/libinput" | ||
| 22 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |||
| 22 | "github.com/bnema/neferwl/internal/adapters/sched" | 23 | "github.com/bnema/neferwl/internal/adapters/sched" | ||
| 23 | "github.com/bnema/neferwl/internal/adapters/screensaver" | 24 | "github.com/bnema/neferwl/internal/adapters/screensaver" | ||
| 24 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | 25 | "github.com/bnema/neferwl/internal/adapters/sessionsecurity" | ||
| @@ -29,7 +30,6 @@ import ( | |||||
| 29 | "github.com/bnema/neferwl/internal/adapters/xkb" | 30 | "github.com/bnema/neferwl/internal/adapters/xkb" | ||
| 30 | "github.com/bnema/neferwl/internal/adapters/xwayland" | 31 | "github.com/bnema/neferwl/internal/adapters/xwayland" | ||
| 31 | "github.com/bnema/neferwl/internal/core" | 32 | "github.com/bnema/neferwl/internal/core" | ||
| 32 | - | "github.com/bnema/neferwl/internal/logging" | |||
| 33 | "github.com/bnema/neferwl/internal/ports" | 33 | "github.com/bnema/neferwl/internal/ports" | ||
| 34 | "github.com/bnema/zerowrap" | 34 | "github.com/bnema/zerowrap" | ||
| 35 | "golang.org/x/sys/unix" | 35 | "golang.org/x/sys/unix" | ||
M internal/app/app_test.go +1 -1
| @@ -14,8 +14,8 @@ import ( | |||
| 14 | 14 | ||
| 15 | 15 | "github.com/bnema/neferwl/internal/adapters/clock" | |
| 16 | 16 | "github.com/bnema/neferwl/internal/adapters/config" | |
| 17 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 17 | 18 | "github.com/bnema/neferwl/internal/adapters/xkb" | |
| 18 | - | "github.com/bnema/neferwl/internal/logging" | |
| 19 | 19 | "github.com/bnema/neferwl/internal/ports" | |
| 20 | 20 | ) | |
| 21 | 21 | ||
| @@ -14,8 +14,8 @@ import ( | |||||
| 14 | 14 | ||||
| 15 | "github.com/bnema/neferwl/internal/adapters/clock" | 15 | "github.com/bnema/neferwl/internal/adapters/clock" | ||
| 16 | "github.com/bnema/neferwl/internal/adapters/config" | 16 | "github.com/bnema/neferwl/internal/adapters/config" | ||
| 17 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |||
| 17 | "github.com/bnema/neferwl/internal/adapters/xkb" | 18 | "github.com/bnema/neferwl/internal/adapters/xkb" | ||
| 18 | - | "github.com/bnema/neferwl/internal/logging" | |||
| 19 | "github.com/bnema/neferwl/internal/ports" | 19 | "github.com/bnema/neferwl/internal/ports" | ||
| 20 | ) | 20 | ) | ||
| 21 | 21 | ||||
M internal/app/drm.go +1 -1
| @@ -17,9 +17,9 @@ import ( | |||
| 17 | 17 | "github.com/bnema/neferwl/internal/adapters/clock" | |
| 18 | 18 | "github.com/bnema/neferwl/internal/adapters/config" | |
| 19 | 19 | "github.com/bnema/neferwl/internal/adapters/drm" | |
| 20 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 20 | 21 | "github.com/bnema/neferwl/internal/adapters/sched" | |
| 21 | 22 | "github.com/bnema/neferwl/internal/adapters/seat" | |
| 22 | - | "github.com/bnema/neferwl/internal/logging" | |
| 23 | 23 | "github.com/bnema/neferwl/internal/ports" | |
| 24 | 24 | "github.com/bnema/zerowrap" | |
| 25 | 25 | "golang.org/x/sys/unix" | |
| @@ -17,9 +17,9 @@ import ( | |||||
| 17 | "github.com/bnema/neferwl/internal/adapters/clock" | 17 | "github.com/bnema/neferwl/internal/adapters/clock" | ||
| 18 | "github.com/bnema/neferwl/internal/adapters/config" | 18 | "github.com/bnema/neferwl/internal/adapters/config" | ||
| 19 | "github.com/bnema/neferwl/internal/adapters/drm" | 19 | "github.com/bnema/neferwl/internal/adapters/drm" | ||
| 20 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |||
| 20 | "github.com/bnema/neferwl/internal/adapters/sched" | 21 | "github.com/bnema/neferwl/internal/adapters/sched" | ||
| 21 | "github.com/bnema/neferwl/internal/adapters/seat" | 22 | "github.com/bnema/neferwl/internal/adapters/seat" | ||
| 22 | - | "github.com/bnema/neferwl/internal/logging" | |||
| 23 | "github.com/bnema/neferwl/internal/ports" | 23 | "github.com/bnema/neferwl/internal/ports" | ||
| 24 | "github.com/bnema/zerowrap" | 24 | "github.com/bnema/zerowrap" | ||
| 25 | "golang.org/x/sys/unix" | 25 | "golang.org/x/sys/unix" | ||
M internal/app/outputmanagement_test.go +1 -1
| @@ -6,7 +6,7 @@ import ( | |||
| 6 | 6 | "image" | |
| 7 | 7 | "testing" | |
| 8 | 8 | ||
| 9 | - | "github.com/bnema/neferwl/internal/logging" | |
| 9 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 10 | 10 | "github.com/bnema/neferwl/internal/ports" | |
| 11 | 11 | ) | |
| 12 | 12 | ||
| @@ -6,7 +6,7 @@ import ( | |||||
| 6 | "image" | 6 | "image" | ||
| 7 | "testing" | 7 | "testing" | ||
| 8 | 8 | ||||
| 9 | - | "github.com/bnema/neferwl/internal/logging" | 9 | + | "github.com/bnema/neferwl/internal/adapters/logging" |
| 10 | "github.com/bnema/neferwl/internal/ports" | 10 | "github.com/bnema/neferwl/internal/ports" | ||
| 11 | ) | 11 | ) | ||
| 12 | 12 | ||||
M internal/cli/run.go +1 -1
| @@ -17,8 +17,8 @@ import ( | |||
| 17 | 17 | "time" | |
| 18 | 18 | ||
| 19 | 19 | "github.com/bnema/neferwl/internal/adapters/config" | |
| 20 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |
| 20 | 21 | "github.com/bnema/neferwl/internal/app" | |
| 21 | - | "github.com/bnema/neferwl/internal/logging" | |
| 22 | 22 | "golang.org/x/term" | |
| 23 | 23 | ) | |
| 24 | 24 | ||
| @@ -17,8 +17,8 @@ import ( | |||||
| 17 | "time" | 17 | "time" | ||
| 18 | 18 | ||||
| 19 | "github.com/bnema/neferwl/internal/adapters/config" | 19 | "github.com/bnema/neferwl/internal/adapters/config" | ||
| 20 | + | "github.com/bnema/neferwl/internal/adapters/logging" | |||
| 20 | "github.com/bnema/neferwl/internal/app" | 21 | "github.com/bnema/neferwl/internal/app" | ||
| 21 | - | "github.com/bnema/neferwl/internal/logging" | |||
| 22 | "golang.org/x/term" | 22 | "golang.org/x/term" | ||
| 23 | ) | 23 | ) | ||
| 24 | 24 | ||||