Skip to content

chore: add linter for protobuf schema files #384

Closed

Description

@jkowalleck

we currntly do have linters for the XML schema.
we currntly do have linters for the JSON schema.
we currntly do NOT have linters for the ProtocolBuffer schema, don't we?

goal: introduce an automated tool chain, that can

  • lint protocol buffer schema
    • find malformed schema files
    • find conflicts in field enumeration (duplicate use of a field number, etc ...)
    • optional but highly appreciated: detect breaking changes

this tooling should monitor

  • all current (and future?) protobuff schema files in this repo's schema folder
    • glob schema/bom-*.proto

this tooling should run automatically on:

  • each pullrequest
  • each change in "master" and other relevant branches

the (github) workflow should be encapsulated standalone, not interfering any other/existing workflows

this tooling should be able to run locally

Activity

  1. self-assigned this
    on Feb 22, 2024
  2. jkowalleck commented on Feb 22, 2024

    @jkowalleck
    MemberAuthor

    while on it, it might help to add schema annotation to all the test resources(*.textproto)

    spec: https://protobuf.dev/reference/protobuf/textformat-spec/#header

    example:

    # proto-file: schema/bom-1.6.proto
    # proto-message: Bom
  3. changed the title [-]chore: add linter for protobuff schema files[/-] [+]chore: add linter for protobuf schema files[/+] on Feb 22, 2024
  4. linked a pull request that will close this issueintroduce QA pipeline for protobuf schemas #385on Feb 22, 2024
  5. added a commit that references this issue on Mar 2, 2024
    e20f63a
  6. jkowalleck commented on Mar 3, 2024

    @jkowalleck
    MemberAuthor

    all done via #385 and ff

  7. added a commit that references this issue on Apr 9, 2024
  8. added 2 commits that reference this issue on Jan 27, 2026
    cefd251
    a725140
  9. added 2 commits that reference this issue on Feb 23, 2026
    fdcd5bd
    1d5c493
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions