detached 073f55f

refactor(adapters): move logging and sessionlock under internal/adapters (#132)

* refactor(sessionlock): move readiness ledger under the wayland adapter

* refactor(logging): move logging setup under internal/adapters
commit
073f55f6d5c916f57ea347bc48d078722f6a0fef
author
bnema · · 2026-10-04 15:41 UTC
committer
GitHub · · 2026-10-04 15:41 UTC
parent
c900986
signature
GPG UnverifiedB5690EEEBB952194 The key is unknown
49 files · +48 -48
M .hexcheck.yaml +1 -2
@@ -2,8 +2,7 @@ version: 1
22 components:
33 core: { role: core, paths: [internal/core/**] }
44 ports: { role: ports, paths: [internal/ports/**] }
5- # sessionlock is the display owner's proof ledger, not core placement policy.
6- adapters: { role: adapter, paths: [internal/adapters/**, internal/logging/**, internal/sessionlock/**] }
5+ adapters: { role: adapter, paths: [internal/adapters/**] }
76 # app is the composition root: it wires adapters to core, like cmd.
87 entrypoints: { role: entrypoint, paths: [cmd/**, internal/app/**, internal/cli/**] }
98 generated: { role: ignore, paths: [internal/mocks/**] }
@@ -2,8 +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- # sessionlock is the display owner's proof ledger, not core placement policy.5+ adapters: { role: adapter, paths: [internal/adapters/**] }
6- adapters: { role: adapter, paths: [internal/adapters/**, internal/logging/**, internal/sessionlock/**] }
7 # 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.
8 entrypoints: { role: entrypoint, paths: [cmd/**, internal/app/**, internal/cli/**] }7 entrypoints: { role: entrypoint, paths: [cmd/**, internal/app/**, internal/cli/**] }
9 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 (
99 "testing"
1010 "time"
1111
12- "github.com/bnema/neferwl/internal/logging"
12+ "github.com/bnema/neferwl/internal/adapters/logging"
1313 "github.com/bnema/neferwl/internal/ports"
1414 )
1515
@@ -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 (
77 "testing"
88 "unsafe"
99
10- "github.com/bnema/neferwl/internal/logging"
10+ "github.com/bnema/neferwl/internal/adapters/logging"
1111 "github.com/stretchr/testify/mock"
1212 )
1313
@@ -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 (
1313 "testing"
1414 "time"
1515
16- "github.com/bnema/neferwl/internal/logging"
16+ "github.com/bnema/neferwl/internal/adapters/logging"
1717 portsmocks "github.com/bnema/neferwl/internal/mocks/ports"
1818 "github.com/bnema/neferwl/internal/ports"
1919 "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 (
1010 "testing"
1111 "time"
1212
13- "github.com/bnema/neferwl/internal/logging"
13+ "github.com/bnema/neferwl/internal/adapters/logging"
1414 portsmocks "github.com/bnema/neferwl/internal/mocks/ports"
1515 "github.com/bnema/neferwl/internal/ports"
1616 "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
22
33 import (
44 "context"
5- "github.com/bnema/neferwl/internal/adapters/xkb"
6- "github.com/bnema/neferwl/internal/logging"
7- "github.com/bnema/neferwl/internal/ports"
85 "strings"
96 "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"
1011 )
1112
1213 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 (
1010 "testing"
1111 "time"
1212
13+ "github.com/bnema/neferwl/internal/adapters/logging"
1314 "github.com/bnema/neferwl/internal/adapters/xkb"
14- "github.com/bnema/neferwl/internal/logging"
1515 portsmocks "github.com/bnema/neferwl/internal/mocks/ports"
1616 "github.com/bnema/neferwl/internal/ports"
1717 "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 (
99 "testing"
1010 "time"
1111
12- "github.com/bnema/neferwl/internal/logging"
12+ "github.com/bnema/neferwl/internal/adapters/logging"
1313 "github.com/bnema/neferwl/internal/ports"
1414 )
1515
@@ -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 (
77 "testing"
88 "time"
99
10- "github.com/bnema/neferwl/internal/logging"
10+ "github.com/bnema/neferwl/internal/adapters/logging"
1111 )
1212
1313 // 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 as13 // 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 (
66 "path/filepath"
77 "testing"
88
9+ "github.com/bnema/neferwl/internal/adapters/logging"
910 "github.com/bnema/neferwl/internal/adapters/sessionsecurity"
10- "github.com/bnema/neferwl/internal/logging"
1111 portsmocks "github.com/bnema/neferwl/internal/mocks/ports"
1212 "github.com/bnema/neferwl/internal/ports"
1313 )
@@ -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 (
99 "testing"
1010 "time"
1111
12- "github.com/bnema/neferwl/internal/logging"
12+ "github.com/bnema/neferwl/internal/adapters/logging"
1313 )
1414
1515 // 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 right15 // 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 (
55 "runtime"
66 "testing"
77
8- "github.com/bnema/neferwl/internal/logging"
8+ "github.com/bnema/neferwl/internal/adapters/logging"
99 )
1010
1111 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 (
1111 "testing"
1212 "time"
1313
14- "github.com/bnema/neferwl/internal/logging"
14+ "github.com/bnema/neferwl/internal/adapters/logging"
1515 "github.com/godbus/dbus/v5"
1616 )
1717
@@ -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 (
77
88 ext "github.com/bnema/go-wayland-bindings/server/extimagecopycapture"
99 wlr "github.com/bnema/go-wayland-bindings/server/wlrscreencopy"
10- "github.com/bnema/neferwl/internal/logging"
10+ "github.com/bnema/neferwl/internal/adapters/logging"
1111 "github.com/bnema/neferwl/internal/ports"
1212 "github.com/bnema/wlturbo"
1313 "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 (
66
77 cm "github.com/bnema/go-wayland-bindings/server/colormanagement"
88 "github.com/bnema/go-wayland-bindings/server/wayland"
9- "github.com/bnema/neferwl/internal/logging"
9+ "github.com/bnema/neferwl/internal/adapters/logging"
1010 "github.com/bnema/neferwl/internal/ports"
1111 "github.com/bnema/wlturbo"
1212 )
@@ -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 (
66 "testing"
77 "time"
88
9- "github.com/bnema/neferwl/internal/logging"
9+ "github.com/bnema/neferwl/internal/adapters/logging"
1010 "github.com/bnema/neferwl/internal/ports"
1111 )
1212
@@ -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 (
99 "github.com/bnema/go-wayland-bindings/server/fifo"
1010 "github.com/bnema/go-wayland-bindings/server/viewporter"
1111 "github.com/bnema/go-wayland-bindings/server/wayland"
12- "github.com/bnema/neferwl/internal/logging"
12+ "github.com/bnema/neferwl/internal/adapters/logging"
1313 "github.com/bnema/wlturbo"
1414 "golang.org/x/sys/unix"
1515 )
@@ -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 (
77
88 "github.com/bnema/go-wayland-bindings/server/cursorshape"
99 "github.com/bnema/go-wayland-bindings/server/wayland"
10- "github.com/bnema/neferwl/internal/logging"
10+ "github.com/bnema/neferwl/internal/adapters/logging"
1111 "github.com/bnema/neferwl/internal/ports"
1212 "golang.org/x/sys/unix"
1313 )
@@ -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 (
77 "time"
88
99 "github.com/bnema/go-wayland-bindings/server/linuxdmabuf"
10- "github.com/bnema/neferwl/internal/logging"
10+ "github.com/bnema/neferwl/internal/adapters/logging"
1111 "github.com/bnema/neferwl/internal/ports"
1212 "github.com/bnema/wlturbo"
1313 "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 (
88 "time"
99
1010 dl "github.com/bnema/go-wayland-bindings/server/drmlease"
11- "github.com/bnema/neferwl/internal/logging"
11+ "github.com/bnema/neferwl/internal/adapters/logging"
1212 "github.com/bnema/neferwl/internal/ports"
1313 "github.com/bnema/purego-libwayland/server"
1414 "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 (
88 "github.com/bnema/go-wayland-bindings/server/extidlenotify"
99 "github.com/bnema/go-wayland-bindings/server/idleinhibit"
1010 "github.com/bnema/go-wayland-bindings/server/wlroutputpowermanagement"
11- "github.com/bnema/neferwl/internal/logging"
11+ "github.com/bnema/neferwl/internal/adapters/logging"
1212 portsmocks "github.com/bnema/neferwl/internal/mocks/ports"
1313 "github.com/bnema/neferwl/internal/ports"
1414 "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 (
1616 "github.com/bnema/go-wayland-bindings/server/wayland"
1717 "github.com/bnema/go-wayland-bindings/server/wlrlayershell"
1818 wlr "github.com/bnema/go-wayland-bindings/server/wlrscreencopy"
19+ "github.com/bnema/neferwl/internal/adapters/logging"
1920 "github.com/bnema/neferwl/internal/adapters/wayland/imagecapture"
20- "github.com/bnema/neferwl/internal/logging"
2121 portsmocks "github.com/bnema/neferwl/internal/mocks/ports"
2222 "github.com/bnema/neferwl/internal/ports"
2323 "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 (
1111 "time"
1212
1313 "github.com/bnema/go-wayland-bindings/server/wayland"
14- "github.com/bnema/neferwl/internal/logging"
14+ "github.com/bnema/neferwl/internal/adapters/logging"
1515 "github.com/bnema/neferwl/internal/ports"
1616 "github.com/bnema/wlturbo"
1717 "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 (
66 "time"
77
88 wlr "github.com/bnema/go-wayland-bindings/server/wlroutputmanagement"
9- "github.com/bnema/neferwl/internal/logging"
9+ "github.com/bnema/neferwl/internal/adapters/logging"
1010 "github.com/bnema/neferwl/internal/ports"
1111 "github.com/bnema/wlturbo"
1212 )
@@ -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 (
88
99 "github.com/bnema/go-wayland-bindings/server/presentationtime"
1010 "github.com/bnema/go-wayland-bindings/server/wayland"
11- "github.com/bnema/neferwl/internal/logging"
11+ "github.com/bnema/neferwl/internal/adapters/logging"
1212 "github.com/bnema/neferwl/internal/ports"
1313 "github.com/bnema/wlturbo"
1414 "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 (
1010 "github.com/bnema/go-wayland-bindings/server/viewporter"
1111 "github.com/bnema/go-wayland-bindings/server/wayland"
1212 "github.com/bnema/go-wayland-bindings/server/xdgshell"
13- "github.com/bnema/neferwl/internal/logging"
13+ "github.com/bnema/neferwl/internal/adapters/logging"
1414 "github.com/bnema/neferwl/internal/ports"
1515 "github.com/bnema/wlturbo"
1616 "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 (
1515
1616 "github.com/bnema/go-wayland-bindings/server/wayland"
1717 wlr "github.com/bnema/go-wayland-bindings/server/wlrscreencopy"
18- "github.com/bnema/neferwl/internal/logging"
18+ "github.com/bnema/neferwl/internal/adapters/logging"
1919 "github.com/bnema/neferwl/internal/ports"
2020 "github.com/bnema/wlturbo"
2121 "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 (
1010 "time"
1111
1212 "github.com/bnema/go-wayland-bindings/server/securitycontext"
13- "github.com/bnema/neferwl/internal/logging"
13+ "github.com/bnema/neferwl/internal/adapters/logging"
1414 "github.com/bnema/wlturbo"
1515 "golang.org/x/sys/unix"
1616 )
@@ -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.go +1 -1
@@ -15,9 +15,9 @@ import (
1515 "github.com/bnema/go-wayland-bindings/server/wayland"
1616 "github.com/bnema/neferwl/internal/adapters/captureallow"
1717 "github.com/bnema/neferwl/internal/adapters/clock"
18+ "github.com/bnema/neferwl/internal/adapters/wayland/sessionlock"
1819 "github.com/bnema/neferwl/internal/adapters/workspaceid"
1920 "github.com/bnema/neferwl/internal/ports"
20- "github.com/bnema/neferwl/internal/sessionlock"
2121 "github.com/bnema/purego-libwayland/server"
2222 "github.com/bnema/zerowrap"
2323 "golang.org/x/sys/unix"
@@ -15,9 +15,9 @@ import (
15 "github.com/bnema/go-wayland-bindings/server/wayland"15 "github.com/bnema/go-wayland-bindings/server/wayland"
16 "github.com/bnema/neferwl/internal/adapters/captureallow"16 "github.com/bnema/neferwl/internal/adapters/captureallow"
17 "github.com/bnema/neferwl/internal/adapters/clock"17 "github.com/bnema/neferwl/internal/adapters/clock"
18+ "github.com/bnema/neferwl/internal/adapters/wayland/sessionlock"
18 "github.com/bnema/neferwl/internal/adapters/workspaceid"19 "github.com/bnema/neferwl/internal/adapters/workspaceid"
19 "github.com/bnema/neferwl/internal/ports"20 "github.com/bnema/neferwl/internal/ports"
20- "github.com/bnema/neferwl/internal/sessionlock"
21 "github.com/bnema/purego-libwayland/server"21 "github.com/bnema/purego-libwayland/server"
22 "github.com/bnema/zerowrap"22 "github.com/bnema/zerowrap"
23 "golang.org/x/sys/unix"23 "golang.org/x/sys/unix"
M internal/adapters/wayland/server_test.go +1 -1
@@ -14,7 +14,7 @@ import (
1414
1515 "github.com/bnema/neferwl/internal/ports"
1616
17- "github.com/bnema/neferwl/internal/logging"
17+ "github.com/bnema/neferwl/internal/adapters/logging"
1818 )
1919
2020 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 (
99 "time"
1010
1111 "github.com/bnema/neferwl/internal/adapters/capture"
12+ "github.com/bnema/neferwl/internal/adapters/logging"
1213 "github.com/bnema/neferwl/internal/adapters/sessionsecurity"
13- "github.com/bnema/neferwl/internal/logging"
1414 portsmocks "github.com/bnema/neferwl/internal/mocks/ports"
1515 "github.com/bnema/neferwl/internal/ports"
1616 "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 (
88 "time"
99
1010 "github.com/bnema/go-wayland-bindings/server/wayland"
11+ "github.com/bnema/neferwl/internal/adapters/logging"
1112 "github.com/bnema/neferwl/internal/adapters/sessionsecurity"
12- "github.com/bnema/neferwl/internal/logging"
1313 "github.com/bnema/neferwl/internal/ports"
1414 "github.com/bnema/wlturbo"
1515 "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 (
1010 "github.com/bnema/go-wayland-bindings/server/drmlease"
1111 serverlock "github.com/bnema/go-wayland-bindings/server/extsessionlock"
1212 "github.com/bnema/go-wayland-bindings/server/wayland"
13+ "github.com/bnema/neferwl/internal/adapters/logging"
1314 "github.com/bnema/neferwl/internal/adapters/sessionsecurity"
14- "github.com/bnema/neferwl/internal/logging"
1515 "github.com/bnema/neferwl/internal/ports"
1616 "github.com/bnema/wlturbo"
1717 "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 (
55 "testing"
66 "time"
77
8+ "github.com/bnema/neferwl/internal/adapters/logging"
89 "github.com/bnema/neferwl/internal/adapters/sessionsecurity"
9- "github.com/bnema/neferwl/internal/logging"
1010 "github.com/bnema/neferwl/internal/ports"
1111 "github.com/bnema/wlturbo"
1212 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"
R internal/sessionlock/readiness.go → internal/adapters/wayland/sessionlock/readiness.go +0 -0 renamed, 100% similar

renamed, 100% similar

R internal/sessionlock/readiness_test.go → internal/adapters/wayland/sessionlock/readiness_test.go +0 -0 renamed, 100% similar

renamed, 100% similar

M internal/adapters/wayland/surface_perf_test.go +1 -1
@@ -5,7 +5,7 @@ import (
55 "fmt"
66 "testing"
77
8- "github.com/bnema/neferwl/internal/logging"
8+ "github.com/bnema/neferwl/internal/adapters/logging"
99 "github.com/bnema/neferwl/internal/ports"
1010 )
1111
@@ -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 (
1414 "github.com/bnema/go-wayland-bindings/server/linuxdmabuf"
1515 "github.com/bnema/go-wayland-bindings/server/linuxdrmsyncobj"
1616 "github.com/bnema/go-wayland-bindings/server/wayland"
17- "github.com/bnema/neferwl/internal/logging"
17+ "github.com/bnema/neferwl/internal/adapters/logging"
1818 "github.com/bnema/neferwl/internal/ports"
1919 "github.com/bnema/wlturbo"
2020 "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 (
88 "time"
99
1010 ext "github.com/bnema/go-wayland-bindings/server/extworkspace"
11+ "github.com/bnema/neferwl/internal/adapters/logging"
1112 "github.com/bnema/neferwl/internal/adapters/workspaceid"
12- "github.com/bnema/neferwl/internal/logging"
1313 "github.com/bnema/neferwl/internal/ports"
1414 "github.com/bnema/wlturbo"
1515 )
@@ -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 (
1010 "testing"
1111 "time"
1212
13- "github.com/bnema/neferwl/internal/logging"
13+ "github.com/bnema/neferwl/internal/adapters/logging"
1414 "golang.org/x/sys/unix"
1515 )
1616
@@ -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 (
1919 "github.com/bnema/neferwl/internal/adapters/headlessinput"
2020 "github.com/bnema/neferwl/internal/adapters/launcher"
2121 "github.com/bnema/neferwl/internal/adapters/libinput"
22+ "github.com/bnema/neferwl/internal/adapters/logging"
2223 "github.com/bnema/neferwl/internal/adapters/sched"
2324 "github.com/bnema/neferwl/internal/adapters/screensaver"
2425 "github.com/bnema/neferwl/internal/adapters/sessionsecurity"
@@ -29,7 +30,6 @@ import (
2930 "github.com/bnema/neferwl/internal/adapters/xkb"
3031 "github.com/bnema/neferwl/internal/adapters/xwayland"
3132 "github.com/bnema/neferwl/internal/core"
32- "github.com/bnema/neferwl/internal/logging"
3333 "github.com/bnema/neferwl/internal/ports"
3434 "github.com/bnema/zerowrap"
3535 "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 (
1414
1515 "github.com/bnema/neferwl/internal/adapters/clock"
1616 "github.com/bnema/neferwl/internal/adapters/config"
17+ "github.com/bnema/neferwl/internal/adapters/logging"
1718 "github.com/bnema/neferwl/internal/adapters/xkb"
18- "github.com/bnema/neferwl/internal/logging"
1919 "github.com/bnema/neferwl/internal/ports"
2020 )
2121
@@ -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 (
1717 "github.com/bnema/neferwl/internal/adapters/clock"
1818 "github.com/bnema/neferwl/internal/adapters/config"
1919 "github.com/bnema/neferwl/internal/adapters/drm"
20+ "github.com/bnema/neferwl/internal/adapters/logging"
2021 "github.com/bnema/neferwl/internal/adapters/sched"
2122 "github.com/bnema/neferwl/internal/adapters/seat"
22- "github.com/bnema/neferwl/internal/logging"
2323 "github.com/bnema/neferwl/internal/ports"
2424 "github.com/bnema/zerowrap"
2525 "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 (
66 "image"
77 "testing"
88
9- "github.com/bnema/neferwl/internal/logging"
9+ "github.com/bnema/neferwl/internal/adapters/logging"
1010 "github.com/bnema/neferwl/internal/ports"
1111 )
1212
@@ -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/app/security_duplicate_test.go +1 -1
@@ -5,8 +5,8 @@ import (
55 "testing"
66
77 "github.com/bnema/neferwl/internal/adapters/sessionsecurity"
8+ "github.com/bnema/neferwl/internal/adapters/wayland/sessionlock"
89 "github.com/bnema/neferwl/internal/ports"
9- "github.com/bnema/neferwl/internal/sessionlock"
1010 )
1111
1212 // Native Close validation is exercised by DRM's generated-KMS tests. This
@@ -5,8 +5,8 @@ import (
5 "testing"5 "testing"
6 6
7 "github.com/bnema/neferwl/internal/adapters/sessionsecurity"7 "github.com/bnema/neferwl/internal/adapters/sessionsecurity"
8+ "github.com/bnema/neferwl/internal/adapters/wayland/sessionlock"
8 "github.com/bnema/neferwl/internal/ports"9 "github.com/bnema/neferwl/internal/ports"
9- "github.com/bnema/neferwl/internal/sessionlock"
10 )10 )
11 11
12 // Native Close validation is exercised by DRM's generated-KMS tests. This12 // Native Close validation is exercised by DRM's generated-KMS tests. This
M internal/app/security_hotplug_test.go +1 -1
@@ -6,8 +6,8 @@ import (
66 "testing"
77 "time"
88
9+ "github.com/bnema/neferwl/internal/adapters/wayland/sessionlock"
910 "github.com/bnema/neferwl/internal/ports"
10- "github.com/bnema/neferwl/internal/sessionlock"
1111 )
1212
1313 func hotplugEvent(t *testing.T, events <-chan ports.SecurityBackendEvent) ports.SecurityBackendEvent {
@@ -6,8 +6,8 @@ import (
6 "testing"6 "testing"
7 "time"7 "time"
8 8
9+ "github.com/bnema/neferwl/internal/adapters/wayland/sessionlock"
9 "github.com/bnema/neferwl/internal/ports"10 "github.com/bnema/neferwl/internal/ports"
10- "github.com/bnema/neferwl/internal/sessionlock"
11 )11 )
12 12
13 func hotplugEvent(t *testing.T, events <-chan ports.SecurityBackendEvent) ports.SecurityBackendEvent {13 func hotplugEvent(t *testing.T, events <-chan ports.SecurityBackendEvent) ports.SecurityBackendEvent {
M internal/cli/run.go +1 -1
@@ -17,8 +17,8 @@ import (
1717 "time"
1818
1919 "github.com/bnema/neferwl/internal/adapters/config"
20+ "github.com/bnema/neferwl/internal/adapters/logging"
2021 "github.com/bnema/neferwl/internal/app"
21- "github.com/bnema/neferwl/internal/logging"
2222 "golang.org/x/term"
2323 )
2424
@@ -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

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 25

Tags 10

↑↓ moveenter openesc close