From 43caafa34df7a7ac55e7e03bab0aff3ea7d159a7 Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 5 Aug 2021 21:14:27 -0700 Subject: [PATCH] Replace problematic release of `github.com/oleiade/reflections` dependency This indirect dependency had a force push that changed the checksum of its v1.0.0. This causes Dependabot to fail, meaning it won't provide any notifications of dependency updates (nor is Dependabot so kind as to provide a notification of failures). There has been a new release of `github.com/oleiade/reflections` and this is slowly working its way up Arduino Lint's supply chain, but it's still not here. So I am forcing a replacement of the module's v1.0.0 tag with the v1.0.1, which is identical to v1.0.0. This change should be reverted once the supply chain provides v1.0.1 directly. --- docsgen/go.mod | 2 ++ docsgen/go.sum | 2 +- go.mod | 2 ++ go.sum | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docsgen/go.mod b/docsgen/go.mod index 6a1f49b14..c7773d6be 100644 --- a/docsgen/go.mod +++ b/docsgen/go.mod @@ -5,6 +5,8 @@ go 1.16 replace github.com/arduino/arduino-lint => ../ +replace github.com/oleiade/reflections => github.com/oleiade/reflections v1.0.1 // https://github.com/oleiade/reflections/issues/14 + require ( github.com/arduino/arduino-lint v0.0.0 github.com/spf13/cobra v1.1.1 diff --git a/docsgen/go.sum b/docsgen/go.sum index 3ae4ef5e1..2963774b4 100644 --- a/docsgen/go.sum +++ b/docsgen/go.sum @@ -751,7 +751,7 @@ github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLA github.com/nkovacs/streamquote v1.0.0/go.mod h1:BN+NaZ2CmdKqUuTUXUEm9j95B2TRbpOWpxbJYzzgUsc= github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d/go.mod h1:YUTz3bUH2ZwIWBy3CJBeOBEugqcmXREj14T+iG/4k4U= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/oleiade/reflections v1.0.0/go.mod h1:RbATFBbKYkVdqmSFtx13Bb/tVhR0lgOBXunWTZKeL4w= +github.com/oleiade/reflections v1.0.1/go.mod h1:rdFxbxq4QXVZWj0F+e9jqjDkc7dbp97vkRixKo2JR60= github.com/oleksandr/bonjour v0.0.0-20160508152359-5dcf00d8b228/go.mod h1:MGuVJ1+5TX1SCoO2Sx0eAnjpdRytYla2uC1YIZfkC9c= github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= diff --git a/go.mod b/go.mod index a6ae3912e..d70de9959 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module github.com/arduino/arduino-lint go 1.16 +replace github.com/oleiade/reflections => github.com/oleiade/reflections v1.0.1 // https://github.com/oleiade/reflections/issues/14 + require ( github.com/Microsoft/go-winio v0.4.16 // indirect github.com/OneOfOne/xxhash v1.2.8 // indirect diff --git a/go.sum b/go.sum index 3b2875646..0542a023a 100644 --- a/go.sum +++ b/go.sum @@ -749,7 +749,7 @@ github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLA github.com/nkovacs/streamquote v1.0.0/go.mod h1:BN+NaZ2CmdKqUuTUXUEm9j95B2TRbpOWpxbJYzzgUsc= github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d/go.mod h1:YUTz3bUH2ZwIWBy3CJBeOBEugqcmXREj14T+iG/4k4U= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/oleiade/reflections v1.0.0/go.mod h1:RbATFBbKYkVdqmSFtx13Bb/tVhR0lgOBXunWTZKeL4w= +github.com/oleiade/reflections v1.0.1/go.mod h1:rdFxbxq4QXVZWj0F+e9jqjDkc7dbp97vkRixKo2JR60= github.com/oleksandr/bonjour v0.0.0-20160508152359-5dcf00d8b228/go.mod h1:MGuVJ1+5TX1SCoO2Sx0eAnjpdRytYla2uC1YIZfkC9c= github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=