{"id":17290266,"url":"https://github.com/dhiguero/gpm-example","last_synced_at":"2025-08-01T05:32:44.946Z","repository":{"id":56591211,"uuid":"308433760","full_name":"dhiguero/gpm-example","owner":"dhiguero","description":"A repository with the reference layout for generating protos with GPM","archived":false,"fork":false,"pushed_at":"2020-10-29T20:19:05.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T23:47:36.138Z","etag":null,"topics":["grpc","monorepo","protobuf","protocol-buffers"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dhiguero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-29T19:47:48.000Z","updated_at":"2020-10-29T20:20:26.000Z","dependencies_parsed_at":"2022-08-15T21:31:20.137Z","dependency_job_id":null,"html_url":"https://github.com/dhiguero/gpm-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhiguero%2Fgpm-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhiguero%2Fgpm-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhiguero%2Fgpm-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhiguero%2Fgpm-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhiguero","download_url":"https://codeload.github.com/dhiguero/gpm-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245710504,"owners_count":20659906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grpc","monorepo","protobuf","protocol-buffers"],"created_at":"2024-10-15T10:37:33.250Z","updated_at":"2025-03-26T18:25:22.307Z","avatar_url":"https://github.com/dhiguero.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# gpm-example\n\nA repository with the reference layout for generating protos with [GPM](https://github.com/dhiguero/grpc-proto-manager).\n\n## Structure\n\nThe basic structure expected by the grpc-proto-manager is a simple set of directories from the project root, each of them containing a set of `.proto` files. Optionally, you may specify a `.protolangs` file with the target languages for the generation.\n\n```\n├── | \u003chigh-level-entity\u003e\n│   ├── [.protolangs]\n│   └── myprotofile.proto\n```\n\n## GPM YAML\n\nTo specify how the generation should be done, GPM expects a `.gpm.yaml` at the root project level. The contents of this file are as follows:\n\n```\ntempPath: /tmp/gpm\nrepositoryProvider: github\nrepositoryOrganization: dhiguero\ndefaultLanguage: go\n```\n\nWhere:\n\n* **tempPath**: Specifies the path of a temporal directory used to create intermediate code.\n* **repositoryProvider**: Selects the type of repository interface.\n* **repositoryOrganization**: Selects the the target organization in the repository provider. In the example, it translates into the generated code being pushed to `github.com/dhiguero/grpc-\u003chigh-level-entity\u003e-\u003clanguage\u003e`.\n* **defaultLanguage**: Defines the target language if the `.protolangs` file is not found. \n\nFor further information check the YAML format on [GPM](https://github.com/dhiguero/grpc-proto-manager).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhiguero%2Fgpm-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhiguero%2Fgpm-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhiguero%2Fgpm-example/lists"}