Skip to content

Commit

Permalink
Regenerate Protobuf implementations
Browse files Browse the repository at this point in the history
Regenerated using:
* github.com/containerd/protobuild@main
  (6b023c693abe4cd44e59ada8bdf496eb2572d9a6 - @latest fails to install)
* github.com/containerd/containerd/cmd/protoc-gen-gogoctrd@latest
  (v1.5.5)
* protoc-3.18.0-win64, with the includes coped to ./protobuf

```bash
go list ./... | grep -v vendor | xargs echo protobuild
```

and then ran the resulting command-line in PowerShell where I had the
rest of my Go setup, because I don't know what the PowerShell equivalent
of xargs is.

Because I did this on Windows, it highlighted a fascinating surprise
behaviour in protobuild, which matches prefixes for its overrides using
filesystem paths, not the module paths. I guess this means every
previous update was done under Linux or a Cygwin-derived environment.

Signed-off-by: Paul "TBBle" Hampson <[email protected]>
  • Loading branch information
TBBle committed Nov 27, 2021
1 parent baeb774 commit 02cfac9
Show file tree
Hide file tree
Showing 15 changed files with 4,278 additions and 4,266 deletions.
19 changes: 15 additions & 4 deletions Protobuild.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,28 @@ plugins = ["grpc", "fieldpath"]
"github/containerd/cgroups/stats/v1/metrics.proto" = "github.com/containerd/cgroups/stats/v1"

[[overrides]]
prefixes = ["github.com/Microsoft/hcsshim/internal/shimdiag"]
prefixes = [
"github.com/Microsoft/hcsshim/internal/shimdiag",
"github.com\\Microsoft\\hcsshim\\internal\\shimdiag",
]
plugins = ["ttrpc"]

[[overrides]]
prefixes = ["github.com/Microsoft/hcsshim/internal/computeagent"]
prefixes = [
"github.com/Microsoft/hcsshim/internal/computeagent",
"github.com\\Microsoft\\hcsshim\\internal\\computeagent"
]
plugins = ["ttrpc"]

[[overrides]]
prefixes = ["github.com/Microsoft/hcsshim/internal/ncproxyttrpc"]
prefixes = [
"github.com/Microsoft/hcsshim/internal/ncproxyttrpc",
"github.com\\Microsoft\\hcsshim\\internal\\ncproxyttrpc"]
plugins = ["ttrpc"]

[[overrides]]
prefixes = ["github.com/Microsoft/hcsshim/internal/vmservice"]
prefixes = [
"github.com/Microsoft/hcsshim/internal/vmservice",
"github.com\\Microsoft\\hcsshim\\internal\\vmservice"
]
plugins = ["ttrpc"]
Loading

0 comments on commit 02cfac9

Please sign in to comment.