stormcat24 / protodep

Collect necessary .proto files (Protocol Buffers IDL) and manage dependencies
Apache License 2.0
294 stars 56 forks source link

User error? #96

Closed jh125486 closed 2 years ago

jh125486 commented 2 years ago

Using this config:

proto_outdir = "./proto"

[[dependencies]]
  target = "github.com/envoyproxy/envoy/"
  branch = "master"
  protocol = "https"

and creating a proto directory in the current working directory, protodep up results in:

$ protodep up
[INFO] force update = false
[INFO] cleanup cache = false
[INFO] identity file =
[INFO] use https = false
[INFO] Getting github.com/envoyproxy/envoy
[INFO] e0d7d15696c45a237e0a422f4a6f960f51bde40a is not a tag, checking out by hash

$ ls -l proto
ls: cannot access 'proto': No such file or directory

I see that it created a cache in my $homedir/.protodep, but it deletes the proto directory in my current path instead of copying the protos in the repo to it.

Any ideas on what I'm doing wrong?

jh125486 commented 2 years ago

My pathing to target must have been wrong. Working now!