Giter Site home page Giter Site logo

prend's Introduction

prend

vendoring tool for protocol buffers. customizable vendoring for proto files,

prend config

All the proto file source must be defined in the prend.yaml file

prend.yaml example

name: test config name
description: test config description
sources:
  - repo_url: https://github.com/manosriram-youtube/reddit_backend.git
    branch: master
    paths:
    - source_proto_path: gateway/protos
      destination_proto_path: vendors/gateway_protos
    - source_proto_path: post_service/protos
      destination_proto_path: vendors/post_service_protos
  - repo_url: https://github.com/manosriram-youtube/grpc-heartbeat.git
    branch: master
    paths:
    - source_proto_path: heartbeat_pb
      destination_proto_path: pb/heartbeat_protos

repo_url: the .git url of the git repository

source_proto_path: the proto file(s) path in the repository

destination_proto_path: path where the fetched proto files are to be placed

branch: branch of the repo to fetch proto files from. if not specified, defaults to the default branch of that repo

Proto file vendoring

Installing

  1. go install github.com/manosriram/prend

TODO

  • track commit for fetches
  • branch support
  • ssh support
  • prend clean command
  • other version control support (tentative)
  • cleanup vendor folder before fetch

prend's People

Contributors

manosriram avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.