Skip to content

Relax root overlap requirements for buf protoc #351

@bufdev

Description

@bufdev

See cockroachdb/cockroach#66913 (comment)

$ protoc -o /dev/null -I proto -I . $(buf ls-files proto)
buf/alpha/registry/v1alpha1/resolve.proto:20:1: warning: Import buf/alpha/registry/v1alpha1/module.proto is unused.
$ buf protoc -o /dev/null -I proto -I . $(buf ls-files proto)
include directory "/home/foo/dev/buf/proto" is within include directory "/home/foo/dev/buf" which is not allowed

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions