From 8edf7b0e4d386e5b4b4f052c88a781e40b1f1d30 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Tue, 13 Feb 2024 22:44:25 +0100 Subject: log: move package to lib This has nothing to do at the root of the source tree. Signed-off-by: Robin Jarry Acked-by: Bence Ferdinandy --- worker/imap/cache.go | 2 +- worker/imap/connect.go | 2 +- worker/imap/extensions/xgmext/client.go | 2 +- worker/imap/fetch.go | 2 +- worker/imap/flags.go | 2 +- worker/imap/idler.go | 2 +- worker/imap/list.go | 2 +- worker/imap/observer.go | 2 +- worker/jmap/cache/cache.go | 2 +- worker/jmap/cache/folder_contents.go | 2 +- worker/jmap/push.go | 2 +- worker/jmap/send.go | 2 +- worker/lib/search.go | 2 +- worker/maildir/container.go | 2 +- worker/maildir/message.go | 2 +- worker/maildir/search.go | 2 +- worker/maildir/worker.go | 2 +- worker/mbox/worker.go | 2 +- worker/notmuch/eventhandlers.go | 2 +- worker/notmuch/lib/database.go | 2 +- worker/notmuch/message.go | 2 +- worker/notmuch/worker.go | 2 +- worker/types/thread.go | 2 +- worker/types/worker.go | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) (limited to 'worker') diff --git a/worker/imap/cache.go b/worker/imap/cache.go index e33736cc..8ae60f03 100644 --- a/worker/imap/cache.go +++ b/worker/imap/cache.go @@ -9,9 +9,9 @@ import ( "strings" "time" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/lib/parse" "git.sr.ht/~rjarry/aerc/lib/xdg" - "git.sr.ht/~rjarry/aerc/log" "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/worker/types" "github.com/emersion/go-message" diff --git a/worker/imap/connect.go b/worker/imap/connect.go index 79254bb9..6c704d35 100644 --- a/worker/imap/connect.go +++ b/worker/imap/connect.go @@ -7,7 +7,7 @@ import ( "time" "git.sr.ht/~rjarry/aerc/lib" - "git.sr.ht/~rjarry/aerc/log" + "git.sr.ht/~rjarry/aerc/lib/log" "github.com/emersion/go-imap" "github.com/emersion/go-imap/client" ) diff --git a/worker/imap/extensions/xgmext/client.go b/worker/imap/extensions/xgmext/client.go index 62d081b2..3d9ce1e9 100644 --- a/worker/imap/extensions/xgmext/client.go +++ b/worker/imap/extensions/xgmext/client.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "git.sr.ht/~rjarry/aerc/log" + "git.sr.ht/~rjarry/aerc/lib/log" "github.com/emersion/go-imap" "github.com/emersion/go-imap/client" "github.com/emersion/go-imap/commands" diff --git a/worker/imap/fetch.go b/worker/imap/fetch.go index 12e2fbdd..46ca8a5f 100644 --- a/worker/imap/fetch.go +++ b/worker/imap/fetch.go @@ -10,8 +10,8 @@ import ( "github.com/emersion/go-message/mail" "github.com/emersion/go-message/textproto" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/lib/parse" - "git.sr.ht/~rjarry/aerc/log" "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/worker/types" ) diff --git a/worker/imap/flags.go b/worker/imap/flags.go index 945597df..06680818 100644 --- a/worker/imap/flags.go +++ b/worker/imap/flags.go @@ -3,7 +3,7 @@ package imap import ( "github.com/emersion/go-imap" - "git.sr.ht/~rjarry/aerc/log" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/worker/types" ) diff --git a/worker/imap/idler.go b/worker/imap/idler.go index 369ebd2e..b43c0269 100644 --- a/worker/imap/idler.go +++ b/worker/imap/idler.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "git.sr.ht/~rjarry/aerc/log" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/worker/types" "github.com/emersion/go-imap" ) diff --git a/worker/imap/list.go b/worker/imap/list.go index 5a97d5e2..d12ae4bd 100644 --- a/worker/imap/list.go +++ b/worker/imap/list.go @@ -5,7 +5,7 @@ import ( "github.com/emersion/go-imap" - "git.sr.ht/~rjarry/aerc/log" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/worker/types" ) diff --git a/worker/imap/observer.go b/worker/imap/observer.go index 7a604a1a..d3106cd1 100644 --- a/worker/imap/observer.go +++ b/worker/imap/observer.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "git.sr.ht/~rjarry/aerc/log" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/worker/types" "github.com/emersion/go-imap" ) diff --git a/worker/jmap/cache/cache.go b/worker/jmap/cache/cache.go index 6d815177..429dafe9 100644 --- a/worker/jmap/cache/cache.go +++ b/worker/jmap/cache/cache.go @@ -6,8 +6,8 @@ import ( "path" "strings" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/lib/xdg" - "git.sr.ht/~rjarry/aerc/log" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/util" ) diff --git a/worker/jmap/cache/folder_contents.go b/worker/jmap/cache/folder_contents.go index 46a36607..e0edf77d 100644 --- a/worker/jmap/cache/folder_contents.go +++ b/worker/jmap/cache/folder_contents.go @@ -3,7 +3,7 @@ package cache import ( "reflect" - "git.sr.ht/~rjarry/aerc/log" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/worker/types" "git.sr.ht/~rockorager/go-jmap" ) diff --git a/worker/jmap/push.go b/worker/jmap/push.go index 2f7b05e6..cb3394d1 100644 --- a/worker/jmap/push.go +++ b/worker/jmap/push.go @@ -5,7 +5,7 @@ import ( "sort" "time" - "git.sr.ht/~rjarry/aerc/log" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/worker/jmap/cache" "git.sr.ht/~rjarry/aerc/worker/types" diff --git a/worker/jmap/send.go b/worker/jmap/send.go index 0d8bb23f..7f5ffc4f 100644 --- a/worker/jmap/send.go +++ b/worker/jmap/send.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "git.sr.ht/~rjarry/aerc/log" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/worker/types" "git.sr.ht/~rockorager/go-jmap" "git.sr.ht/~rockorager/go-jmap/mail/email" diff --git a/worker/lib/search.go b/worker/lib/search.go index 16e44d96..31e4843f 100644 --- a/worker/lib/search.go +++ b/worker/lib/search.go @@ -6,8 +6,8 @@ import ( "unicode" "git.sr.ht/~rjarry/aerc/lib" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/lib/rfc822" - "git.sr.ht/~rjarry/aerc/log" "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/worker/types" "git.sr.ht/~rjarry/go-opt" diff --git a/worker/maildir/container.go b/worker/maildir/container.go index 23c96617..dea1ded6 100644 --- a/worker/maildir/container.go +++ b/worker/maildir/container.go @@ -8,8 +8,8 @@ import ( "github.com/emersion/go-maildir" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/lib/uidstore" - "git.sr.ht/~rjarry/aerc/log" "git.sr.ht/~rjarry/aerc/worker/lib" ) diff --git a/worker/maildir/message.go b/worker/maildir/message.go index 1f89cfe3..6bc54cac 100644 --- a/worker/maildir/message.go +++ b/worker/maildir/message.go @@ -6,8 +6,8 @@ import ( "github.com/emersion/go-maildir" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/lib/rfc822" - "git.sr.ht/~rjarry/aerc/log" "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/worker/lib" ) diff --git a/worker/maildir/search.go b/worker/maildir/search.go index 8a19d66d..90c84087 100644 --- a/worker/maildir/search.go +++ b/worker/maildir/search.go @@ -5,7 +5,7 @@ import ( "runtime" "sync" - "git.sr.ht/~rjarry/aerc/log" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/worker/lib" "git.sr.ht/~rjarry/aerc/worker/types" ) diff --git a/worker/maildir/worker.go b/worker/maildir/worker.go index 643ab8a9..f5d3a8e1 100644 --- a/worker/maildir/worker.go +++ b/worker/maildir/worker.go @@ -21,9 +21,9 @@ import ( aercLib "git.sr.ht/~rjarry/aerc/lib" "git.sr.ht/~rjarry/aerc/lib/iterator" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/lib/watchers" "git.sr.ht/~rjarry/aerc/lib/xdg" - "git.sr.ht/~rjarry/aerc/log" "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/worker/handlers" "git.sr.ht/~rjarry/aerc/worker/lib" diff --git a/worker/mbox/worker.go b/worker/mbox/worker.go index 5de3e30d..1f4a4965 100644 --- a/worker/mbox/worker.go +++ b/worker/mbox/worker.go @@ -10,8 +10,8 @@ import ( "path/filepath" "sort" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/lib/rfc822" - "git.sr.ht/~rjarry/aerc/log" "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/worker/handlers" "git.sr.ht/~rjarry/aerc/worker/lib" diff --git a/worker/notmuch/eventhandlers.go b/worker/notmuch/eventhandlers.go index a8a396c9..be01a71b 100644 --- a/worker/notmuch/eventhandlers.go +++ b/worker/notmuch/eventhandlers.go @@ -9,7 +9,7 @@ import ( "path/filepath" "strconv" - "git.sr.ht/~rjarry/aerc/log" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/worker/types" ) diff --git a/worker/notmuch/lib/database.go b/worker/notmuch/lib/database.go index be30cbc0..4d853642 100644 --- a/worker/notmuch/lib/database.go +++ b/worker/notmuch/lib/database.go @@ -8,9 +8,9 @@ import ( "errors" "fmt" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/lib/notmuch" "git.sr.ht/~rjarry/aerc/lib/uidstore" - "git.sr.ht/~rjarry/aerc/log" "git.sr.ht/~rjarry/aerc/worker/types" ) diff --git a/worker/notmuch/message.go b/worker/notmuch/message.go index 849363f1..2a8b1730 100644 --- a/worker/notmuch/message.go +++ b/worker/notmuch/message.go @@ -12,8 +12,8 @@ import ( "github.com/emersion/go-maildir" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/lib/rfc822" - "git.sr.ht/~rjarry/aerc/log" "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/worker/lib" notmuch "git.sr.ht/~rjarry/aerc/worker/notmuch/lib" diff --git a/worker/notmuch/worker.go b/worker/notmuch/worker.go index ddbdfc02..c5792709 100644 --- a/worker/notmuch/worker.go +++ b/worker/notmuch/worker.go @@ -19,9 +19,9 @@ import ( "time" "git.sr.ht/~rjarry/aerc/config" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/lib/watchers" "git.sr.ht/~rjarry/aerc/lib/xdg" - "git.sr.ht/~rjarry/aerc/log" "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/worker/handlers" "git.sr.ht/~rjarry/aerc/worker/lib" diff --git a/worker/types/thread.go b/worker/types/thread.go index fdd2a8e6..8705ace1 100644 --- a/worker/types/thread.go +++ b/worker/types/thread.go @@ -5,7 +5,7 @@ import ( "fmt" "sort" - "git.sr.ht/~rjarry/aerc/log" + "git.sr.ht/~rjarry/aerc/lib/log" ) type Thread struct { diff --git a/worker/types/worker.go b/worker/types/worker.go index 37e0e2ad..92c15bcc 100644 --- a/worker/types/worker.go +++ b/worker/types/worker.go @@ -5,7 +5,7 @@ import ( "sync" "sync/atomic" - "git.sr.ht/~rjarry/aerc/log" + "git.sr.ht/~rjarry/aerc/lib/log" "git.sr.ht/~rjarry/aerc/models" ) -- cgit