Skip to content

Go 1.16#44

Merged
hugelgupf merged 17 commits intou-root:mainfrom
hugelgupf:116
May 28, 2021
Merged

Go 1.16#44
hugelgupf merged 17 commits intou-root:mainfrom
hugelgupf:116

Conversation

@hugelgupf
Copy link
Member

No description provided.

hugelgupf added 2 commits May 6, 2021 13:09
Signed-off-by: Chris Koch <chrisko@google.com>
Two things changed in Go 1.16:

1. require directives

go.mod files must have `require` directives. Previously, `replace` was
enough. Now every dependency module must have a `require` and `replace`.

`require`s look like this: `require <module> <module-version>`. Go
validates the <module-version> string, so we had to plug in a
valid(-looking) version number.

2. Go expects accurate go.sum files in the main module. We solve this by
simply copying & appending every go.sum file of the individual modules
in the main go.sum.

Signed-off-by: Chris Koch <chrisko@google.com>
hugelgupf added 7 commits May 6, 2021 14:32
Signed-off-by: Chris Koch <chrisko@google.com>
Signed-off-by: Chris Koch <chrisko@google.com>
Signed-off-by: Chris Koch <chrisko@google.com>
Signed-off-by: Chris Koch <chrisko@google.com>
test-external.sh attempts to generate a good go.mod and go.sum for u-bmc
on the fly. As of Go 1.16 that's hard.

Signed-off-by: Chris Koch <chrisko@google.com>
Signed-off-by: Chris Koch <chrisko@google.com>
Signed-off-by: Chris Koch <chrisko@google.com>
Signed-off-by: Chris Koch <chrisko@google.com>
hugelgupf added 3 commits May 28, 2021 07:26
Signed-off-by: Chris Koch <chrisko@google.com>
Signed-off-by: Chris Koch <chrisko@google.com>
Signed-off-by: Chris Koch <chrisko@google.com>
@hugelgupf hugelgupf force-pushed the 116 branch 2 times, most recently from db77f78 to 3a1cce6 Compare May 28, 2021 15:21
hugelgupf added 2 commits May 28, 2021 08:23
Signed-off-by: Chris Koch <chrisko@google.com>
This reverts commit b69ad5a.

Signed-off-by: Chris Koch <chrisko@google.com>
hugelgupf added 2 commits May 28, 2021 08:37
Signed-off-by: Chris Koch <chrisko@google.com>
Signed-off-by: Chris Koch <chrisko@google.com>
@hugelgupf hugelgupf merged commit b68891d into u-root:main May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant