diff -U2 -r /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/.github/renovate.json /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/.github/renovate.json --- /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/.github/renovate.json 2024-11-19 01:24:14.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/.github/renovate.json 2024-11-03 22:41:04.000000000 +0000 @@ -3,5 +3,5 @@ "extends": [ "config:recommended", - ":semanticCommitTypeAll(build)" + ":semanticCommitTypeAll(chore)" ], "prCreation": "not-pending", diff -U2 -r /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/.gitignore /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/.gitignore --- /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/.gitignore 2024-11-19 13:16:52.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/.gitignore 2024-11-13 16:14:14.000000000 +0000 @@ -36,5 +36,5 @@ ./shellc* -config.toml + data remote.go diff -U2 -r /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/PKGBUILD /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/PKGBUILD --- /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/PKGBUILD 2024-11-19 13:18:28.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/PKGBUILD 2024-11-17 15:49:54.000000000 +0000 @@ -2,5 +2,5 @@ pkgname=rokon -pkgver=1.0.0+95c38a7 +pkgver=1.0.0+fb98892 pkgrel=1 epoch=0 diff -U2 -r /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/flathub/go.mod.yml /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/flathub/go.mod.yml --- /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/flathub/go.mod.yml 2024-11-19 13:16:52.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/flathub/go.mod.yml 2024-11-17 15:49:28.000000000 +0000 @@ -24,8 +24,8 @@ url: https://proxy.golang.org/github.com/diamondburned/gotk4/pkg/@v/v0.3.1.zip - dest: vendor/github.com/go-resty/resty/v2 - sha256: 8d420e548eb4416e117fef8d2b83cdfb6de780b84bc24c3af9880d08e58cc9dd + sha256: 59d602cd4adae6e66f867932a0b4e7103ad4a4a970010ae6c8c0529baded7526 strip-components: 4 type: archive - url: https://proxy.golang.org/github.com/go-resty/resty/v2/@v/v2.16.0.zip + url: https://proxy.golang.org/github.com/go-resty/resty/v2/@v/v2.15.3.zip - dest: vendor/github.com/ianlancetaylor/cgosymbolizer sha256: 75f17cd2577f75be47c7f7c4fd6e168b7b02e454ef2e5071a7430d17998ec559 diff -U2 -r /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/flathub/modules.txt /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/flathub/modules.txt --- /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/flathub/modules.txt 2024-11-19 13:16:52.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/flathub/modules.txt 2024-11-17 15:49:28.000000000 +0000 @@ -39,5 +39,5 @@ github.com/diamondburned/gotk4/pkg/gtk/v4 github.com/diamondburned/gotk4/pkg/pango -# github.com/go-resty/resty/v2 v2.16.0 +# github.com/go-resty/resty/v2 v2.15.3 ## explicit; go 1.20 github.com/go-resty/resty/v2 diff -U2 -r /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/go.mod /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/go.mod --- /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/go.mod 2024-11-19 13:16:52.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/go.mod 2024-11-17 15:49:28.000000000 +0000 @@ -8,5 +8,5 @@ github.com/brycensranch/go-aptabase/pkg v0.0.0-20241110150153-bfe02ddfffce github.com/diamondburned/gotk4/pkg v0.3.1 - github.com/go-resty/resty/v2 v2.16.0 + github.com/go-resty/resty/v2 v2.15.3 github.com/ianlancetaylor/cgosymbolizer v0.0.0-20241025222116-6b205f073fdd github.com/koron/go-ssdp v0.0.4 @@ -21,19 +21,4 @@ require ( github.com/KarpelesLab/weak v0.1.1 // indirect - github.com/fsnotify/fsnotify v1.7.0 // indirect - github.com/hashicorp/hcl v1.0.0 // indirect - github.com/magiconair/properties v1.8.7 // indirect - github.com/mitchellh/mapstructure v1.5.0 // indirect - github.com/pelletier/go-toml/v2 v2.2.2 // indirect - github.com/sagikazarmark/locafero v0.4.0 // indirect - github.com/sagikazarmark/slog-shim v0.1.0 // indirect - github.com/sourcegraph/conc v0.3.0 // indirect - github.com/spf13/afero v1.11.0 // indirect - github.com/spf13/cast v1.6.0 // indirect - github.com/spf13/pflag v1.0.5 // indirect - github.com/spf13/viper v1.19.0 // indirect - github.com/subosito/gotenv v1.6.0 // indirect - go.uber.org/atomic v1.9.0 // indirect - go.uber.org/multierr v1.9.0 // indirect go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 // indirect golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect @@ -41,6 +26,3 @@ golang.org/x/sync v0.9.0 // indirect golang.org/x/sys v0.27.0 // indirect - golang.org/x/text v0.20.0 // indirect - gopkg.in/ini.v1 v1.67.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect ) diff -U2 -r /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/go.sum /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/go.sum --- /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/go.sum 2024-11-19 13:16:52.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/go.sum 2024-11-17 15:49:28.000000000 +0000 @@ -7,61 +7,18 @@ github.com/brycensranch/go-aptabase/pkg v0.0.0-20241110150153-bfe02ddfffce h1:9OOSlKtlfLIBLZjnEO6mRWhTUuG3OwWjo41/Bbv5yB8= github.com/brycensranch/go-aptabase/pkg v0.0.0-20241110150153-bfe02ddfffce/go.mod h1:+CLh6qvqShXtx96GWizVY1D2mtk/or2TET+uirQR0Rk= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/diamondburned/gotk4/pkg v0.3.1 h1:uhkXSUPUsCyz3yujdvl7DSN8jiLS2BgNTQE95hk6ygg= github.com/diamondburned/gotk4/pkg v0.3.1/go.mod h1:DqeOW+MxSZFg9OO+esk4JgQk0TiUJJUBfMltKhG+ub4= -github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= -github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/go-resty/resty/v2 v2.15.3 h1:bqff+hcqAflpiF591hhJzNdkRsFhlB96CYfBwSFvql8= github.com/go-resty/resty/v2 v2.15.3/go.mod h1:0fHAoK7JoBy/Ch36N8VFeMsK7xQOHhvWaC3iOktwmIU= -github.com/go-resty/resty/v2 v2.16.0 h1:qpKalHWI2bpp9BIKlyT8TYWEJXOk1NuKbfiT3RRnzWc= -github.com/go-resty/resty/v2 v2.16.0/go.mod h1:0fHAoK7JoBy/Ch36N8VFeMsK7xQOHhvWaC3iOktwmIU= -github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= -github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/ianlancetaylor/cgosymbolizer v0.0.0-20241025222116-6b205f073fdd h1:ZQWb/5KPclX4ztaKJaC0Esm6qLmjKjl0C3cYsg9Qi0s= github.com/ianlancetaylor/cgosymbolizer v0.0.0-20241025222116-6b205f073fdd/go.mod h1:DvXTE/K/RtHehxU8/GtDs4vFtfw64jJ3PaCnFri8CRg= github.com/koron/go-ssdp v0.0.4 h1:1IDwrghSKYM7yLf7XCzbByg2sJ/JcNOZRXS2jczTwz0= github.com/koron/go-ssdp v0.0.4/go.mod h1:oDXq+E5IL5q0U8uSBcoAXzTzInwy5lEgC91HoKtbmZk= -github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= -github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= -github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= -github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/pelletier/go-toml/v2 v2.2.2 h1:aYUidT7k73Pcl9nb2gScu7NSrKCSHIDE89b3+6Wq+LM= -github.com/pelletier/go-toml/v2 v2.2.2/go.mod h1:1t835xjRzz80PqgE6HHgN2JOsmgYu/h4qDAS4n929Rs= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6keLGt6kNQ= -github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= -github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= -github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= -github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= -github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= -github.com/spf13/afero v1.11.0 h1:WJQKhtpdm3v2IzqG8VMqrr6Rf3UYpEF239Jy9wNepM8= -github.com/spf13/afero v1.11.0/go.mod h1:GH9Y3pIexgf1MTIWtNGyogA5MwRIDXGUr+hbWNoBjkY= -github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0= -github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.19.0 h1:RWq5SEjt8o25SROyN3z2OrDB9l7RPd3lwTWU8EcEdcI= -github.com/spf13/viper v1.19.0/go.mod h1:GQUN9bilAbhU/jgc1bKs99f/suXKeUMct8Adx5+Ntkg= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= -github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= -go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= -go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/multierr v1.9.0 h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI= -go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ= go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 h1:lGdhQUN/cnWdSH3291CUuxSEqc+AsGTiDxPP3r2J0l4= go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6/go.mod h1:FftLjUGFEDu5k8lt0ddY+HcrH/qU/0qk+H8j9/nTl3E= @@ -76,12 +33,6 @@ golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s= golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.20.0 h1:gK/Kv2otX8gz+wn7Rmb3vT96ZwuoxnQlY+HlJVj7Qug= -golang.org/x/text v0.20.0/go.mod h1:D4IsuqiFMhST5bX19pQ9ikHC2GsaKyk/oF+pn3ducp4= golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U= golang.org/x/time v0.6.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= -gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -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= diff -U2 -r /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/main.go /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/main.go --- /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/main.go 2024-11-19 13:16:52.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/main.go 2024-11-17 15:49:28.000000000 +0000 @@ -14,8 +14,6 @@ "strconv" "strings" - "time" "github.com/adrg/xdg" - "github.com/spf13/viper" "golang.org/x/mod/semver" @@ -121,16 +119,18 @@ commit = "unknown" branch = "unknown" - date = "unknown" - logFilePath = filepath.Join(xdg.DataHome, "rokon", "logs", "latest.log") - tempDir = filepath.Join(xdg.CacheHome, "rokon") + logFilePath = filepath.Join(xdg.DataHome, "rokon", "logs", "latest.log") + tempDir = filepath.Join(xdg.CacheHome, "rokon") ) func main() { - execDir, err := os.Executable() - if err != nil { - log.Println("Error getting executable path:", err) - return - } - execDir = filepath.Dir(execDir) // Get the directory where the executable is located + execDir, err := os.Executable() + if err != nil { + fmt.Println("Error getting executable path:", err) + return + } + + execDir = filepath.Dir(execDir) // Get the directory where the executable is located + + if fileExists(filepath.Join(execDir, "portable.txt")) { @@ -138,41 +138,14 @@ tempDir = filepath.Join(execDir, "data", "cache") } - logDir := filepath.Dir(logFilePath) - err = os.MkdirAll(filepath.Dir(logFilePath), 0o755) + err = os.MkdirAll(filepath.Dir(logFilePath), 0755) if err != nil { - log.Println("Error creating directory:", err) + fmt.Println("Error creating directory:", err) return } - - // Check if the latest.log file exists, and if so, rename it to the date-based file name - if fileExists(logFilePath) { - // Generate the new log filename based on the current date - today := time.Now().Format("2006-01-02") // Date format: YYYY-MM-DD - backupLogPath := filepath.Join(logDir, fmt.Sprintf("main-%s.log", today)) - - if fileExists(backupLogPath) { - backupLogFileBytes, err := os.ReadFile(backupLogPath) - // Irresponsibly ignoring errors! Don't do this at home, kids. - logFileBytes, _ := os.ReadFile(logFilePath) - combinedLogFileBytes := append(backupLogFileBytes, logFileBytes...) - if err != nil { - log.Printf("Couldn't read %s. Not attempting to append it with latest.log from today.", backupLogPath) - } else { - os.WriteFile(backupLogPath, combinedLogFileBytes, 0o755) - } - } else { - // Rename the current latest.log to the new file - err := os.Rename(logFilePath, backupLogPath) - if err != nil { - log.Printf("Error renaming log file: %v\n", err) - return - } - } - log.Printf("Renamed **OLD** latest.log to %s\n", backupLogPath) - } - logFile, err := os.OpenFile(logFilePath, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0o755) + // Open a log file (in append mode). + logFile, err := os.OpenFile(logFilePath, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0666) if err != nil { - log.Println("Error opening rokon log file:", err) + fmt.Println("Error opening rokon log file:", err) return } @@ -193,28 +166,4 @@ log.Printf("Log file: %s", logFilePath) log.Println("Starting Rokon. Now with more telemetry!") - viper.SetConfigName("config") - viper.SetConfigType("toml") - viper.AddConfigPath(".") - configDirectoryPath := filepath.Join(xdg.ConfigHome, "rokon") - viper.AddConfigPath(configDirectoryPath) - viper.AutomaticEnv() - for _, dir := range xdg.ConfigDirs { - viper.AddConfigPath(dir) - } - viper.SetEnvPrefix("rokon") // will be uppercased automatically - viper.SetDefault("telemetry", (telemetryOnByDefault == "1" || telemetryOnByDefault == "true")) - viper.SetDefault("scanOnStartup", true) - - err = viper.ReadInConfig() // Find and read the config file - if err != nil { - if _, ok := err.(viper.ConfigFileNotFoundError); ok { - viper.WriteConfigAs(filepath.Join(configDirectoryPath, "config.toml")) // Deploy the default config! - } else { - // Handle errors reading the config file - panic(fmt.Errorf("fatal error reading config file: %w", err)) - } - } - telemetry := viper.GetBool("telemetry") - if telemetry { switch runtime.GOOS { case "windows", "darwin": @@ -227,54 +176,50 @@ if packageFormat == "detect" { - _, err = os.Stat("/.dockerenv") + _, err = os.Stat("/.dockerenv") - switch { - case os.Getenv("APPIMAGE") != "": - packageFormat = "AppImage" - case err == nil: - packageFormat = "docker" - case os.Getenv("CONTAINER") == "oci": - packageFormat = "docker" - - case fileExists(filepath.Join(execDir, "share", "packageFormat")): - content, err := os.ReadFile(filepath.Join(execDir, "share", "packageFormat")) - if err == nil { - packageFormat = string(content) - } - case fileExists(filepath.Join(execDir, "usr", "share", "packageFormat")): - content, err := os.ReadFile(filepath.Join(execDir, "usr", "share", "packageFormat")) - if err == nil { - packageFormat = string(content) - } - case fileExists(filepath.Join(execDir, "usr", "share", "rokon", "packageFormat")): - content, err := os.ReadFile(filepath.Join(execDir, "usr", "share", "rokon", "packageFormat")) - if err == nil { - packageFormat = string(content) - } - case fileExists(filepath.Join(execDir, "usr", "local", "share", "rokon", "packageFormat")): - content, err := os.ReadFile(filepath.Join(execDir, "usr", "share", "rokon", "packageFormat")) - if err == nil { - packageFormat = string(content) - } - default: - // Set to "native" if no valid package format is detected - packageFormat = "native" + switch { + case os.Getenv("APPIMAGE") != "": + packageFormat = "AppImage" + case err == nil: + packageFormat = "docker" + case os.Getenv("CONTAINER") == "oci": + packageFormat = "docker" + + case fileExists(filepath.Join(execDir, "share", "packageFormat")): + content, err := os.ReadFile(filepath.Join(execDir, "share", "packageFormat")) + if err == nil { + packageFormat = string(content) + } + case fileExists(filepath.Join(execDir, "usr", "share", "packageFormat")): + content, err := os.ReadFile(filepath.Join(execDir, "usr", "share", "packageFormat")) + if err == nil { + packageFormat = string(content) + } + case fileExists(filepath.Join(execDir, "usr", "share", "rokon", "packageFormat")): + content, err := os.ReadFile(filepath.Join(execDir, "usr", "share", "rokon", "packageFormat")) + if err == nil { + packageFormat = string(content) + } + case fileExists(filepath.Join(execDir, "usr", "local", "share", "rokon", "packageFormat")): + content, err := os.ReadFile(filepath.Join(execDir, "usr", "share", "rokon", "packageFormat")) + if err == nil { + packageFormat = string(content) } - - log.Println("Detected package format:", packageFormat) + default: + // Set to "native" if no valid package format is detected + packageFormat = "native" } + + log.Println("Detected package format:", packageFormat) } + app := gtk.NewApplication("io.github.brycensranch.Rokon", gio.ApplicationFlagsNone) - if telemetry { aptabaseClient = aptabase.NewClient("A-US-0332858461", version, uint64(133), false, "") aptabaseClient.Logger = telemetryLogger - } if version != "" { app.SetVersion(version) } - log.Printf("Version %s commit %s branch %s (built on %s)\n", version, commit, branch, date) - if telemetry { - + log.Printf("Version %s commit %s branch %s\n", version, commit, branch) switch runtime.GOOS { case "linux": @@ -319,7 +264,10 @@ if firejail { telemetryLogger.Println("Running from an AppImage with firejail") + // Adjust telemetry or other settings as needed. } createEvent("appimage_run", map[string]interface{}{ + // The APPIAMGE variable often points to the user's /home/identifyingrealname/Applications + // So strip that data out "appimage": filepath.Base(appImage), "appimageVersion": version, // Replace with your app version logic @@ -374,15 +322,12 @@ }) } -} app.ConnectActivate(func() { activate(app) }) app.ConnectCommandLine(func(commandLine *gio.ApplicationCommandLine) int { return activateCommandLine(app, commandLine) }) - if telemetry { // Flush buffered events before the program terminates. // Set the timeout to the maximum duration the program can afford to wait. aptabaseClient.Quit = true aptabaseClient.Stop() - } if code := app.Run(os.Args); code > 0 { os.Exit(code) @@ -396,5 +341,5 @@ if arg == "version" || arg == "--version" { // Print version info - log.Println(applicationInfo()) + fmt.Println(applicationInfo()) return 0 // Return 0 to indicate success } @@ -485,5 +430,5 @@ //nolint:gosec // In GTK We trust. aboutWindow.SetSystemInformation( - fmt.Sprintf("OS: %s (%s,%s)\n", getOSRelease(), runtime.GOOS, runtime.GOARCH) + fmt.Sprintf("Go: %s\n", runtime.Version()) + fmt.Sprintf("GTK: %d.%d.%d", int(gtk.GetMajorVersion()), int(gtk.GetMinorVersion()), int(gtk.GetMicroVersion())), + fmt.Sprintf("OS: %s (%s,%s)\n", getOSRelease(), runtime.GOOS, runtime.GOARCH) + fmt.Sprintf("Go: %s\n", runtime.Version()) + fmt.Sprintf("GTK: %d.%d.%d", int(gtk.GetMajorVersion()), int(gtk.GetMinorVersion()), int(gtk.GetMicroVersion())), ) aboutWindow.SetCopyright("©️ 2024 Brycen G and contributors, but mostly Brycen") @@ -570,5 +515,5 @@ if resp.StatusCode() != 200 { - log.Printf("Update Check Failed. Unable to fetch release info: " + resp.Status()) + log.Printf("Update Check Failed. Unable to fetch release info: "+resp.Status()) return } @@ -578,5 +523,5 @@ appVersion := app.Version() if semver.Compare(latestReleaseVersion, appVersion) > 0 { - log.Printf("A new version is available: " + latestReleaseVersion) + log.Printf("A new version is available: "+latestReleaseVersion) } else if semver.Compare(latestReleaseVersion, appVersion) == 0 { log.Printf("Rokon is up to date!") @@ -645,5 +590,5 @@ interfaces, err := net.Interfaces() if err != nil { - log.Println("Error fetching network interfaces:", err) + fmt.Println("Error fetching network interfaces:", err) return } @@ -718,17 +663,6 @@ // window.Maximize() - scanOnStartup := viper.GetBool("scanOnStartup") // Start searching for Rokus when the app is activated - var rokuChan chan []ssdp.Service - if scanOnStartup { - rokuChan = searchForRokus() - } else { - // Empty! - rokuChan = make(chan []ssdp.Service) - log.Printf("scanOnStartup is FALSE. Not scanning for Rokus.") - glib.IdleAdd(func() { - window.SetChild(>k.NewLabel("Welcome to Rokon, to get started, enter your Roku's IP address.\nTo get it's IP address, go into Settings -> Network").Widget) - }) - } + rokuChan := searchForRokus() // Goroutine that waits for Roku discovery to finish @@ -739,8 +673,6 @@ glib.IdleAdd(func() { if discoveredRokus != nil { - log.Println("Discovered Rokus:", discoveredRokus) + fmt.Println("Discovered Rokus:", discoveredRokus) window.SetChild(>k.NewLabel("Discovered Rokus:").Widget) - log.Println("Number of goroutines:", runtime.NumGoroutine()) - } else { window.SetChild(>k.NewLabel("No Rokus discovered via SSDP!").Widget) @@ -759,13 +691,13 @@ if err != nil { - log.Println("Error:", err) + fmt.Println("Error:", err) } else { - log.Println("Trace Info:", resp.Request.TraceInfo()) - log.Println("Status Code:", resp.StatusCode()) - log.Println("Status:", resp.Status()) - log.Println("Proto:", resp.Proto()) - log.Println("Time:", resp.Time()) - log.Println("Received At:", resp.ReceivedAt()) - log.Println("Body:", resp) + fmt.Println("Trace Info:", resp.Request.TraceInfo()) + fmt.Println("Status Code:", resp.StatusCode()) + fmt.Println("Status:", resp.Status()) + fmt.Println("Proto:", resp.Proto()) + fmt.Println("Time:", resp.Time()) + fmt.Println("Received At:", resp.ReceivedAt()) + fmt.Println("Body:", resp) } @@ -805,7 +737,7 @@ grid := gtk.NewGrid() grid.Attach(&vbox.Widget, 1, 0, 1, 1) - vbox.SetMarginTop(10) // Optional: Add some margin to the top - vbox.SetMarginEnd(10) // Optional: Add some margin to the right - vbox.SetHAlign(gtk.AlignEnd) // Align horizontally to the right (end) + vbox.SetMarginTop(10) // Optional: Add some margin to the top + vbox.SetMarginEnd(10) // Optional: Add some margin to the right + vbox.SetHAlign(gtk.AlignEnd) // Align horizontally to the right (end) vbox.SetVAlign(gtk.AlignStart) // Align vertically to the top (start) window.SetChild(grid) @@ -816,6 +748,4 @@ label := gtk.NewLabel(labelText) vbox.Append(label) // Add label to the vertical box - log.Println("Number of goroutines:", runtime.NumGoroutine()) - } else { window.SetChild(>k.NewLabel("No Rokus discovered via SSDP!").Widget) Only in /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com: fsnotify diff -U2 -r /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com/go-resty/resty/v2/README.md /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/vendor/github.com/go-resty/resty/v2/README.md --- /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com/go-resty/resty/v2/README.md 2024-11-19 13:20:16.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/vendor/github.com/go-resty/resty/v2/README.md 2024-11-17 15:51:00.000000000 +0000 @@ -5,10 +5,10 @@
-
+ ## News - * v2.16.0 [released](https://github.com/go-resty/resty/releases/tag/v2.16.0) and tagged on Nov 10, 2024. + * v2.15.3 [released](https://github.com/go-resty/resty/releases/tag/v2.15.3) and tagged on Sep 26, 2024. * v2.0.0 [released](https://github.com/go-resty/resty/releases/tag/v2.0.0) and tagged on Jul 16, 2019. * v1.12.0 [released](https://github.com/go-resty/resty/releases/tag/v1.12.0) and tagged on Feb 27, 2019. @@ -106,5 +106,5 @@ ```bash # Go Modules -require github.com/go-resty/resty/v2 v2.16.0 +require github.com/go-resty/resty/v2 v2.15.3 ``` diff -U2 -r /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com/go-resty/resty/v2/client.go /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/vendor/github.com/go-resty/resty/v2/client.go --- /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com/go-resty/resty/v2/client.go 2024-11-19 13:20:16.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/vendor/github.com/go-resty/resty/v2/client.go 2024-11-17 15:51:00.000000000 +0000 @@ -156,5 +156,4 @@ rateLimiter RateLimiter generateCurlOnDebug bool - unescapeQueryParams bool } @@ -327,15 +326,4 @@ } -// SetUnescapeQueryParams method sets the unescape query parameters choice for request URL. -// To prevent broken URL, resty replaces space (" ") with "+" in the query parameters. -// -// See [Request.SetUnescapeQueryParams] -// -// NOTE: Request failure is possible due to non-standard usage of Unescaped Query Parameters. -func (c *Client) SetUnescapeQueryParams(unescape bool) *Client { - c.unescapeQueryParams = unescape - return c -} - // SetFormData method sets Form parameters and their values in the client instance. // It applies only to HTTP methods `POST` and `PUT`, and the request content type would be set as @@ -459,5 +447,4 @@ responseBodyLimit: c.ResponseBodyLimit, generateCurlOnDebug: c.generateCurlOnDebug, - unescapeQueryParams: c.unescapeQueryParams, } return r diff -U2 -r /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com/go-resty/resty/v2/middleware.go /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/vendor/github.com/go-resty/resty/v2/middleware.go --- /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com/go-resty/resty/v2/middleware.go 2024-11-19 13:20:16.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/vendor/github.com/go-resty/resty/v2/middleware.go 2024-11-17 15:51:00.000000000 +0000 @@ -155,13 +155,4 @@ } - // GH#797 Unescape query parameters - if r.unescapeQueryParams && len(reqURL.RawQuery) > 0 { - // at this point, all errors caught up in the above operations - // so ignore the return error on query unescape; I realized - // while writing the unit test - unescapedQuery, _ := url.QueryUnescape(reqURL.RawQuery) - reqURL.RawQuery = strings.ReplaceAll(unescapedQuery, " ", "+") // otherwise request becomes bad request - } - r.URL = reqURL.String() @@ -264,17 +255,15 @@ } + bodyCopy, err := getBodyCopy(r) + if err != nil { + return err + } + // assign get body func for the underlying raw request instance - if r.RawRequest.GetBody == nil { - bodyCopy, err := getBodyCopy(r) - if err != nil { - return err - } + r.RawRequest.GetBody = func() (io.ReadCloser, error) { if bodyCopy != nil { - buf := bodyCopy.Bytes() - r.RawRequest.GetBody = func() (io.ReadCloser, error) { - b := bytes.NewReader(buf) - return io.NopCloser(b), nil - } + return io.NopCloser(bytes.NewReader(bodyCopy.Bytes())), nil } + return nil, nil } diff -U2 -r /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com/go-resty/resty/v2/request.go /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/vendor/github.com/go-resty/resty/v2/request.go --- /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com/go-resty/resty/v2/request.go 2024-11-19 13:20:16.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/vendor/github.com/go-resty/resty/v2/request.go 2024-11-17 15:51:00.000000000 +0000 @@ -74,5 +74,4 @@ responseBodyLimit int generateCurlOnDebug bool - unescapeQueryParams bool } @@ -211,15 +210,4 @@ return r } - -// SetUnescapeQueryParams method sets the unescape query parameters choice for request URL. -// To prevent broken URL, resty replaces space (" ") with "+" in the query parameters. -// -// This method overrides the value set by [Client.SetUnescapeQueryParams] -// -// NOTE: Request failure is possible due to non-standard usage of Unescaped Query Parameters. -func (r *Request) SetUnescapeQueryParams(unescape bool) *Request { - r.unescapeQueryParams = unescape - return r -} // SetQueryParamsFromValues method appends multiple parameters with multi-value diff -U2 -r /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com/go-resty/resty/v2/resty.go /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/vendor/github.com/go-resty/resty/v2/resty.go --- /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com/go-resty/resty/v2/resty.go 2024-11-19 13:20:16.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/vendor/github.com/go-resty/resty/v2/resty.go 2024-11-17 15:51:00.000000000 +0000 @@ -15,5 +15,5 @@ // Version # of resty -const Version = "2.16.0" +const Version = "2.15.3" // New method creates a new Resty client. diff -U2 -r /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com/go-resty/resty/v2/util_curl.go /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/vendor/github.com/go-resty/resty/v2/util_curl.go --- /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com/go-resty/resty/v2/util_curl.go 2024-11-19 13:20:16.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/vendor/github.com/go-resty/resty/v2/util_curl.go 2024-11-17 15:51:00.000000000 +0000 @@ -28,5 +28,5 @@ cookies := cookieJar.Cookies(req.URL) if len(cookies) > 0 { - curl += `-H ` + shellescape.Quote(dumpCurlCookies(cookies)) + " " + curl += ` -H ` + shellescape.Quote(dumpCurlCookies(cookies)) + " " } } @@ -36,5 +36,5 @@ buf, _ := io.ReadAll(req.Body) req.Body = io.NopCloser(bytes.NewBuffer(buf)) // important!! - curl += `-d ` + shellescape.Quote(string(buf)) + " " + curl += `-d ` + shellescape.Quote(string(buf)) } @@ -43,5 +43,5 @@ urlString = "'http://unexecuted-request'" } - curl += urlString + curl += " " + urlString return curl } Only in /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com: hashicorp Only in /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com: magiconair Only in /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com: mitchellh Only in /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com: pelletier Only in /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com: sagikazarmark Only in /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com: sourcegraph Only in /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com: spf13 Only in /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/github.com: subosito Only in /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor: go.uber.org Only in /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/golang.org/x/exp: constraints Only in /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/golang.org/x/exp: slices Only in /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/golang.org/x/exp: slog Only in /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/golang.org/x: text Only in /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor: gopkg.in diff -U2 -r /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/modules.txt /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/vendor/modules.txt --- /var/lib/copr-rpmbuild/results/rokon/upstream-unpacked/Source0/vendor/modules.txt 2024-11-19 13:20:16.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/rokon/srpm-unpacked/rokon-vendored-source.zip-extract/vendor/modules.txt 2024-11-17 15:51:00.000000000 +0000 @@ -39,23 +39,8 @@ github.com/diamondburned/gotk4/pkg/gtk/v4 github.com/diamondburned/gotk4/pkg/pango -# github.com/fsnotify/fsnotify v1.7.0 -## explicit; go 1.17 -github.com/fsnotify/fsnotify -# github.com/go-resty/resty/v2 v2.16.0 +# github.com/go-resty/resty/v2 v2.15.3 ## explicit; go 1.20 github.com/go-resty/resty/v2 github.com/go-resty/resty/v2/shellescape -# github.com/hashicorp/hcl v1.0.0 -## explicit -github.com/hashicorp/hcl -github.com/hashicorp/hcl/hcl/ast -github.com/hashicorp/hcl/hcl/parser -github.com/hashicorp/hcl/hcl/printer -github.com/hashicorp/hcl/hcl/scanner -github.com/hashicorp/hcl/hcl/strconv -github.com/hashicorp/hcl/hcl/token -github.com/hashicorp/hcl/json/parser -github.com/hashicorp/hcl/json/scanner -github.com/hashicorp/hcl/json/token # github.com/ianlancetaylor/cgosymbolizer v0.0.0-20241025222116-6b205f073fdd ## explicit; go 1.12 @@ -66,63 +51,6 @@ github.com/koron/go-ssdp/internal/multicast github.com/koron/go-ssdp/internal/ssdplog -# github.com/magiconair/properties v1.8.7 -## explicit; go 1.19 -github.com/magiconair/properties -# github.com/mitchellh/mapstructure v1.5.0 -## explicit; go 1.14 -github.com/mitchellh/mapstructure -# github.com/pelletier/go-toml/v2 v2.2.2 -## explicit; go 1.16 -github.com/pelletier/go-toml/v2 -github.com/pelletier/go-toml/v2/internal/characters -github.com/pelletier/go-toml/v2/internal/danger -github.com/pelletier/go-toml/v2/internal/tracker -github.com/pelletier/go-toml/v2/unstable # github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 ## explicit -# github.com/sagikazarmark/locafero v0.4.0 -## explicit; go 1.20 -github.com/sagikazarmark/locafero -# github.com/sagikazarmark/slog-shim v0.1.0 -## explicit; go 1.20 -github.com/sagikazarmark/slog-shim -# github.com/sourcegraph/conc v0.3.0 -## explicit; go 1.19 -github.com/sourcegraph/conc -github.com/sourcegraph/conc/internal/multierror -github.com/sourcegraph/conc/iter -github.com/sourcegraph/conc/panics -# github.com/spf13/afero v1.11.0 -## explicit; go 1.19 -github.com/spf13/afero -github.com/spf13/afero/internal/common -github.com/spf13/afero/mem -# github.com/spf13/cast v1.6.0 -## explicit; go 1.19 -github.com/spf13/cast -# github.com/spf13/pflag v1.0.5 -## explicit; go 1.12 -github.com/spf13/pflag -# github.com/spf13/viper v1.19.0 -## explicit; go 1.20 -github.com/spf13/viper -github.com/spf13/viper/internal/encoding -github.com/spf13/viper/internal/encoding/dotenv -github.com/spf13/viper/internal/encoding/hcl -github.com/spf13/viper/internal/encoding/ini -github.com/spf13/viper/internal/encoding/javaproperties -github.com/spf13/viper/internal/encoding/json -github.com/spf13/viper/internal/encoding/toml -github.com/spf13/viper/internal/encoding/yaml -github.com/spf13/viper/internal/features -# github.com/subosito/gotenv v1.6.0 -## explicit; go 1.18 -github.com/subosito/gotenv -# go.uber.org/atomic v1.9.0 -## explicit; go 1.13 -go.uber.org/atomic -# go.uber.org/multierr v1.9.0 -## explicit; go 1.19 -go.uber.org/multierr # go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 ## explicit; go 1.11 @@ -130,10 +58,5 @@ # golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f ## explicit; go 1.22.0 -golang.org/x/exp/constraints golang.org/x/exp/rand -golang.org/x/exp/slices -golang.org/x/exp/slog -golang.org/x/exp/slog/internal -golang.org/x/exp/slog/internal/buffer # golang.org/x/mod v0.22.0 ## explicit; go 1.22.0 @@ -154,18 +77,2 @@ golang.org/x/sys/windows golang.org/x/sys/windows/registry -# golang.org/x/text v0.20.0 -## explicit; go 1.18 -golang.org/x/text/encoding -golang.org/x/text/encoding/internal -golang.org/x/text/encoding/internal/identifier -golang.org/x/text/encoding/unicode -golang.org/x/text/internal/utf8internal -golang.org/x/text/runes -golang.org/x/text/transform -golang.org/x/text/unicode/norm -# gopkg.in/ini.v1 v1.67.0 -## explicit -gopkg.in/ini.v1 -# gopkg.in/yaml.v3 v3.0.1 -## explicit -gopkg.in/yaml.v3