From 61ea5bd45650dbb1cfcebe079122ac49f0f4759d Mon Sep 17 00:00:00 2001 From: William Petit Date: Thu, 21 Mar 2024 09:09:57 +0100 Subject: [PATCH] feat: migrate project to cadoles org --- Makefile | 2 +- cmd/fake-smtp/container.go | 8 ++++---- cmd/fake-smtp/main.go | 4 ++-- cmd/fake-smtp/smtp.go | 4 ++-- cmd/fake-smtp/template/blocks/footer.html.tmpl | 2 +- go.mod | 2 +- internal/command/clear_inbox.go | 4 ++-- internal/command/delete_email.go | 4 ++-- internal/command/relay_email.go | 2 +- internal/command/store_email.go | 4 ++-- internal/query/filter_emails_test.go | 2 +- internal/query/get_inbox.go | 4 ++-- internal/query/open_email.go | 4 ++-- internal/route/api.go | 4 ++-- internal/route/email.go | 8 ++++---- internal/route/helper.go | 4 ++-- internal/route/inbox.go | 4 ++-- internal/route/mount.go | 2 +- 18 files changed, 34 insertions(+), 34 deletions(-) diff --git a/Makefile b/Makefile index 7fbe8fa..35884fa 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -DOCKER_REPOSITORY ?= docker.io/bornholm +DOCKER_REPOSITORY ?= reg.cadoles.com/cadoles YQ_VERSION ?= v4.30.4 YQ_BINARY ?= yq_linux_amd64 diff --git a/cmd/fake-smtp/container.go b/cmd/fake-smtp/container.go index 6cca16e..724a957 100644 --- a/cmd/fake-smtp/container.go +++ b/cmd/fake-smtp/container.go @@ -3,10 +3,10 @@ package main import ( "gitlab.com/wpetit/goweb/template/html" - "forge.cadoles.com/wpetit/fake-smtp/internal/command" - "forge.cadoles.com/wpetit/fake-smtp/internal/config" - "forge.cadoles.com/wpetit/fake-smtp/internal/query" - "forge.cadoles.com/wpetit/fake-smtp/internal/storm" + "forge.cadoles.com/Cadoles/fake-smtp/internal/command" + "forge.cadoles.com/Cadoles/fake-smtp/internal/config" + "forge.cadoles.com/Cadoles/fake-smtp/internal/query" + "forge.cadoles.com/Cadoles/fake-smtp/internal/storm" "gitlab.com/wpetit/goweb/cqrs" "gitlab.com/wpetit/goweb/service" "gitlab.com/wpetit/goweb/service/build" diff --git a/cmd/fake-smtp/main.go b/cmd/fake-smtp/main.go index 08e5b58..de5bb80 100644 --- a/cmd/fake-smtp/main.go +++ b/cmd/fake-smtp/main.go @@ -3,7 +3,7 @@ package main import ( "net/http" - "forge.cadoles.com/wpetit/fake-smtp/internal/route" + "forge.cadoles.com/Cadoles/fake-smtp/internal/route" "github.com/go-chi/chi/v5" "github.com/go-chi/chi/v5/middleware" "gitlab.com/wpetit/goweb/middleware/container" @@ -14,7 +14,7 @@ import ( "os" - "forge.cadoles.com/wpetit/fake-smtp/internal/config" + "forge.cadoles.com/Cadoles/fake-smtp/internal/config" "github.com/pkg/errors" ) diff --git a/cmd/fake-smtp/smtp.go b/cmd/fake-smtp/smtp.go index e299a81..a265ad8 100644 --- a/cmd/fake-smtp/smtp.go +++ b/cmd/fake-smtp/smtp.go @@ -6,8 +6,8 @@ import ( "log" "os" - "forge.cadoles.com/wpetit/fake-smtp/internal/command" - "forge.cadoles.com/wpetit/fake-smtp/internal/config" + "forge.cadoles.com/Cadoles/fake-smtp/internal/command" + "forge.cadoles.com/Cadoles/fake-smtp/internal/config" "github.com/emersion/go-smtp" "github.com/jhillyerd/enmime" "github.com/pkg/errors" diff --git a/cmd/fake-smtp/template/blocks/footer.html.tmpl b/cmd/fake-smtp/template/blocks/footer.html.tmpl index a9ccfc1..d9b1c12 100644 --- a/cmd/fake-smtp/template/blocks/footer.html.tmpl +++ b/cmd/fake-smtp/template/blocks/footer.html.tmpl @@ -5,6 +5,6 @@ Date de construction: {{ .BuildInfo.BuildDate }}

- Propulsé par FakeSMTP et publié sous licence AGPL-3.0. + Propulsé par FakeSMTP et publié sous licence AGPL-3.0.

{{end}} \ No newline at end of file diff --git a/go.mod b/go.mod index aaeb3eb..1ca5b4d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module forge.cadoles.com/wpetit/fake-smtp +module forge.cadoles.com/Cadoles/fake-smtp go 1.21 diff --git a/internal/command/clear_inbox.go b/internal/command/clear_inbox.go index d93eac7..846618e 100644 --- a/internal/command/clear_inbox.go +++ b/internal/command/clear_inbox.go @@ -5,8 +5,8 @@ import ( "github.com/pkg/errors" - "forge.cadoles.com/wpetit/fake-smtp/internal/model" - "forge.cadoles.com/wpetit/fake-smtp/internal/storm" + "forge.cadoles.com/Cadoles/fake-smtp/internal/model" + "forge.cadoles.com/Cadoles/fake-smtp/internal/storm" "gitlab.com/wpetit/goweb/cqrs" "gitlab.com/wpetit/goweb/middleware/container" ) diff --git a/internal/command/delete_email.go b/internal/command/delete_email.go index 3ab208c..a2e5939 100644 --- a/internal/command/delete_email.go +++ b/internal/command/delete_email.go @@ -5,8 +5,8 @@ import ( "github.com/pkg/errors" - "forge.cadoles.com/wpetit/fake-smtp/internal/model" - "forge.cadoles.com/wpetit/fake-smtp/internal/storm" + "forge.cadoles.com/Cadoles/fake-smtp/internal/model" + "forge.cadoles.com/Cadoles/fake-smtp/internal/storm" "gitlab.com/wpetit/goweb/cqrs" "gitlab.com/wpetit/goweb/middleware/container" ) diff --git a/internal/command/relay_email.go b/internal/command/relay_email.go index 471cc24..f6175b1 100644 --- a/internal/command/relay_email.go +++ b/internal/command/relay_email.go @@ -10,7 +10,7 @@ import ( "github.com/emersion/go-smtp" - "forge.cadoles.com/wpetit/fake-smtp/internal/config" + "forge.cadoles.com/Cadoles/fake-smtp/internal/config" "github.com/jhillyerd/enmime" "github.com/pkg/errors" "gitlab.com/wpetit/goweb/cqrs" diff --git a/internal/command/store_email.go b/internal/command/store_email.go index d5c9bf8..402eeec 100644 --- a/internal/command/store_email.go +++ b/internal/command/store_email.go @@ -6,8 +6,8 @@ import ( "github.com/pkg/errors" - "forge.cadoles.com/wpetit/fake-smtp/internal/model" - "forge.cadoles.com/wpetit/fake-smtp/internal/storm" + "forge.cadoles.com/Cadoles/fake-smtp/internal/model" + "forge.cadoles.com/Cadoles/fake-smtp/internal/storm" "github.com/jhillyerd/enmime" "gitlab.com/wpetit/goweb/cqrs" "gitlab.com/wpetit/goweb/middleware/container" diff --git a/internal/query/filter_emails_test.go b/internal/query/filter_emails_test.go index 79f01c7..00f6784 100644 --- a/internal/query/filter_emails_test.go +++ b/internal/query/filter_emails_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "forge.cadoles.com/wpetit/fake-smtp/internal/model" + "forge.cadoles.com/Cadoles/fake-smtp/internal/model" "github.com/pkg/errors" ) diff --git a/internal/query/get_inbox.go b/internal/query/get_inbox.go index ef35fa5..33a0941 100644 --- a/internal/query/get_inbox.go +++ b/internal/query/get_inbox.go @@ -5,8 +5,8 @@ import ( "strings" "time" - "forge.cadoles.com/wpetit/fake-smtp/internal/model" - "forge.cadoles.com/wpetit/fake-smtp/internal/storm" + "forge.cadoles.com/Cadoles/fake-smtp/internal/model" + "forge.cadoles.com/Cadoles/fake-smtp/internal/storm" stormdb "github.com/asdine/storm/v3" "github.com/asdine/storm/v3/q" "github.com/pkg/errors" diff --git a/internal/query/open_email.go b/internal/query/open_email.go index 2a7d08a..f72c748 100644 --- a/internal/query/open_email.go +++ b/internal/query/open_email.go @@ -3,8 +3,8 @@ package query import ( "context" - "forge.cadoles.com/wpetit/fake-smtp/internal/model" - "forge.cadoles.com/wpetit/fake-smtp/internal/storm" + "forge.cadoles.com/Cadoles/fake-smtp/internal/model" + "forge.cadoles.com/Cadoles/fake-smtp/internal/storm" "github.com/pkg/errors" "gitlab.com/wpetit/goweb/cqrs" "gitlab.com/wpetit/goweb/middleware/container" diff --git a/internal/route/api.go b/internal/route/api.go index 1f5f1b9..5a4527e 100644 --- a/internal/route/api.go +++ b/internal/route/api.go @@ -3,8 +3,8 @@ package route import ( "net/http" - "forge.cadoles.com/wpetit/fake-smtp/internal/query" - "forge.cadoles.com/wpetit/fake-smtp/internal/storm" + "forge.cadoles.com/Cadoles/fake-smtp/internal/query" + "forge.cadoles.com/Cadoles/fake-smtp/internal/storm" "github.com/pkg/errors" "gitlab.com/wpetit/goweb/api" "gitlab.com/wpetit/goweb/cqrs" diff --git a/internal/route/email.go b/internal/route/email.go index 3d003ad..24c8470 100644 --- a/internal/route/email.go +++ b/internal/route/email.go @@ -7,10 +7,10 @@ import ( "github.com/microcosm-cc/bluemonday" - "forge.cadoles.com/wpetit/fake-smtp/internal/command" - "forge.cadoles.com/wpetit/fake-smtp/internal/model" - "forge.cadoles.com/wpetit/fake-smtp/internal/query" - "forge.cadoles.com/wpetit/fake-smtp/internal/storm" + "forge.cadoles.com/Cadoles/fake-smtp/internal/command" + "forge.cadoles.com/Cadoles/fake-smtp/internal/model" + "forge.cadoles.com/Cadoles/fake-smtp/internal/query" + "forge.cadoles.com/Cadoles/fake-smtp/internal/storm" "github.com/go-chi/chi/v5" "github.com/pkg/errors" "gitlab.com/wpetit/goweb/cqrs" diff --git a/internal/route/helper.go b/internal/route/helper.go index 0308995..faa104f 100644 --- a/internal/route/helper.go +++ b/internal/route/helper.go @@ -6,8 +6,8 @@ import ( "strconv" "time" - "forge.cadoles.com/wpetit/fake-smtp/internal/config" - "forge.cadoles.com/wpetit/fake-smtp/internal/query" + "forge.cadoles.com/Cadoles/fake-smtp/internal/config" + "forge.cadoles.com/Cadoles/fake-smtp/internal/query" "github.com/pkg/errors" "gitlab.com/wpetit/goweb/middleware/container" "gitlab.com/wpetit/goweb/service" diff --git a/internal/route/inbox.go b/internal/route/inbox.go index cd49aa5..877535f 100644 --- a/internal/route/inbox.go +++ b/internal/route/inbox.go @@ -3,8 +3,8 @@ package route import ( "net/http" - "forge.cadoles.com/wpetit/fake-smtp/internal/command" - "forge.cadoles.com/wpetit/fake-smtp/internal/query" + "forge.cadoles.com/Cadoles/fake-smtp/internal/command" + "forge.cadoles.com/Cadoles/fake-smtp/internal/query" "github.com/pkg/errors" "gitlab.com/wpetit/goweb/cqrs" "gitlab.com/wpetit/goweb/logger" diff --git a/internal/route/mount.go b/internal/route/mount.go index 50664ec..05e71b6 100644 --- a/internal/route/mount.go +++ b/internal/route/mount.go @@ -1,7 +1,7 @@ package route import ( - "forge.cadoles.com/wpetit/fake-smtp/internal/config" + "forge.cadoles.com/Cadoles/fake-smtp/internal/config" "github.com/go-chi/chi/v5" "gitlab.com/wpetit/goweb/static"