From 877d495c9c1d9f17a380487f793dfcb66de11ac2 Mon Sep 17 00:00:00 2001 From: sm Date: Thu, 12 Sep 2024 12:34:46 +0200 Subject: [PATCH] v1.12.2 --- RELEASENOTES.md | 3 ++ driver/driver.go | 2 +- .../auth/{scrum_test.go => scram_test.go} | 2 +- prometheus/.gitignore | 5 +++ prometheus/go.mod | 6 ++-- prometheus/go.sum | 36 ------------------- 6 files changed, 13 insertions(+), 41 deletions(-) rename driver/internal/protocol/auth/{scrum_test.go => scram_test.go} (98%) create mode 100644 prometheus/.gitignore delete mode 100644 prometheus/go.sum diff --git a/RELEASENOTES.md b/RELEASENOTES.md index a06e624..607c6dc 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -5,6 +5,9 @@ Release Notes ### Minor revisions +#### v1.12.2 +- [fixed typo in test name](https://github.com/SAP/go-hdb/pull/139) + #### v1.12.1 - updated dependencies - support of additional linter checks diff --git a/driver/driver.go b/driver/driver.go index deb960e..dd569fa 100644 --- a/driver/driver.go +++ b/driver/driver.go @@ -10,7 +10,7 @@ import ( ) // DriverVersion is the version number of the hdb driver. -const DriverVersion = "1.12.1" +const DriverVersion = "1.12.2" // DriverName is the driver name to use with sql.Open for hdb databases. const DriverName = "hdb" diff --git a/driver/internal/protocol/auth/scrum_test.go b/driver/internal/protocol/auth/scram_test.go similarity index 98% rename from driver/internal/protocol/auth/scrum_test.go rename to driver/internal/protocol/auth/scram_test.go index 25f4e54..8ec79e2 100644 --- a/driver/internal/protocol/auth/scrum_test.go +++ b/driver/internal/protocol/auth/scram_test.go @@ -4,7 +4,7 @@ import ( "testing" ) -func TestSCRUM(t *testing.T) { +func TestSCRAM(t *testing.T) { testData := []struct { method string salt []byte diff --git a/prometheus/.gitignore b/prometheus/.gitignore new file mode 100644 index 0000000..5ff9894 --- /dev/null +++ b/prometheus/.gitignore @@ -0,0 +1,5 @@ +# as we do want to update the go-hdb version before pushing the repository +# we cannot 'go mod tidy' with the newest go-hdb version +# so, as go.mod and go.sum would be out of sync we don't push go.sum +# for the time being until a better solution is available +go.sum diff --git a/prometheus/go.mod b/prometheus/go.mod index 3b82a5e..6e6a643 100644 --- a/prometheus/go.mod +++ b/prometheus/go.mod @@ -4,8 +4,10 @@ go 1.22 toolchain go1.23.1 +// replace github.com/SAP/go-hdb => .. + require ( - github.com/SAP/go-hdb v1.12.1 + github.com/SAP/go-hdb v1.12.2 github.com/prometheus/client_golang v1.20.3 ) @@ -22,5 +24,3 @@ require ( golang.org/x/text v0.18.0 // indirect google.golang.org/protobuf v1.34.2 // indirect ) - -// replace github.com/SAP/go-hdb => .. diff --git a/prometheus/go.sum b/prometheus/go.sum deleted file mode 100644 index 5daaffa..0000000 --- a/prometheus/go.sum +++ /dev/null @@ -1,36 +0,0 @@ -github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= -github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= -github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -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/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA= -github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw= -github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= -github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -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/prometheus/client_golang v1.20.3 h1:oPksm4K8B+Vt35tUhw6GbSNSgVlVSBH0qELP/7u83l4= -github.com/prometheus/client_golang v1.20.3/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= -github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= -github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= -github.com/prometheus/common v0.59.1 h1:LXb1quJHWm1P6wq/U824uxYi4Sg0oGvNeUm1z5dJoX0= -github.com/prometheus/common v0.59.1/go.mod h1:GpWM7dewqmVYcd7SmRaiWVe9SSqjf0UrwnYnpEZNuT0= -github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc= -github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= -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= -golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A= -golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70= -golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= -golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= -golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= -google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=