-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit 6ab2070
Replace problematic release of
This is a transitive dependency of `github.com/ory/jsonschema/v3`.
`go mod tidy` fails after Dependabot bumps to `github.com/ory/jsonschema/v3@v3.0.4`:
```
go: downloading github.com/jandelgado/gcov2lcov v1.0.4
verifying github.com/jandelgado/gcov2lcov@v1.0.4: checksum mismatch
downloaded: h1:ADwQPyNsxguqzznIbfQTENwY9FU88JdXEvpdHR9c48A=
go.sum: h1:54+QJDjOQcRMLsC6aFXeYKQ+GEhN2DaYfKEtjDWnOrM=
SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.
For more information, see 'go help module-auth'.
```
I suspect that it was caused by the `github.com/jandelgado/gcov2lcov@v1.0.4` tag having been moved (similar to what
happened with `github.com/oleiade/reflections@v1.0.0`).
Since `github.com/jandelgado/gcov2lcov` is only a testing tool used by `github.com/ory/jsonschema/v3`, which imports it
as blank identifier as a hacky technique to use the Go module system for tool dependency management:
https://marcofranssen.nl/manage-go-tools-via-go-modules
For this reason, `github.com/jandelgado/gcov2lcov` is not actually a dependency of Arduino Lint and the version specified
here is irrelevant other than that v1.0.4 breaks Dependabot. So there is no possible impact from using v1.0.5 in its
place.
In the interest of keeping the `go.mod` file clean, this line should be removed once `github.com/ory/jsonschema/v3`
updates to a non-problematic version of its tool dependency.github.com/jandelgado/gcov2lcov
dependency1 parent 67ce2a2 commit 6ab2070
6 files changed
+12
-9
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 | + | ||
9 | + | ||
8 | 10 |
| |
9 | 11 |
| |
10 | 12 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
792 | 792 |
| |
793 | 793 |
| |
794 | 794 |
| |
795 | - | ||
796 | - | ||
797 | - | ||
795 | + | ||
796 | + | ||
798 | 797 |
| |
799 | 798 |
| |
800 | 799 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 | + | ||
6 | + | ||
5 | 7 |
| |
6 | 8 |
| |
7 | 9 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
790 | 790 |
| |
791 | 791 |
| |
792 | 792 |
| |
793 | - | ||
794 | - | ||
795 | - | ||
793 | + | ||
794 | + | ||
796 | 795 |
| |
797 | 796 |
| |
798 | 797 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | + | ||
8 | + | ||
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
794 | 794 |
| |
795 | 795 |
| |
796 | 796 |
| |
797 | - | ||
798 | - | ||
799 | - | ||
797 | + | ||
798 | + | ||
800 | 799 |
| |
801 | 800 |
| |
802 | 801 |
| |
|
0 commit comments