Giter Site home page Giter Site logo

openproto / protoconfig Goto Github PK

View Code? Open in Web Editor NEW
34.0 2.0 1.0 132 KB

ProtoConfig 1.0: Open Standard for using, defining, and consuming software configuration input in a unified way.

License: Apache License 2.0

Makefile 28.88% Go 71.12%
openconfig protocol-compiler openconfig-spec standard protobuf protocol-buffers configuration jsonnet golang go

protoconfig's People

Contributors

bwplotka avatar superq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

superq

protoconfig's Issues

Standard should specify discoverability?

Discoverability of the protobuf is a big problem in the ecosystem (e.g gRPC). Ideally, binaries are self-descriptive. There might be huge value in bringing
this topic here, but it could be also subject to another specification (as per Focus on one thing well).

For example:

CPD Shall be embedded in the software executable/binary and available on demand. Note that this specification does not force any delivery mechanism as long as there is one.

  • It's recommended to expose protoconfig.v1 argument or flag that will output embedded CPD in .proto format.
  • For web applications it's recommended to also expose /protoconfig/v1 endpoint that returns CPD .proto format.

The above assumes CPD is self-contained which conflicts with the above about extensibility.

Improve Protobuf tooling.

To make this really good standard, we need to improve the ecosystem. It's not bad (e.g IDE proto files support exists, tools are reliable, version etc), but there are rough edges:

  • protoc does not automate path lookups, it's hard to find correct paths (e.g all has to be absolute, for some reason)
  • have a bit confusing errors
  • requires multiple multi-lang binaries (protoc, protoc-gen-go protoc-gen-go-openconfig), with strict naming (plugin system)
  • It's hard to discover out the definition proto used from API/Server/Executable

All is solvable though. Help & ideas welcome ๐Ÿค—

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.