From b783f21ccd015c9f0f214aac5f7974139080cdf6 Mon Sep 17 00:00:00 2001 From: Farhan Khan Date: Tue, 28 Jan 2025 15:01:15 +0000 Subject: [PATCH] Renaming fedilogger to fedilogue --- {fedilogger => fedilogue}/Dockerfile | 4 ++-- {fedilogger => fedilogue}/config.go | 0 {fedilogger => fedilogue}/config_test.go | 0 {fedilogger => fedilogue}/ctl.go | 0 {fedilogger => fedilogue}/db.go | 0 fedilogger/fedilogger.go => fedilogue/fedilogue.go | 0 .../fedilogue_test.go | 0 {fedilogger => fedilogue}/follow.go | 0 {fedilogger => fedilogue}/go.mod | 2 +- {fedilogger => fedilogue}/go.sum | 14 ++++++++++++++ {fedilogger => fedilogue}/instance.go | 0 {fedilogger => fedilogue}/instance_test.go | 0 {fedilogger => fedilogue}/log.go | 0 {fedilogger => fedilogue}/oauth.go | 0 {fedilogger => fedilogue}/poll.go | 0 {fedilogger => fedilogue}/retrieve.go | 0 {fedilogger => fedilogue}/retrieve_test.go | 0 {fedilogger => fedilogue}/stream.go | 0 {fedilogger => fedilogue}/tables.sql | 0 {fedilogger => fedilogue}/testhelper.go | 0 {fedilogger => fedilogue}/web.go | 0 21 files changed, 17 insertions(+), 3 deletions(-) rename {fedilogger => fedilogue}/Dockerfile (63%) rename {fedilogger => fedilogue}/config.go (100%) rename {fedilogger => fedilogue}/config_test.go (100%) rename {fedilogger => fedilogue}/ctl.go (100%) rename {fedilogger => fedilogue}/db.go (100%) rename fedilogger/fedilogger.go => fedilogue/fedilogue.go (100%) rename fedilogger/fedilogger_test.go => fedilogue/fedilogue_test.go (100%) rename {fedilogger => fedilogue}/follow.go (100%) rename {fedilogger => fedilogue}/go.mod (94%) rename {fedilogger => fedilogue}/go.sum (93%) rename {fedilogger => fedilogue}/instance.go (100%) rename {fedilogger => fedilogue}/instance_test.go (100%) rename {fedilogger => fedilogue}/log.go (100%) rename {fedilogger => fedilogue}/oauth.go (100%) rename {fedilogger => fedilogue}/poll.go (100%) rename {fedilogger => fedilogue}/retrieve.go (100%) rename {fedilogger => fedilogue}/retrieve_test.go (100%) rename {fedilogger => fedilogue}/stream.go (100%) rename {fedilogger => fedilogue}/tables.sql (100%) rename {fedilogger => fedilogue}/testhelper.go (100%) rename {fedilogger => fedilogue}/web.go (100%) diff --git a/fedilogger/Dockerfile b/fedilogue/Dockerfile similarity index 63% rename from fedilogger/Dockerfile rename to fedilogue/Dockerfile index 0e41b39..6ad9906 100644 --- a/fedilogger/Dockerfile +++ b/fedilogue/Dockerfile @@ -7,5 +7,5 @@ RUN go build . FROM alpine:latest WORKDIR /app -COPY --from=build /build/fedilogger /app/fedilogger -ENTRYPOINT ["/app/restapi"] +COPY --from=build /build/fedilogue /app/fedilogue +ENTRYPOINT ["/app/fedilogue"] diff --git a/fedilogger/config.go b/fedilogue/config.go similarity index 100% rename from fedilogger/config.go rename to fedilogue/config.go diff --git a/fedilogger/config_test.go b/fedilogue/config_test.go similarity index 100% rename from fedilogger/config_test.go rename to fedilogue/config_test.go diff --git a/fedilogger/ctl.go b/fedilogue/ctl.go similarity index 100% rename from fedilogger/ctl.go rename to fedilogue/ctl.go diff --git a/fedilogger/db.go b/fedilogue/db.go similarity index 100% rename from fedilogger/db.go rename to fedilogue/db.go diff --git a/fedilogger/fedilogger.go b/fedilogue/fedilogue.go similarity index 100% rename from fedilogger/fedilogger.go rename to fedilogue/fedilogue.go diff --git a/fedilogger/fedilogger_test.go b/fedilogue/fedilogue_test.go similarity index 100% rename from fedilogger/fedilogger_test.go rename to fedilogue/fedilogue_test.go diff --git a/fedilogger/follow.go b/fedilogue/follow.go similarity index 100% rename from fedilogger/follow.go rename to fedilogue/follow.go diff --git a/fedilogger/go.mod b/fedilogue/go.mod similarity index 94% rename from fedilogger/go.mod rename to fedilogue/go.mod index a8c7171..c219cf1 100644 --- a/fedilogger/go.mod +++ b/fedilogue/go.mod @@ -1,4 +1,4 @@ -module git.farhan.codes/farhan/fedilogue/fedilogger +module git.farhan.codes/farhan/fedilogue/fedilogue go 1.23.5 diff --git a/fedilogger/go.sum b/fedilogue/go.sum similarity index 93% rename from fedilogger/go.sum rename to fedilogue/go.sum index 4f10f5d..6a33fde 100644 --- a/fedilogger/go.sum +++ b/fedilogue/go.sum @@ -4,17 +4,20 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= +github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/go-fed/httpsig v1.1.0 h1:9M+hb0jkEICD8/cAiNqEB66R87tTINszBRTjwjQzWcI= github.com/go-fed/httpsig v1.1.0/go.mod h1:RCMrTZvN1bJYtofsG4rd5NaO5obxQ5xBkdiS7xsT7bM= github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/gofrs/uuid v4.0.0+incompatible h1:1SD/1F5pU8p29ybwgQSwpQk+mwdRrXCYuPhW6m+TnJw= github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= @@ -39,6 +42,7 @@ github.com/jackc/pgio v1.0.0 h1:g12B9UwVnzGhueNavwioyEEpAmqMe1E/BN9ES+8ovkE= github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE= github.com/jackc/pgmock v0.0.0-20201204152224-4fe30f7445fd/go.mod h1:hrBW0Enj2AZTNpt/7Y5rr2xe/9Mn757Wtb2xeBzPv2c= +github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65 h1:DadwsjnMwFjfWc9y5Wi/+Zz7xoE5ALHsRQlOctkOiHc= github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65/go.mod h1:5R2h2EEX+qri8jOWMbJCtaPWkrrNc7OHwsp2TCqp7ak= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= @@ -81,6 +85,7 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.10.2 h1:AqzbZs4ZoCBp+GtejcpCpcxM3zlSMx29dXbUSeVtJb8= github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= @@ -89,7 +94,9 @@ github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hd github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/microcosm-cc/bluemonday v1.0.27 h1:MpEUotklkwCSLeH+Qdx1VJgNqLlpY2KXwXFM08ygZfk= github.com/microcosm-cc/bluemonday v1.0.27/go.mod h1:jFi9vgW+H7c3V0lb6nR74Ib/DIB5OBs92Dimizgw2cA= +github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= @@ -97,6 +104,7 @@ github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OK github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= +github.com/shopspring/decimal v1.2.0 h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= @@ -108,6 +116,8 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= @@ -158,6 +168,8 @@ golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA= +golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= @@ -184,4 +196,6 @@ gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= diff --git a/fedilogger/instance.go b/fedilogue/instance.go similarity index 100% rename from fedilogger/instance.go rename to fedilogue/instance.go diff --git a/fedilogger/instance_test.go b/fedilogue/instance_test.go similarity index 100% rename from fedilogger/instance_test.go rename to fedilogue/instance_test.go diff --git a/fedilogger/log.go b/fedilogue/log.go similarity index 100% rename from fedilogger/log.go rename to fedilogue/log.go diff --git a/fedilogger/oauth.go b/fedilogue/oauth.go similarity index 100% rename from fedilogger/oauth.go rename to fedilogue/oauth.go diff --git a/fedilogger/poll.go b/fedilogue/poll.go similarity index 100% rename from fedilogger/poll.go rename to fedilogue/poll.go diff --git a/fedilogger/retrieve.go b/fedilogue/retrieve.go similarity index 100% rename from fedilogger/retrieve.go rename to fedilogue/retrieve.go diff --git a/fedilogger/retrieve_test.go b/fedilogue/retrieve_test.go similarity index 100% rename from fedilogger/retrieve_test.go rename to fedilogue/retrieve_test.go diff --git a/fedilogger/stream.go b/fedilogue/stream.go similarity index 100% rename from fedilogger/stream.go rename to fedilogue/stream.go diff --git a/fedilogger/tables.sql b/fedilogue/tables.sql similarity index 100% rename from fedilogger/tables.sql rename to fedilogue/tables.sql diff --git a/fedilogger/testhelper.go b/fedilogue/testhelper.go similarity index 100% rename from fedilogger/testhelper.go rename to fedilogue/testhelper.go diff --git a/fedilogger/web.go b/fedilogue/web.go similarity index 100% rename from fedilogger/web.go rename to fedilogue/web.go